/* Product Detail Page */
.product-detail {
  /*    
  padding-top: 6rem;
  min-height: 100vh;
  */
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.breadcrumb a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--foreground);
}

.breadcrumb-separator {
  color: var(--border);
}

.breadcrumb-current {
  color: var(--foreground);
}

.product-detail-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  padding: 2rem 0 4rem;
}

@media (min-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Product Gallery */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-main-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
}

.product-main-image img {
  width: 100%;
  /*height: 100%;*/
  object-fit: cover;
}

.product-thumbnails {
  display: flex;
  gap: 0.75rem;
}

.thumbnail {
  width: 5rem;
  height: 5rem;
  padding: 0;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--card);
  transition: border-color 0.2s;
}

.thumbnail:hover {
  border-color: var(--muted-foreground);
}

.thumbnail.active {
  border-color: var(--primary);
}

.thumbnail img {
  width: 100%;
  /*height: 100%;*/
  object-fit: cover;
}

/* Product Info */
.product-info {
/*    
  display: flex;
  flex-direction: column;
*/  
  gap: 1.5rem;
}

.product-info .product-title0 {
  /*font-size: 2rem;*/
  font-weight: 700;
  color: var(--foreground);
  margin: 0;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-rating .stars {
  display: flex;
  gap: 0.125rem;
}

.product-rating .stars svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
}

.rating-count {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}


.product-info .product-description {
  color: var(--muted-foreground);
  line-height: 1.7;
  font-size: 1rem;
}

/* Product Specs */
.product-specs h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.specs-table td:first-child {
  color: var(--muted-foreground);
  width: 40%;
  font-weight: 500;
}

.specs-table td:last-child {
  color: var(--foreground);
}

/* Product Actions */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .product-actions {
    flex-direction: row;
  }
}

/* Product Extra List */
.product-extra-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.extra-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

.extra-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
}
