/* GALAXY GADGETZ · categorie.html. Prefix .cat- (basis in listing.css)
   Mobiel eerst: kop compact zodat de eerste producten in het eerste scherm staan. */

/* ---------- kop ---------- */
.cat-head__grid { display: grid; gap: 12px; }
.cat-pilot { display: inline-block; padding: 1px 6px; border-radius: var(--gg-r-xs); background: var(--gg-ink); color: var(--gg-paper); letter-spacing: .06em; }
.cat-q { display: none; }

/* verder kijken: gids + cadeaugids. Mobiel als compacte scroll-rij zonder beeld. */
.cat-more { display: flex; gap: 8px; margin: 2px calc(-1 * var(--gg-gutter)) 0; padding: 2px var(--gg-gutter); overflow-x: auto; scrollbar-width: none; }
.cat-more::-webkit-scrollbar { display: none; }
.cat-more__link { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: var(--gg-tap); padding: 0 14px; border-radius: var(--gg-r-pill); background: var(--gg-surface); color: var(--gg-ink); text-decoration: none; font-size: var(--gg-fs-xs); transition: background var(--gg-dur-1); }
.cat-more__link:hover { background: var(--gg-surface-2); }
.cat-more__link > .gg-icon { flex: 0 0 auto; width: 16px; height: 16px; color: var(--gg-muted); transition: transform var(--gg-dur-2) var(--gg-ease); }
.cat-more__link:hover > .gg-icon { transform: translateX(3px); color: var(--gg-ink); }
.cat-more__thumb { display: none; }
.cat-more__text { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.cat-more__kicker { font-family: var(--gg-mono); font-size: var(--gg-fs-2xs); letter-spacing: .04em; text-transform: uppercase; color: var(--gg-muted); white-space: nowrap; }
.cat-more__kicker-full { display: none; }
.cat-more__title { font-weight: 600; white-space: nowrap; max-width: 24ch; overflow: hidden; text-overflow: ellipsis; }

/* subcategorie-chips */
.cat-subs { margin-top: 14px; }
.cat-subs[hidden] { display: none; }
.cat-subs__list { display: flex; gap: 8px; list-style: none; margin: 0 calc(-1 * var(--gg-gutter)); padding: 2px var(--gg-gutter) 4px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.cat-subs__list::-webkit-scrollbar { display: none; }
.cat-subs__list > li { flex: 0 0 auto; scroll-snap-align: start; }
.cat-subs .gg-chip { text-decoration: none; }

@media (min-width: 900px) {
  .cat-head__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); align-items: end; gap: 56px; }
  .cat-q { display: grid; gap: 4px; margin-top: 20px; padding-left: 14px; border-left: 2px solid var(--gg-pink); max-width: 56ch; }
  .cat-q__label { font-family: var(--gg-mono); font-size: var(--gg-fs-2xs); letter-spacing: var(--gg-ls-caps); text-transform: uppercase; color: var(--gg-muted); }
  .cat-q__text { font-size: var(--gg-fs-md); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }

  .cat-more { display: grid; gap: 10px; margin: 0; padding: 0; overflow: visible; }
  .cat-more__link { display: grid; grid-template-columns: 64px minmax(0, 1fr) 20px; gap: 14px; min-height: 0; padding: 8px 16px 8px 8px; border-radius: var(--gg-r-lg); border: 1px solid var(--gg-line); background: var(--gg-paper); font-size: var(--gg-fs-sm); }
  .cat-more__link:hover { background: var(--gg-surface); border-color: var(--gg-line-strong); }
  .cat-more__thumb { display: block; width: 64px; height: 64px; border-radius: var(--gg-r-md); overflow: hidden; background: var(--gg-surface); }
  .cat-more__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .cat-more__text { display: grid; gap: 4px; }
  .cat-more__kicker-full { display: inline; }
  .cat-more__title { white-space: normal; max-width: none; line-height: 1.3; }
  .cat-subs { margin-top: 28px; }
  .cat-subs__list { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; }
}

/* onder het grid als een subcategorie actief is */
.cat-guide-below { padding-bottom: var(--gg-section-y); }
.cat-guide-below[hidden] { display: none; }

/* ---------- foutstaat ---------- */
.cat-state { padding-block: 40px 64px; }
.cat-state__h1 { font-size: var(--gg-fs-2xl); }
.cat-state .gg-state__actions .gg-chip { text-decoration: none; }

/* ---------- binnenkort ---------- */
.cat-later { display: grid; gap: 28px; }
.cat-later__body { margin-top: 14px; max-width: 54ch; font-size: var(--gg-fs-sm); line-height: var(--gg-lh-body); }
.cat-later__steps { display: grid; gap: 0; margin: 20px 0 0; padding: 0; list-style: none; max-width: 420px; }
.cat-later__steps li { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: var(--gg-fs-sm); color: var(--gg-muted); }
.cat-later__steps li > span { flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--gg-line-strong); background: var(--gg-paper); font-family: var(--gg-mono); font-size: var(--gg-fs-2xs); font-weight: 600; position: relative; z-index: 1; }
.cat-later__steps li:not(:last-child)::after { content: ""; position: absolute; left: 13.5px; top: 36px; bottom: -8px; width: 1px; background: var(--gg-line-strong); }
.cat-later__steps li.is-done { color: var(--gg-ink); }
.cat-later__steps li.is-done > span { background: var(--gg-ink); color: var(--gg-paper); box-shadow: none; }
.cat-later__steps li.is-done > span .gg-icon { width: 14px; height: 14px; stroke-width: 2.5; }
.cat-later__steps li.is-current { color: var(--gg-ink); font-weight: 600; }
.cat-later__steps li.is-current > span { box-shadow: inset 0 0 0 2px var(--gg-pink); color: var(--gg-pink-strong); }
.cat-later__card { display: grid; gap: 12px; align-content: start; padding: 20px; border-radius: var(--gg-r-xl); background: var(--gg-surface); }
.cat-later__h2 { font-size: var(--gg-fs-lg); }
.cat-later__form { display: grid; gap: 12px; }
.cat-later__tiles { --gg-cols: 1; }
@media (min-width: 600px) { .cat-later__tiles { grid-template-columns: repeat(min(var(--cat-tiles, 3), 3), minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .cat-later { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 64px; align-items: start; }
  .cat-later__card { padding: 28px; margin-top: 8px; }
}
