/* Product Detail Page Styles */
.product-detail {
  padding-top: calc(var(--space-xl) + 80px);
  background-color: var(--light-color);
}

.product-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

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

.main-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-md);
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.thumbnail {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  opacity: 0.7;
}

.thumbnail:hover,
.thumbnail.active {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Product Info */
.product-info {
  padding: var(--space-lg);
  background-color: var(--light-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.product-info h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  color: var(--dark-color);
}

.product-meta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  color: var(--dark-light);
  font-size: 0.9rem;
}

.product-description h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--dark-color);
}

.product-description h3 {
  font-size: 1.2rem;
  margin: var(--space-lg) 0 var(--space-sm);
  color: var(--dark-color);
}

.product-description p {
  color: var(--dark-light);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

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

.product-description ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: var(--space-xs);
  color: var(--dark-light);
}

.product-description ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Specifications Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
}

.specs-table th,
.specs-table td {
  padding: var(--space-sm);
  text-align: left;
  border-bottom: 1px solid var(--accent-light);
}

.specs-table th {
  font-weight: 600;
  color: var(--dark-color);
  width: 40%;
}

.specs-table td {
  color: var(--dark-light);
}

/* Call to Action */
.product-cta {
  margin-top: var(--space-xl);
  display: flex;
  gap: var(--space-md);
}

.product-cta .btn {
  flex: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
  .product-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .product-gallery {
    position: static;
  }

  .main-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .product-detail {
    padding-top: calc(var(--space-lg) + 60px);
  }

  .product-info {
    padding: var(--space-md);
  }

  .product-info h1 {
    font-size: 2rem;
  }

  .product-meta {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .product-cta {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .main-image {
    height: 250px;
  }

  .thumbnail {
    height: 60px;
  }

  .specs-table th,
  .specs-table td {
    padding: var(--space-xs);
    font-size: 0.9rem;
  }
}