/* ===== MODERN PRODUCT SHOP STYLES ===== */
:root {
  /* Color Palette */
  --primary: #fe097b;
  --primary-dark: #d90667;
  --primary-light: #ffe4f1;
  --secondary: #ff8c00;
  --secondary-dark: #e67e00;
  --accent: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  
  /* Background Colors - Light Theme */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-overlay: rgba(0, 0, 0, 0.5);
  
  /* Text Colors */
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --text-on-primary: #ffffff;
  
  /* Border & Shadows */
  --border-light: #e5e7eb;
  --border-medium: #d1d5db;
  --border-dark: #374151;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Z-index layers */
  --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;
}

/* Dark Theme Variables */
[data-theme="dark"] {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-surface: #1e293b;
  --bg-card: #334155;
  --bg-overlay: rgba(0, 0, 0, 0.7);
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-light: #334155;
  --border-medium: #475569;
  --border-dark: #64748b;
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

body {
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--transition-normal);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Header Styles */
.main-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-md) 0;
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .main-header {
  background: rgba(30, 41, 59, 0.95);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.25rem;
}

.logo-icon {
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: var(--space-xs);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  color: var(--primary);
  background: var(--bg-secondary);
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-xs) var(--space-md);
  border: 1px solid var(--border-light);
}

.search-input {
  background: none;
  border: none;
  color: var(--text-primary);
  padding: var(--space-xs);
  width: 180px;
  font-size: 0.875rem;
}

.search-input:focus {
  outline: none;
}

.search-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: var(--space-xs);
}

.cart-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: var(--space-xs);
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: var(--space-xs);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--bg-surface);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-modal);
  transition: right var(--transition-normal) ease-out;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  z-index: calc(var(--z-modal) - 1);
  transition: background var(--transition-normal) ease-out;
  display: none;
}

.mobile-menu-overlay.active {
  background: rgba(0, 0, 0, 0.5);
  display: block;
  backdrop-filter: blur(3px);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-surface) 100%);
}

.mobile-menu-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.mobile-menu-title::before {
  content: '☰';
  font-size: 1.5rem;
  color: var(--primary);
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-xs);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.mobile-menu-close:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: rotate(90deg);
}

.mobile-nav {
  list-style: none;
  padding: var(--space-lg) 0;
  flex: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-fast);
  border-left: 4px solid transparent;
  position: relative;
}

.mobile-nav-link i {
  font-size: 1.1rem;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--primary);
  background: var(--primary-light);
  border-left-color: var(--primary);
  padding-left: calc(var(--space-lg) + 4px);
}

.mobile-nav-link:hover i {
  transform: scale(1.2);
}

.mobile-nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
  border-left-color: var(--primary);
  font-weight: 600;
}

.mobile-menu-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--border-light);
  background: var(--bg-secondary);
}

.theme-toggle.mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-md);
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(254, 9, 123, 0.1) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.theme-toggle.mobile:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Modern Hero Section */
.modern-hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: var(--space-2xl) 0;
  overflow: hidden;
  margin-bottom: var(--space-2xl);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.hero-gradient {
  display: block;
  background: linear-gradient(90deg, #fff 0%, #ffd6e8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.9;
  margin-bottom: var(--space-xl);
  max-width: 500px;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  min-width: 100px;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
}

.hero-visual {
  position: relative;
  animation: float 6s ease-in-out infinite;
  display: flex;
  justify-content: center;
}

.floating-product {
  width: min(100%, 300px);
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-2xl);
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
}

.floating-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-ornament {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1));
  border-radius: 50%;
  filter: blur(40px);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  color: var(--bg-primary);
}

.hero-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Products Container */
.products-container {
  padding-bottom: var(--space-2xl);
  min-height: 60vh;
}

/* Shop Controls */
.shop-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  max-height: 500px;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out, opacity var(--transition-normal) ease-out;
  opacity: 1;
}

.shop-controls.hidden {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  padding: 0;
  visibility: hidden;
}

/* Floating Filter Button */
.filter-toggle-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-xl);
  z-index: var(--z-sticky);
  transition: all var(--transition-normal);
}

.filter-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-2xl);
}

.filter-toggle-btn:active {
  transform: scale(0.95);
}

.control-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
}

.btn-advanced-search {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: var(--radius-lg);
  border: none;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.btn-advanced-search:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.filter-wrapper {
  position: relative;
  min-width: 180px;
}

.filter-select {
  width: 100%;
  padding: var(--space-sm) var(--space-lg);
  padding-right: var(--space-2xl);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  transition: all var(--transition-fast);
}

.filter-select:hover,
.filter-select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(254, 9, 123, 0.1);
}

.filter-wrapper i {
  position: absolute;
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
}

.view-toggle {
  display: flex;
  gap: var(--space-xs);
  background: var(--bg-secondary);
  padding: var(--space-xs);
  border-radius: var(--radius-lg);
}

.view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.view-btn.active {
  background: var(--bg-card);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Advanced Filters */
.advanced-filters {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-lg);
  overflow: hidden;
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border-light);
}

.filters-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.filters-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: var(--space-xs);
}

.filters-content {
  padding: var(--space-lg);
}

.filter-group {
  margin-bottom: var(--space-xl);
}

.filter-group h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.price-slider {
  position: relative;
  height: 4px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  margin: var(--space-xl) 0;
}

.price-slider input[type="range"] {
  position: absolute;
  width: 100%;
  height: 100%;
  background: none;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}

.price-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  border: 3px solid var(--bg-card);
  box-shadow: var(--shadow-md);
}

.price-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.rating-filters {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.rating-filter {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  padding: var(--space-xs);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.rating-filter:hover {
  background: var(--bg-secondary);
}

.rating-filter input {
  margin-right: var(--space-xs);
}

.rating-stars {
  color: #ffc107;
  font-size: 0.875rem;
}

.tag-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tag-filter {
  padding: var(--space-xs) var(--space-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tag-filter:hover,
.tag-filter.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.filter-actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.btn-apply-filters,
.btn-reset-filters {
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  flex: 1;
}

.btn-apply-filters {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.btn-reset-filters {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 2px solid var(--border-light);
}

.btn-apply-filters:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-reset-filters:hover {
  border-color: var(--primary);
}

/* Products View */
.products-view {
  transition: all var(--transition-normal);
}

.grid-view .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  animation: fadeIn 0.5s ease-out;
}

.list-view .products-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  animation: fadeIn 0.5s ease-out;
}

/* Product Card - Grid View */
.grid-view .product-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  height: auto;
  position: relative;
  animation: slideUp 0.3s ease-out;
}

.grid-view .product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.product-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-xs) var(--space-sm);
  background: linear-gradient(135deg, var(--accent), #0da271);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 2;
  animation: pulse 2s infinite;
}

.product-badge.low-stock {
  background: linear-gradient(135deg, var(--warning), #d97706);
}

.product-badge.out-of-stock {
  background: linear-gradient(135deg, var(--danger), #dc2626);
}

.product-image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  background: linear-gradient(45deg, var(--bg-secondary), var(--bg-surface));
  flex-shrink: 0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

/* Rating Section at Baseline */
.product-rating-section {
  padding: var(--space-sm) var(--space-lg);
  display: flex;
  justify-content: flex-start;
  background: var(--bg-card);
}

.product-rating-badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(255, 193, 7, 0.1);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  width: fit-content;
  border: 1px solid rgba(255, 193, 7, 0.2);
}

.product-rating-badge .stars {
  color: #ffc107;
  font-size: 0.875rem;
  letter-spacing: 1px;
}

.product-rating-badge .rating-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffc107;
}

/* Logo Badge - REMOVED */

.btn-quickview {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  border: none;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  transition: all var(--transition-fast);
  pointer-events: auto;
}

.btn-quickview:hover {
  background: white;
  transform: translateY(-2px);
}

.product-body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-xs);
}

.product-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  line-height: 1.4;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.3px;
  transition: color var(--transition-fast);
}

.product-card:hover .product-name {
  color: var(--primary);
}

.product-name-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
  letter-spacing: 0px;
  text-transform: capitalize;
  transition: color var(--transition-fast);
  line-height: 1.2;
}

.product-description {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.5;
  flex: 1;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.stars {
  color: #ffc107;
  font-size: 0.875rem;
}

.rating-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.product-stock {
  display: inline-flex;
  font-size: 0.75rem;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  align-items: center;
  gap: var(--space-xs);
  width: fit-content;
}

.product-stock.in-stock {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent);
}

.product-stock.low-stock {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.product-stock.out-of-stock {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

.product-footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  justify-content: space-between;
  padding: var(--space-md);
  margin-top: auto;
}

.product-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-name-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
  margin: 0;
}

.price-amount {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
}

.price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.btn-quickview-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 6px 12px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.1);
  line-height: 1;
}

.btn-quickview-primary:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 212, 255, 0.3);
}

.btn-add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 6px 12px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(88, 13, 161, 0.2);
  line-height: 1;
}

.btn-add-cart:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(88, 13, 161, 0.3);
}

.btn-add-cart:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-add-cart:disabled:hover {
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(88, 13, 161, 0.2);
}

.btn-buy-now {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 6px 12px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(13, 161, 110, 0.2);
  line-height: 1;
}

.btn-buy-now:hover {
  background: #0da271;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 161, 110, 0.3);
}

.btn-buy-now:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-buy-now:disabled:hover {
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(13, 161, 110, 0.2);
}

/* Product Card - List View */
.list-view .product-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  animation: slideUp 0.3s ease-out;
}

.list-view .product-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.list-view .product-image {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
}

.list-view .product-body {
  padding: 0;
}

.list-view .product-actions {
  flex-direction: column;
  min-width: 140px;
}

.list-view .btn-add-cart,
.list-view .btn-buy-now {
  width: 100%;
  justify-content: center;
}

/* Loading State */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
  gap: var(--space-lg);
  animation: fadeIn 0.5s ease-out;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-state p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* No Results */
.no-results {
  text-align: center;
  padding: var(--space-2xl);
  animation: fadeIn 0.5s ease-out;
}

.no-results-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.no-results-icon i {
  font-size: 2rem;
  color: var(--text-muted);
}

.no-results h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.no-results p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.btn-reset-filters {
  padding: var(--space-sm) var(--space-lg);
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.btn-reset-filters:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  padding: var(--space-lg);
  animation: fadeIn 0.3s ease-out;
}

.modal-container {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  animation: slideUp 0.3s ease-out;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: var(--space-xs);
}

.modal-body {
  padding: var(--space-lg);
  overflow-y: auto;
  max-height: calc(90vh - 80px);
}

/* Quick View Modal */
.quickview-modal .modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.quickview-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(45deg, var(--bg-secondary), var(--bg-surface));
}

.quickview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quickview-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.quickview-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.quickview-stock {
  font-size: 0.875rem;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  width: fit-content;
}

.quickview-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

.quickview-actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  height: 100vh;
  background: var(--bg-surface);
  box-shadow: var(--shadow-2xl);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  transition: right var(--transition-normal);
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border-light);
}

.cart-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: var(--space-xs);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md);
  max-height: 400px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.cart-items::-webkit-scrollbar {
  width: 6px;
}

.cart-items::-webkit-scrollbar-track {
  background: transparent;
}

.cart-items::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

.empty-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
  color: var(--text-muted);
  text-align: center;
}

.empty-cart i {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  opacity: 0.5;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-md);
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition-fast);
}

.cart-item:hover {
  background-color: var(--bg-surface);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(45deg, var(--bg-secondary), var(--bg-surface));
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cart-item-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 2px;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.quantity-btn:hover {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.quantity-value {
  width: 36px;
  text-align: center;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.cart-item-remove {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: var(--danger);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  min-width: 32px;
  height: 32px;
}

.cart-item-remove:hover {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
}

.cart-footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 2px solid var(--border-light);
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 700;
  gap: var(--space-md);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.cart-total span:first-child {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
}

.cart-total-amount {
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 800;
}

.btn-checkout {
  width: 100%;
  padding: 12px var(--space-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(88, 13, 161, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88, 13, 161, 0.35);
}

.btn-continue-shopping {
  width: 100%;
  padding: 12px var(--space-md);
  background: linear-gradient(135deg, rgba(88, 13, 161, 0.1), rgba(13, 161, 110, 0.1));
  color: var(--text-primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-continue-shopping:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(88, 13, 161, 0.25);
}
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(88, 13, 161, 0.25);
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-overlay);
  z-index: calc(var(--z-modal) - 1);
  animation: fadeIn 0.3s ease-out;
}

/* Footer */
.main-footer {
  background: var(--bg-secondary);
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 1px solid var(--border-light);
  margin-top: var(--space-2xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-xl);
}

.footer-section h3,
.footer-section h4 {
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.footer-section h3 {
  font-size: 1.5rem;
  font-weight: 800;
}

.footer-section p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(0);
  }
  50% {
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(-20px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xl);
  }
  
  .hero-visual {
    order: -1;
  }
  
  .floating-product {
    margin: 0 auto;
  }
  
  .hero-ornament {
    display: none;
  }
  
  .grid-view .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-nav,
  .search-box {
    display: none;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .shop-controls {
    flex-direction: column;
    align-items: stretch;
    top: 60px;
  }
  
  .control-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-wrapper {
    min-width: auto;
  }
  
  .view-toggle {
    align-self: center;
  }
  
  .grid-view .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .list-view .product-card {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .list-view .product-image {
    width: 100%;
    height: 200px;
  }
  
  .quickview-modal .modal-body {
    grid-template-columns: 1fr;
  }
  
  .cart-sidebar {
    width: 100%;
    right: -100%;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .stat {
    min-width: auto;
  }
  
  .grid-view .products-grid {
    grid-template-columns: 1fr;
  }
  
  .product-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-add-cart,
  .btn-buy-now {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .modern-hero {
    padding: var(--space-xl) 0;
  }
  
  .hero-container {
    gap: var(--space-lg);
  }
  
  .grid-view .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  
  .product-footer {
    flex-direction: column;
    gap: var(--space-md);
    align-items: stretch;
  }
  
  .product-price {
    align-items: center;
  }
  
  .modal-overlay {
    padding: var(--space-md);
  }
  
  .modal-container {
    max-height: 95vh;
  }
  
  .cart-sidebar {
    width: 100%;
    right: -100%;
    height: auto;
    max-height: 80vh;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  }
  
  .cart-items {
    max-height: 300px;
  }
  
  .cart-footer {
    padding: var(--space-md);
    gap: var(--space-md);
  }
  
  .btn-checkout,
  .btn-continue-shopping {
    padding: 12px var(--space-md);
    font-size: 0.9rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .product-card:hover {
    transform: none;
  }
  
  .btn-add-cart:hover,
  .btn-buy-now:hover,
  .btn-quickview:hover {
    transform: none;
  }
  
  .image-overlay {
    opacity: 1;
  }
  
  .filter-select,
  .btn-advanced-search,
  .view-btn,
  .quantity-btn,
  .btn-add-cart,
  .btn-buy-now {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ===== MODERN QUICK VIEW MODAL STYLES ===== */

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal-backdrop);
  padding: var(--space-md);
  animation: fadeIn var(--transition-fast) ease-out;
}

.modal-overlay.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Modal Container */
.modal-container {
  background: var(--bg-card);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp var(--transition-normal) ease-out;
  border: 1px solid var(--border-light);
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Quick View Modal */
.quickview-modal {
  padding: 0;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xl);
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  width: 40px;
  height: 40px;
}

.modal-close:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: rotate(90deg);
}

.modal-body {
  padding: var(--space-xl);
}

/* Quick View Product Details */
.quickview-product-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: flex-start;
}

/* Image Section */
.quickview-image-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.quickview-main-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.quickview-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-lg);
  background: white;
}

/* Info Section */
.quickview-info-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.quickview-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.quickview-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0;
  word-break: break-word;
}

.quickview-rating {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.95rem;
}

.stars {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.rating-value {
  color: var(--text-secondary);
  font-weight: 600;
}

/* Stock Status */
.stock-status {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
}

.stock-status.in-stock {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent);
}

.stock-status.out-of-stock {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
}

/* Price Section */
.quickview-price {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(254, 9, 123, 0.1) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.price-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Description */
.quickview-description {
  padding: var(--space-lg);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.quickview-description p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Tags Section */
.quickview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.product-tag {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(254, 9, 123, 0.1) 100%);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(254, 9, 123, 0.2);
  transition: all var(--transition-fast);
}

.product-tag:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Actions Section */
.quickview-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.btn {
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex: 1;
  min-height: 44px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width var(--transition-normal), height var(--transition-normal);
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  box-shadow: 0 8px 20px rgba(254, 9, 123, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(254, 9, 123, 0.4);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 2px solid var(--border-medium);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Specs Section */
.quickview-specs {
  padding: var(--space-lg);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.quickview-specs h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-md) 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.quickview-specs h4::before {
  content: '✓';
  display: inline-block;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.quickview-specs ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.quickview-specs li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.quickview-specs li strong {
  color: var(--text-primary);
  font-weight: 600;
  min-width: 80px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modal-container {
    max-height: 95vh;
    border-radius: var(--radius-xl);
  }
  
  .modal-header {
    padding: var(--space-lg);
  }
  
  .modal-header h3 {
    font-size: 1.25rem;
  }
  
  .modal-body {
    padding: var(--space-lg);
  }
  
  .quickview-product-details {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .quickview-title {
    font-size: 1.5rem;
  }
  
  .price-amount {
    font-size: 1.5rem;
  }
  
  .quickview-actions {
    flex-direction: column;
  }
  
  .btn {
    flex: 1;
    min-width: 100%;
  }
  
  .quickview-main-image img {
    padding: var(--space-md);
  }
}

@media (max-width: 480px) {
  .modal-overlay {
    padding: var(--space-sm);
  }
  
  .modal-container {
    max-height: 100vh;
    border-radius: var(--radius-lg);
  }
  
  .modal-header {
    padding: var(--space-md);
    gap: var(--space-sm);
  }
  
  .modal-header h3 {
    font-size: 1.1rem;
  }
  
  .modal-close {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
  
  .modal-body {
    padding: var(--space-md);
  }
  
  .quickview-title {
    font-size: 1.25rem;
  }
  
  .price-label {
    font-size: 0.8rem;
  }
  
  .price-amount {
    font-size: 1.25rem;
  }
  
  .quickview-price,
  .quickview-description,
  .quickview-specs {
    padding: var(--space-md);
  }
  
  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .product-tag {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
}

/* Print Styles */
@media print {
  .shop-controls,
  .header-actions,
  .mobile-menu-toggle,
  .cart-btn,
  .btn-quickview,
  .btn-add-cart,
  .btn-buy-now,
  .modal-overlay,
  .cart-sidebar,
  .main-footer {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .product-card {
    break-inside: avoid;
    border: 1px solid #ddd;
  }
}