/* AURA products: the module catalogue (views/products.php). Deck look: black bold headings, flat grey cards, one orange. */
.prod { max-width: 1272px; margin: 0 auto; padding-top: 28px; }

.prod-hero { max-width: 820px; padding: 20px 0 8px; }
.prod-eyebrow { margin: 0 0 14px; font: 800 12px/1 var(--aura-font-family-display); letter-spacing: .1em; text-transform: uppercase; color: var(--aura-color-brand-fg); }
.prod-hero h1 { margin: 0; font: 800 clamp(36px, 5.4vw, 64px)/1.04 var(--aura-font-family-display); letter-spacing: -.035em; color: var(--aura-color-text-heading); }
.prod-lead { margin: 18px 0 0; max-width: 62ch; font-size: 17px; line-height: 1.6; }
/* Status filter: stays within reach while the gallery scrolls. */
.prod-filter { position: sticky; top: var(--topbar-h, 70px); z-index: 5; display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 12px 0; background: var(--aura-color-bg-canvas); border-bottom: 1px solid var(--hairline); }
.prod-filter .chip-pick { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; }
.prod-filter .chip-pick[aria-pressed="true"] { background: var(--nav-active-bg); border-color: var(--nav-active-bg); color: var(--nav-active-fg); }
.prod-n { font: 700 12px/1 var(--aura-font-family-display); opacity: .7; }

.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.prod-card { display: flex; flex-direction: column; gap: 10px; min-height: 196px; padding: 24px; border-radius: 20px; background: var(--surface-card); scroll-margin-top: calc(var(--topbar-h, 70px) + 76px); transition: background-color .15s ease, transform .15s ease; }
.prod-card:hover { background: var(--surface-card-hover); }
.prod-card[hidden] { display: none; }
.prod-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 12px; margin-bottom: 8px; }   /* a long name pushes the status to its own line, never shrinks the logo */
/* Status: a green dot for Live, a hollow one for In incubator. The words carry the meaning; the dot only helps scanning. */
.prod-status { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: var(--aura-color-bg-canvas); font: 700 12px/1 var(--aura-font-family-display); color: var(--aura-color-text-muted); white-space: nowrap; }
.prod-status.is-live { color: var(--aura-color-text-heading); }
.prod-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
/* readiness stages: live (green), testing and endorsement (amber), incubator (hollow ring) */
.prod-status.is-testing, .prod-status.is-endorsement { color: var(--aura-color-text-heading); }
.prod-dot.is-testing, .prod-dot.is-endorsement { border: 0; background: var(--aura-color-status-warning-fg, #b45309); }
.prod-dot.is-live { border: 0; background: var(--aura-color-status-healthy-fg, #1a7f4b); box-shadow: 0 0 0 3px color-mix(in srgb, var(--aura-color-status-healthy-fg, #1a7f4b) 22%, transparent); }
.prod-logo { flex: none; height: 27px; width: auto; max-width: 100%; }
.prod-desc { margin: 0; font: 800 16px/1.3 var(--aura-font-family-display); letter-spacing: -.01em; color: var(--aura-color-text-heading); }
.prod-what { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--aura-color-text-default); }
.prod-go { align-self: flex-start; margin-top: auto; }
.prod-card .prod-what:last-child { margin-bottom: 0; }

.prod-end { margin: 56px 0 8px; padding: 22px 26px; }
.prod-end p { flex: 1; }
.prod-end .btn { flex: none; }
.prod-end a.btn-primary { color: var(--aura-color-brand-on-solid); text-decoration: none; }

@media (max-width: 980px) { .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .prod { padding-top: 12px; }
  .prod-grid { grid-template-columns: 1fr; }
  .prod-card { min-height: 0; padding: 20px; }
  .prod-filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: -14px; padding-inline: 14px; scrollbar-width: none; }
  .prod-filter::-webkit-scrollbar { display: none; }
  .prod-filter .chip-pick { flex: none; }
  .prod-end .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .prod-card { transition: none; } }
@media print { .prod-filter { display: none; } }
/* The Vibes lockup file is cropped tighter than the family files: same visible size, same baseline. */
#aura-vibes .prod-logo { height: 21px; margin-bottom: 6px; }
