/* Task 10: product type badges, download / voucher pages, checkout recipients, order page links. */
.type-badge { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: var(--radius-pill); white-space: nowrap; font-weight: 500; }
.type-digital { background: rgba(10, 116, 214, .1); color: var(--blue); }
.type-voucher { background: rgba(0, 188, 212, .12); color: #00788a; }
.type-note { color: var(--text-2); font-size: 14px; }

.fulfil-card { padding: 32px; }
.fulfil-card h1 { font-size: 28px; margin: 0 0 12px; }
.fulfil-list { list-style: none; margin: 0; padding: 0; }
.fulfil-list li { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.fulfil-list li:first-child { border-top: 0; }
.fulfil-list .muted { font-size: 14px; }
.fulfil-code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .04em; }

.recipients .field { margin-bottom: 12px; }

.voucher-actions { display: flex; justify-content: flex-end; margin: 0 0 16px; }
.voucher { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 40px 44px; text-align: center; position: relative; overflow: hidden; }
.voucher::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--navy), var(--blue), var(--teal)); }
.voucher-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.voucher-logo { height: 32px; width: auto; }
.voucher-kicker { margin: 0; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--text-2); }
.voucher-service { font-size: 34px; line-height: 1.15; margin: 0 0 12px; }
.voucher-recipient { font-size: 20px; color: var(--navy); margin: 0 0 20px; }
.voucher-code { display: inline-block; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 32px; letter-spacing: .08em; padding: 14px 28px; border: 2px dashed var(--line); border-radius: var(--radius-sm); margin: 8px 0 24px; }
.voucher-facts { display: grid; grid-template-columns: auto auto; gap: 6px 16px; justify-content: center; margin: 0 0 24px; text-align: left; }
.voucher-facts dt { color: var(--text-2); }
.voucher-facts dd { margin: 0; font-weight: 500; }
.voucher-how { color: var(--text-2); max-width: 520px; margin: 0 auto 28px; }
.voucher-company { border-top: 1px solid var(--line-soft); padding-top: 16px; font-size: 13px; color: var(--text-2); }
.voucher-void, .voucher-redeemed, .voucher-expired { opacity: .55; }
@media (max-width: 600px) {
  .voucher { padding: 32px 20px; }
  .voucher-service { font-size: 26px; }
  .voucher-code { font-size: 22px; padding: 10px 14px; }
}
@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: #fff; }
  .section { padding: 0 !important; }
  .voucher { border: 1px solid #999; box-shadow: none; break-inside: avoid; }
  .voucher-page .container { max-width: none; }
}
.pc-type { display: inline-flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; justify-content: flex-end; text-align: right; }
.pc-type .type-note { font-size: 13px; }
.product-type { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* G20: phone ergonomics (<= 700px) */
@media (max-width: 700px) {
  .type-badge { font-size: 13px; padding: 4px 10px; }
  .type-note, .pc-type .type-note, .fulfil-list .muted, .voucher-company { font-size: 15px; }
  .fulfil-card { padding: 24px 20px; }
  .fulfil-list .btn { width: 100%; }
  .voucher-actions .btn { width: 100%; }
}
