.product-detail-page.qa-product-loading {
  position: relative;
  min-height: 34rem;
}

.qa-product-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34rem;
  background: color-mix(in srgb, var(--surface, #f4f9fd) 97%, transparent);
  opacity: 1;
  transition: opacity 180ms ease;
}

.qa-product-loading-overlay--leaving {
  opacity: 0;
  pointer-events: none;
}

.qa-product-loading-card {
  display: grid;
  justify-items: center;
  gap: .55rem;
  padding: 1.5rem 2rem;
  color: var(--text, #10233d);
  text-align: center;
}

.qa-product-loading-card strong { font-size: 1.05rem; }

.qa-product-loading-card small {
  color: var(--muted, #61758d);
  font-size: .9rem;
}

.qa-product-loading-spinner {
  width: 2.25rem;
  height: 2.25rem;
  border: 3px solid color-mix(in srgb, var(--primary, #3977ad) 22%, transparent);
  border-top-color: var(--primary, #3977ad);
  border-radius: 50%;
  animation: qa-product-loading-spin .75s linear infinite;
}

@keyframes qa-product-loading-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .qa-product-loading-spinner { animation-duration: 1.5s; }
}
