/* Axion Lattice catalog: branded cards + per-demo audio + panel lightbox */
.suite-card__name {
  font-weight: 700;
  letter-spacing: 0.01em;
}
.modal-chips[hidden] {
  display: none !important;
}
.panel-shot--zoomable {
  cursor: zoom-in;
}
.panel-shot--zoomable:focus-visible {
  outline: 2px solid var(--qxr-lavender);
  outline-offset: 2px;
}
.axion-preview {
  margin: 1rem 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(17, 16, 24, 0.55);
}
.axion-preview__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.axion-preview__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--qxr-fog);
  margin: 0;
}
.axion-demo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.axion-demo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}
.axion-demo-row.is-playing {
  border-color: rgba(29, 184, 158, 0.35);
  background: rgba(29, 184, 158, 0.06);
}
.axion-demo-row__label {
  font-size: 13px;
  color: var(--qxr-ghost);
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}
.axion-demo-row__play {
  flex-shrink: 0;
  min-width: 4.75rem;
  min-height: 44px;
}
.axion-demo-row__play:disabled {
  opacity: 0.72;
  cursor: default;
}
#plugin-modal .modal-header {
  position: relative;
  text-align: center;
  justify-content: center;
  padding-right: 3.25rem;
}

#plugin-modal .modal-header h2 {
  margin-left: auto;
  margin-right: auto;
}

#plugin-modal .modal-header .sub {
  display: block;
}

#plugin-modal .modal-close {
  position: absolute;
  top: 1.15rem;
  right: 1.25rem;
}

#plugin-modal .modal-body {
  padding-top: 0.5rem;
}

#plugin-modal .modal-freeware-note {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.panel-shot-wrap {
  max-width: 640px;
  margin: 0 auto 1rem;
  text-align: center;
}

.panel-shot {
  min-height: 10rem;
  padding: clamp(0.65rem, 2vw, 1rem);
  justify-content: center;
}

.panel-shot__img {
  max-width: 100%;
  max-height: min(38vh, 260px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.panel-shot__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin-top: 0.65rem;
  padding-top: 0.15rem;
}
.panel-shot__thumb {
  width: 52px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  opacity: 0.75;
}
.panel-shot__thumb.is-active,
.panel-shot__thumb:hover {
  opacity: 1;
  border-color: var(--qxr-lavender);
}
.panel-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(4, 3, 10, 0.92);
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}
.panel-lightbox.is-open {
  display: flex;
}
body.panel-lightbox-open {
  overflow: hidden;
}
.panel-lightbox__img {
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
.panel-lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 901;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-mid);
  background: var(--qxr-deep);
  color: var(--qxr-ghost);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.panel-lightbox__close:hover {
  background: var(--qxr-plum);
}
#plugin-modal .modal-footer--suite {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}

#plugin-modal .modal-footer--suite .btn {
  flex: 0 1 auto;
  min-width: 0;
  width: auto;
  max-width: 100%;
}

#plugin-modal .modal-footer--suite .btn--solid {
  flex: 1 1 12rem;
  max-width: 22rem;
}

#plugin-modal .modal-footer--suite #btn-purchase {
  flex: 0 0 auto;
  margin-left: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

#plugin-modal .modal-footer--suite [hidden],
#plugin-modal .modal-footer--suite .is-hidden,
#plugin-modal .detail-actions [hidden],
#plugin-modal .detail-actions .is-hidden {
  display: none !important;
}

@media (max-width: 700px) {
  #plugin-modal .modal-footer--suite .btn--solid {
    flex: 1 1 100%;
    max-width: none;
  }

  #plugin-modal .modal-footer--suite #btn-purchase {
    margin-left: 0;
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .suite-card {
    transition: none;
  }
}
