* {
  box-sizing: border-box;
}

:root {
  --primary: #00ff88;
  --primary-dark: #00cc6a;
  --secondary: #8b5cf6;
  --dark: #0a0a0a;
  --darker: #111111;
  --gray: #1a1a1a;
  --light: #ffffff;
  --accent: #00d9ff;
  --text-muted: #9fb0ff;
  --border-color: #1e2a5b;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Arial, sans-serif;
  margin: 0;
  background: var(--darker);
  color: var(--light);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--dark);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--light);
  font-size: 1.5rem;
}

.logo img {
  height: 40px;
  width: 40px;
  border-radius: 10px;
}

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

.nav a {
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  color: var(--text-muted);
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav a:hover {
  background: rgba(0, 255, 136, 0.1);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--gray) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.hero-content {
  flex: 1;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.gradient-text {
  background: linear-gradient(45deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  color: var(--text-muted);
}

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

.hero-visual {
  flex: 1;
  text-align: center;
  z-index: 2;
}

.pc-animation {
  font-size: 8rem;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.3));
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  justify-content: center;
}

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

.btn.primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

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

.btn.outline:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 255, 136, 0.2);
}

.btn.large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Features */
.features {
  padding: 5rem 0;
  background: var(--dark);
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.accent {
  color: var(--primary);
}

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

.feature {
  background: var(--gray);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid #333;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

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

.feature:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(0, 255, 136, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.3));
}

.feature h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.feature p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Categories */
.categories {
  padding: 4rem 0;
  background: var(--darker);
}

.categories h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.categories-list {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.category {
  padding: 1rem 2rem;
  background: var(--gray);
  border: 2px solid #333;
  border-radius: 50px;
  text-decoration: none;
  color: var(--light);
  transition: all 0.3s ease;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category.active,
.category:hover {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 255, 136, 0.3);
}

/* Live Stats */
.live-stats {
  padding: 3rem 0;
  background: var(--dark);
}

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

.stat-card {
  background: var(--gray);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.2);
}

.stat-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.3));
}

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

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

/* Catalog */
.catalog {
  padding: 5rem 0;
  background: var(--darker);
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.2rem;
}

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

.card {
  background: var(--gray);
  border: 1px solid #333;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 255, 136, 0.15);
}

.card-header {
  position: relative;
  overflow: hidden;
}

.card-header img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.card-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.badge.budget { background: rgba(0, 255, 136, 0.9); color: #000; }
.badge.balanced { background: rgba(0, 217, 255, 0.9); color: #000; }
.badge.premium { background: rgba(139, 92, 246, 0.9); color: #fff; }
.badge.warranty { background: rgba(255, 255, 255, 0.1); color: #fff; backdrop-filter: blur(10px); }

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  color: var(--light);
}

.card-category {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

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

.card-specs {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.spec {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.spec:last-child {
  margin-bottom: 0;
}

.spec-label {
  color: var(--text-muted);
}

.spec-value {
  color: var(--primary);
  font-weight: 600;
}

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

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

.price-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Support Section */
.support {
  padding: 5rem 0;
  background: var(--dark);
}

.support-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.support-text {
  flex: 1;
}

.support-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.support-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.8;
  color: var(--text-muted);
}

.support-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.support-feature {
  padding: 1rem;
  background: var(--gray);
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.support-feature:hover {
  transform: translateX(5px);
  background: rgba(0, 255, 136, 0.1);
}

.support-visual {
  flex: 1;
  text-align: center;
}

.tech-support {
  font-size: 6rem;
  animation: pulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.3));
}

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

/* Footer */
.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  color: var(--text-muted);
}

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

.footer-section h3 {
  color: var(--light);
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  margin-top: 2rem;
}

/* No Products */
.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  background: var(--gray);
  border-radius: 15px;
  border: 1px solid #333;
}

.no-products h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.no-products p {
  color: var(--text-muted);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #333;
  border-radius: 8px;
  background: var(--gray);
  color: var(--light);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Alert Styles */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid;
}

.alert.success {
  background: rgba(0, 255, 136, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.alert.error {
  background: rgba(255, 0, 0, 0.1);
  border-color: #ff0000;
  color: #ff0000;
}

/* Page Headers */
.page-header {
  padding: 3rem 0;
  background: var(--dark);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* Delivery & Contacts Layout */
.delivery-content,
.contacts-content {
  padding: 3rem 0;
}

.delivery-grid,
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Info Cards */
.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-card {
  background: var(--gray);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #333;
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

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

/* Contact Cards */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-card {
  background: var(--gray);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: var(--primary);
  transform: translateX(5px);
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

/* Table Styles */
.pricing-table {
  background: var(--gray);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #333;
  margin-bottom: 2rem;
}

.pricing-table h3 {
  margin-bottom: 1rem;
  color: var(--light);
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 0.75rem;
  border-bottom: 1px solid #333;
  text-align: left;
}

.pricing-table th {
  color: var(--primary);
  font-weight: 600;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

/* Map Placeholder */
.map-placeholder {
  background: var(--gray);
  border: 1px solid #333;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 3rem 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .support-content {
    flex-direction: column;
  }
  
  .card-footer {
    flex-direction: column;
    align-items: stretch;
  }
  
  .card-actions {
    justify-content: center;
  }
  
  .delivery-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .info-cards {
    grid-template-columns: 1fr;
  }
  
  .site-header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .categories-list {
    flex-direction: column;
    align-items: center;
  }
  
  .category {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .features-grid,
  .stats-grid,
  .grid {
    grid-template-columns: 1fr;
  }
  
  .card-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.hidden { display: none; }
/* Cart Styles */
.page-header {
    background: var(--dark);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.cart-section {
    padding: 3rem 0;
    background: var(--darker);
    min-height: 60vh;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--gray);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.empty-cart-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.empty-cart h2 {
    color: var(--light);
    margin-bottom: 1rem;
}

.empty-cart p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.cart-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h2 {
    color: var(--light);
    margin: 0;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--gray);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.1);
}

.cart-item-image {
    width: 120px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details h3 {
    color: var(--light);
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.cart-item-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.cart-item-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

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

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

.quantity-form select {
    background: var(--darker);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem;
    color: var(--light);
    cursor: pointer;
}

.remove-form {
    margin-left: auto;
}

.btn-remove {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff4444;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-remove:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.5);
}

.cart-item-pricing {
    text-align: right;
    min-width: 120px;
}

.price-unit {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

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

.cart-summary {
    position: sticky;
    top: 2rem;
}

.summary-card {
    background: var(--gray);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}

.summary-card h3 {
    color: var(--light);
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.free-shipping, .free-assembly {
    color: var(--primary);
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--light);
}

.total-price {
    color: var(--primary);
    font-size: 1.4rem;
}

.summary-features {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.full-width {
    width: 100%;
}

.mt-2 {
    margin-top: 1rem;
}

.payment-options {
    text-align: center;
    margin: 1.5rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.payment-options p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }
    
    .cart-item-pricing {
        grid-column: 1 / -1;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }
    
    .cart-item-image {
        width: 80px;
        height: 60px;
    }
    
    .cart-item-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .remove-form {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cart-item-image {
        width: 100%;
        height: 120px;
        justify-self: center;
    }
    
    .cart-item-actions {
        align-items: center;
    }
    
    .quantity-form {
        flex-direction: column;
    }
}
/* Product Detail Styles */
.page-header {
    background: var(--dark);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.product-detail {
    padding: 3rem 0;
    background: var(--darker);
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 2rem;
}

.main-image {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.product-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge.budget { background: rgba(0, 255, 136, 0.2); color: #00ff88; border: 1px solid rgba(0, 255, 136, 0.3); }
.badge.balanced { background: rgba(0, 217, 255, 0.2); color: #00d9ff; border: 1px solid rgba(0, 217, 255, 0.3); }
.badge.premium { background: rgba(139, 92, 246, 0.2); color: #8b5cf6; border: 1px solid rgba(139, 92, 246, 0.3); }
.badge.warranty { background: rgba(255, 255, 255, 0.1); color: #ffffff; border: 1px solid #333; }
.badge.assembly { background: rgba(255, 193, 7, 0.2); color: #ffc107; border: 1px solid rgba(255, 193, 7, 0.3); }

.product-info {
    padding: 1rem 0;
}

.product-category {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.product-info h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--light);
    line-height: 1.2;
}

.product-rating {
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.star {
    font-size: 1.2rem;
    opacity: 0.3;
}

.star.filled {
    opacity: 1;
    filter: drop-shadow(0 0 5px gold);
}

.star.half {
    opacity: 0.7;
}

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

.product-description {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.product-specs {
    background: var(--gray);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.product-specs h3 {
    color: var(--light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.specs-grid {
    display: grid;
    gap: 0.75rem;
}

.spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-label {
    color: var(--text-muted);
}

.spec-value {
    color: var(--primary);
    font-weight: 600;
}

.product-purchase {
    background: var(--gray);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.price-block .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

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

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

.add-to-cart-form {
    margin-bottom: 1.5rem;
}

.quantity-selector {
    margin-bottom: 1rem;
}

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

.quantity-selector select {
    background: var(--darker);
    border: 1px solid var(--border-color);
    color: var(--light);
    padding: 0.5rem;
    border-radius: 6px;
    width: 100%;
    max-width: 120px;
}

.additional-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Reviews Section */
.product-reviews {
    padding: 3rem 0;
    background: var(--dark);
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.reviews-header h2 {
    color: var(--light);
    font-size: 2rem;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.avg-rating {
    text-align: center;
}

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

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

.reviews-count {
    color: var(--text-muted);
}

.no-reviews {
    text-align: center;
    padding: 3rem;
    background: var(--gray);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.no-reviews-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-reviews h3 {
    color: var(--light);
    margin-bottom: 1rem;
}

.no-reviews p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.reviews-grid {
    display: grid;
    gap: 1.5rem;
}

.review-card {
    background: var(--gray);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info strong {
    color: var(--light);
    display: block;
    margin-bottom: 0.25rem;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.review-rating {
    display: flex;
    gap: 0.25rem;
}

.review-rating .star {
    font-size: 1rem;
}

.review-content {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-gallery {
        position: static;
    }
    
    .main-image img {
        height: 300px;
    }
    
    .product-info h1 {
        font-size: 1.8rem;
    }
    
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .reviews-summary {
        justify-content: space-between;
        width: 100%;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
    
    .additional-actions {
        flex-direction: column;
    }
    
    .purchase-actions .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .product-info h1 {
        font-size: 1.5rem;
    }
    
    .price-block .price {
        font-size: 2rem;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-author {
        width: 100%;
    }
}
/* Reviews Page Styles */
.reviews-page {
    padding: 3rem 0;
    background: var(--darker);
}

.reviews-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stats-card {
    background: var(--gray);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.stats-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

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

.reviews-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.reviews-list h2 {
    color: var(--light);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.no-reviews {
    text-align: center;
    padding: 3rem;
    background: var(--gray);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.no-reviews-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-reviews h3 {
    color: var(--light);
    margin-bottom: 1rem;
}

.no-reviews p {
    color: var(--text-muted);
}

.reviews-grid {
    display: grid;
    gap: 1.5rem;
}

.review-card {
    background: var(--gray);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info strong {
    color: var(--light);
    display: block;
    margin-bottom: 0.25rem;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.review-rating {
    display: flex;
    gap: 0.25rem;
}

.review-rating .star {
    font-size: 1rem;
    opacity: 0.3;
}

.review-rating .star.filled {
    opacity: 1;
    filter: drop-shadow(0 0 3px gold);
}

.review-product {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.review-product img {
    width: 40px;
    height: 30px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

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

.review-content {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Review Form */
.review-form-section {
    position: sticky;
    top: 2rem;
}

.form-card {
    background: var(--gray);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-card h2 {
    color: var(--light);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

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

.review-form input,
.review-form select,
.review-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--darker);
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.review-form textarea {
    resize: vertical;
    min-height: 120px;
}

.rating-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.5rem;
}

.rating-stars input {
    display: none;
}

.rating-stars label {
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0;
    opacity: 0.3;
}

.rating-stars label:hover,
.rating-stars label:hover ~ label {
    opacity: 1;
    filter: drop-shadow(0 0 5px gold);
}

.rating-stars input:checked ~ label {
    opacity: 1;
    filter: drop-shadow(0 0 5px gold);
}

.full-width {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reviews-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .review-form-section {
        position: static;
    }
    
    .reviews-stats {
        grid-template-columns: 1fr;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-author {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .form-card {
        padding: 1.5rem;
    }
    
    .stats-card {
        padding: 1.5rem;
    }
    
    .review-card {
        padding: 1rem;
    }
}