.breadcrumb {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  background-color: var(--background);
}

.breadcrumb a {
  color: var(--primary);
  font-weight: 500;
}

.product-detail {
  padding: 3rem 0;
}

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

.product-image-section {
  position: sticky;
  top: 80px;
}

.product-main-image {
  width: 100%;
  height: 500px;
  background-color: var(--background);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-section h1 {
  font-size: 2rem;
  margin: 1rem 0;
  line-height: 1.2;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}

.stars {
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.2em;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1rem;
  background-color: var(--background);
  border-radius: var(--radius);
  font-size: 1.5rem;
}

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

.original-price {
  font-size: 1.1rem;
}

.discount {
  font-weight: 700;
  background-color: var(--accent);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.9rem;
}

.description {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 1.5rem 0;
}

.product-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.option-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.option-group label {
  font-weight: 600;
  color: var(--text);
}

.option-group select {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  cursor: pointer;
}

.quantity-selector {
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
}

.qty-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  padding: 0 0.75rem;
  transition: color 0.3s ease;
}

.qty-btn:hover {
  color: var(--accent);
}

#quantity {
  width: 60px;
  text-align: center;
  border: none;
  background: none;
  font-size: 1rem;
  font-weight: 600;
}

#quantity:focus {
  outline: none;
}

.product-actions-detail {
  gap: 1rem;
  margin: 2rem 0;
}

.product-actions-detail .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.stock-status {
  padding: 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  margin: 1rem 0;
}

.stock-status.in-stock {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.stock-status.out-of-stock {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--error);
}

.product-details {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

.product-details h3 {
  margin-bottom: 1rem;
}

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

/* Related Products */
.related-products {
  background-color: var(--background);
  padding: 3rem 0;
  margin-top: 3rem;
}

.related-products h2 {
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-image-section {
    position: relative;
    top: auto;
  }

  .product-main-image {
    height: 400px;
  }

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

  .product-price {
    font-size: 1.25rem;
  }

  .product-actions-detail {
    flex-direction: column;
  }

  .product-actions-detail .btn {
    width: 100%;
  }
}
