/* ==========================================================================
   GALAXY GADGETZ · bevestiging.html  (selectors beginnen met .conf)
   Rustig, licht, informatief: eerst zekerheid (ordernummer), dan per zending
   wat er gebeurt, dan retour en herroepen. Eén donker podium onderaan.
   ========================================================================== */
.conf { background: var(--gg-paper); }
.conf-top { padding-top: 16px; }
@media (min-width: 900px) { .conf-top { padding-top: 28px; } }

/* ---- hero ---- */
.conf-hero { display: grid; gap: 16px; padding-block: 24px 28px; }
.conf-hero__mark { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gg-success-tint); color: var(--gg-success); border: 1px solid var(--gg-success-line); }
.conf-hero__mark .gg-icon { width: 28px; height: 28px; stroke-width: 2.25; }
@media (prefers-reduced-motion: no-preference) {
  .conf-hero__mark { animation: conf-pop var(--gg-dur-4) var(--gg-ease) both; }
  .conf-hero__mark .gg-icon path, .conf-hero__mark .gg-icon polyline { stroke-dasharray: 30; stroke-dashoffset: 30; animation: conf-draw 520ms 180ms var(--gg-ease) forwards; }
}
@keyframes conf-pop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes conf-draw { to { stroke-dashoffset: 0; } }
.conf-hero__body { display: grid; gap: 10px; min-width: 0; }
.conf-hero__body .gg-eyebrow { color: var(--gg-success); }
.conf-hero__title { font-size: var(--gg-fs-3xl); letter-spacing: var(--gg-ls-heading); line-height: 1.08; max-width: 18ch; }
.conf-hero__lead { font-size: var(--gg-fs-base); color: var(--gg-ink-2); max-width: 62ch; line-height: 1.55; }
.conf-hero__lead b { color: var(--gg-ink); font-weight: 600; word-break: break-word; }
.conf-hero__meta { display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; border: 1px solid var(--gg-line); border-radius: var(--gg-r-lg); background: var(--gg-surface); overflow: hidden; }
.conf-meta__item { display: grid; gap: 2px; align-content: start; padding: 12px 14px; min-width: 0; }
.conf-meta__item:nth-child(n+3) { border-top: 1px solid var(--gg-line); }
.conf-meta__item:nth-child(even) { border-left: 1px solid var(--gg-line); }
.conf-meta__item--nr { grid-column: 1 / -1; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; background: var(--gg-paper); }
.conf-meta__item--nr .conf-meta__k { grid-column: 1; }
.conf-meta__item--nr .conf-meta__v { grid-column: 1; font-size: var(--gg-fs-lg); font-weight: 600; letter-spacing: .01em; }
.conf-meta__item--nr .conf-copy { grid-column: 2; grid-row: 1 / span 2; }
.conf-meta__item--nr ~ .conf-meta__item:nth-child(even) { border-left: 0; }
.conf-meta__item--nr ~ .conf-meta__item:nth-child(odd) { border-left: 1px solid var(--gg-line); }
.conf-meta__item--nr ~ .conf-meta__item:last-child:nth-child(even) { grid-column: 1 / -1; }
.conf-meta__k { font-family: var(--gg-mono); font-size: var(--gg-fs-2xs); text-transform: uppercase; letter-spacing: var(--gg-ls-caps); color: var(--gg-muted); }
.conf-meta__v { font-size: var(--gg-fs-sm); font-weight: 600; color: var(--gg-ink); overflow-wrap: anywhere; }
.conf-meta__item--nr .conf-meta__v { white-space: nowrap; overflow-wrap: normal; }
.conf-copy { min-height: var(--gg-tap); font-size: var(--gg-fs-sm); gap: 6px; }
.conf-sample { display: flex; gap: 6px; align-items: flex-start; font-family: var(--gg-mono); font-size: var(--gg-fs-2xs); color: var(--gg-muted); line-height: 1.5; }
.conf-sample .gg-icon { margin-top: 2px; flex: 0 0 auto; }
@media (min-width: 600px) {
  .conf-hero__meta { grid-template-columns: minmax(250px, 1.7fr) 1fr 1fr 1fr; }
  .conf-meta__item--nr { grid-column: auto; }
  .conf-meta__item:nth-child(n+3) { border-top: 0; }
  .conf-meta__item + .conf-meta__item, .conf-meta__item--nr ~ .conf-meta__item:nth-child(even) { border-left: 1px solid var(--gg-line); }
  .conf-meta__item--nr ~ .conf-meta__item:last-child:nth-child(even) { grid-column: auto; }
  .conf-meta__item { padding: 14px 18px; }
}
@media (min-width: 900px) {
  .conf-hero { grid-template-columns: 64px 1fr; gap: 24px; padding-block: 32px 40px; }
  .conf-hero__mark { width: 64px; height: 64px; }
  .conf-hero__meta { max-width: 880px; }
}

/* ---- layout ---- */
.conf-layout { display: grid; gap: 16px; padding-bottom: 48px; align-items: start; }
.conf-main, .conf-side { display: grid; gap: 16px; min-width: 0; }
@media (min-width: 900px) { .conf-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; padding-bottom: 72px; } .conf-side { position: sticky; top: calc(var(--gg-header-h) + 24px); } }
@media (min-width: 1200px) { .conf-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; } }

.conf-card { display: grid; gap: 16px; padding: 20px 16px; border: 1px solid var(--gg-line); border-radius: var(--gg-r-xl); background: var(--gg-paper); min-width: 0; }
@media (min-width: 600px) { .conf-card { padding: 28px; } }
.conf-card__title { display: flex; align-items: center; gap: 10px; font-size: var(--gg-fs-lg); letter-spacing: -0.015em; }
.conf-card__title:focus { outline: none; }
.conf-card__title .gg-icon { flex: 0 0 auto; }
.conf-card__sub { font-size: var(--gg-fs-sm); color: var(--gg-muted); line-height: 1.55; margin-top: -8px; }
.conf-optional { font-family: var(--gg-mono); font-size: var(--gg-fs-2xs); font-weight: 500; text-transform: uppercase; letter-spacing: var(--gg-ls-caps); color: var(--gg-muted); padding: 2px 6px; border: 1px solid var(--gg-line-strong); border-radius: var(--gg-r-xs); }

/* ---- zendingen ---- */
.conf-ships { display: grid; gap: 12px; }
.conf-ship { display: grid; border: 1px solid var(--gg-line); border-radius: var(--gg-r-lg); overflow: hidden; }
.conf-ship__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 16px; padding: 14px 16px; background: var(--gg-surface); border-bottom: 1px solid var(--gg-line); }
.conf-ship__kicker { font-family: var(--gg-mono); font-size: var(--gg-fs-2xs); text-transform: uppercase; letter-spacing: var(--gg-ls-caps); color: var(--gg-muted); }
.conf-ship__title { display: flex; align-items: center; gap: 8px; font-size: var(--gg-fs-base); font-weight: 700; letter-spacing: -0.01em; margin-top: 2px; }
.conf-ship--nl .conf-ship__title .gg-icon { color: var(--gg-success); }
.conf-ship--eu .conf-ship__title .gg-icon { color: var(--gg-info); }
.conf-ship__eta { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: baseline; text-align: right; }
.conf-ship__eta-k { grid-column: 1 / -1; font-family: var(--gg-mono); font-size: var(--gg-fs-2xs); text-transform: uppercase; letter-spacing: var(--gg-ls-caps); color: var(--gg-muted); }
.conf-ship__eta-v { font-weight: 700; font-size: var(--gg-fs-sm); }
.conf-ship__days { font-family: var(--gg-mono); font-size: var(--gg-fs-2xs); font-weight: 600; padding: 2px 6px; border-radius: var(--gg-r-xs); border: 1px solid var(--gg-line-strong); background: var(--gg-paper); }
@media (max-width: 599.98px) { .conf-ship__eta { text-align: left; } }
.conf-ship .conf-ship__items { list-style: none; margin: 0; padding: 14px 16px 4px; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.conf-ship__item { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 220px; }
.conf-ship__thumb { width: 48px; height: 48px; flex: 0 0 auto; border-radius: var(--gg-r-md); background: var(--gg-surface); overflow: hidden; }
.conf-ship__thumb img { width: 100%; height: 100%; object-fit: cover; }
.conf-ship__name { font-size: var(--gg-fs-sm); font-weight: 500; line-height: 1.35; min-width: 0; }
.conf-ship__var { display: block; font-size: var(--gg-fs-xs); color: var(--gg-muted); font-weight: 400; }
.conf-ship__where { display: flex; gap: 8px; align-items: flex-start; padding: 12px 16px; border-top: 1px solid var(--gg-line); font-size: var(--gg-fs-xs); color: var(--gg-muted); line-height: 1.5; }
.conf-ship__where .gg-icon { margin-top: 2px; flex: 0 0 auto; color: var(--gg-ink); }
.conf-ship__where b { color: var(--gg-ink); font-weight: 600; }
@media (min-width: 600px) { .conf-ship__head, .conf-ship .conf-ship__items, .conf-ship__where { padding-inline: 20px; } }

/* tijdlijn per zending */
.conf-ship .conf-steps { list-style: none; margin: 0; padding: 14px 16px 16px; display: grid; gap: 0; }
.conf-steps__item { position: relative; display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; padding-bottom: 14px; align-content: start; }
.conf-steps__item:last-child { padding-bottom: 0; }
.conf-steps__item::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--gg-line); }
.conf-steps__item:last-child::before { display: none; }
.conf-steps__item.is-done::before { background: var(--gg-ink); }
.conf-steps__dot { grid-row: 1 / span 2; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--gg-paper); border: 2px solid var(--gg-line-strong); position: relative; z-index: 1; }
.conf-steps__item.is-done .conf-steps__dot { background: var(--gg-ink); border-color: var(--gg-ink); color: var(--gg-paper); }
.conf-steps__item.is-done .conf-steps__dot .gg-icon { width: 13px; height: 13px; stroke-width: 2.5; }
.conf-steps__item.is-now .conf-steps__dot { border-color: var(--gg-ink); }
.conf-steps__item.is-now .conf-steps__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gg-pink); }
.conf-steps__title { font-size: var(--gg-fs-sm); font-weight: 600; line-height: 1.4; padding-top: 2px; }
.conf-steps__item.is-todo .conf-steps__title { color: var(--gg-ink-2); font-weight: 500; }
.conf-steps__now { display: inline-block; margin-left: 8px; vertical-align: 1px; font-family: var(--gg-mono); font-size: var(--gg-fs-2xs); font-weight: 600; line-height: 1; padding: 3px 6px; border-radius: var(--gg-r-xs); background: var(--gg-pink-tint); color: var(--gg-pink-strong); }
.conf-steps__text { grid-column: 2; font-size: var(--gg-fs-xs); color: var(--gg-muted); line-height: 1.5; }
@media (min-width: 600px) { .conf-ship .conf-steps { padding-inline: 20px; } }
@media (min-width: 1200px) {
  .conf-ship .conf-steps { grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 18px; }
  .conf-steps__item { grid-template-columns: 1fr; row-gap: 8px; padding-bottom: 0; align-content: start; }
  .conf-steps__now { position: absolute; top: 3px; left: 34px; }
  .conf-steps__item::before { left: 24px; right: -16px; top: 11px; bottom: auto; width: auto; height: 2px; }
  .conf-steps__dot { grid-row: auto; }
  .conf-steps__title { line-height: 1.35; }
  .conf-steps__text { grid-column: 1; }
}

/* ---- track & trace ---- */
.conf-howto { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.conf-howto__item { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.conf-howto__num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--gg-mono); font-size: var(--gg-fs-xs); font-weight: 600; border: 1px solid var(--gg-line-strong); }
.conf-howto__title { font-size: var(--gg-fs-sm); font-weight: 600; line-height: 28px; }
.conf-howto__text { font-size: var(--gg-fs-sm); color: var(--gg-muted); line-height: 1.5; }
@media (min-width: 900px) { .conf-howto { grid-template-columns: repeat(3, 1fr); gap: 20px; } .conf-howto__item { grid-template-columns: 1fr; gap: 8px; } }

/* ---- retour ---- */
.conf-returns { display: grid; gap: 16px; }
.conf-returns__text { display: grid; gap: 12px; font-size: var(--gg-fs-sm); line-height: 1.55; align-content: start; }
.conf-returns__text a { justify-self: start; min-height: 24px; }
.conf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.conf-list li { position: relative; padding-left: 20px; color: var(--gg-ink-2); }
.conf-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 2px; background: var(--gg-ink); }
.conf-returns .gg-withdraw { align-content: start; }
.conf-returns .gg-withdraw .gg-btn { justify-self: start; }
.conf-returns .gg-withdraw .gg-link { justify-self: start; min-height: 24px; display: inline-flex; align-items: center; }
@media (min-width: 1200px) { .conf-returns { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* ---- bestelling (zijkolom) ---- */
.conf-order__items { list-style: none; margin: 0; padding: 0 0 4px; display: grid; gap: 10px; }
.conf-order__item { display: flex; justify-content: space-between; gap: 12px; font-size: var(--gg-fs-sm); }
.conf-order__name { min-width: 0; }
.conf-order__qty { font-size: var(--gg-fs-xs); color: var(--gg-muted); }
.conf-order__var { display: block; font-size: var(--gg-fs-xs); color: var(--gg-muted); }
.conf-order__price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.conf-order__totals { padding-top: 14px; border-top: 1px solid var(--gg-line); }
.conf-order__totals .gg-totals__row--total dd { font-size: var(--gg-fs-lg); }
.conf-order__free, .conf-order__disc dd { color: var(--gg-success); font-weight: 600; }
[data-conf-order] { display: grid; gap: 14px; }
.conf-order .gg-totals__vat { margin-top: -8px; }
.conf-order__facts { display: grid; gap: 10px; margin: 0; padding-top: 14px; border-top: 1px solid var(--gg-line); }
.conf-order__facts dt { font-family: var(--gg-mono); font-size: var(--gg-fs-2xs); text-transform: uppercase; letter-spacing: var(--gg-ls-caps); color: var(--gg-muted); }
.conf-order__facts dd { margin: 2px 0 0; font-size: var(--gg-fs-sm); }

.conf-account { background: var(--gg-surface); border-color: var(--gg-surface); }
.conf-account.is-done { background: var(--gg-success-tint); border-color: var(--gg-success-line); }
.conf-account.is-done .conf-card__title .gg-icon { color: var(--gg-success); }
.conf-account__form { display: grid; gap: 14px; }
.conf-account__form .gg-input[readonly] { background: var(--gg-paper); color: var(--gg-ink-2); }
.conf-help { display: flex; gap: 10px; align-items: flex-start; justify-content: center; font-size: var(--gg-fs-xs); color: var(--gg-muted); line-height: 1.5; }
.conf-help .gg-icon { margin-top: 2px; flex: 0 0 auto; color: var(--gg-ink); }

/* ---- podium ---- */
.conf-discover__inner { display: grid; gap: 24px; align-items: end; }
.conf-discover__title { font-size: var(--gg-fs-2xl); letter-spacing: var(--gg-ls-heading); margin-top: 8px; max-width: 22ch; }
.conf-discover__text { color: var(--gg-on-dark-muted); margin-top: 10px; max-width: 54ch; line-height: 1.55; }
.conf-discover__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .conf-discover__inner { grid-template-columns: 1fr auto; gap: 48px; } }
.conf .kassa-proto { margin-top: 40px; }
