/* The guest pages: one calm card, the brand tokens (brand/tokens/tokens.css). */
body { margin: 0; min-height: 100vh; display: grid; place-items: center; background: var(--bg); color: var(--ink); font-family: var(--font-ui); }
main { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 32px; max-width: 420px; margin: 16px; }
h1 { font-size: 22px; line-height: 1.3; margin: 0 0 12px; }
p { color: var(--ink-2); line-height: 1.5; margin: 0 0 20px; }
button { font: inherit; font-weight: 600; background: var(--brand); color: var(--brand-ink); border: 0; border-radius: 8px; padding: 12px 20px; min-height: 44px; cursor: pointer; }
button:hover { background: var(--brand-press); }
button:disabled { opacity: .6; cursor: default; }
button:focus-visible { outline: 2px solid var(--info); outline-offset: 2px; }
a.button { display: inline-block; font-weight: 600; background: var(--brand); color: var(--brand-ink); border-radius: 8px; padding: 12px 20px; min-height: 44px; box-sizing: border-box; text-decoration: none; margin: 0 8px 8px 0; }
h2 { font-size: 17px; margin: 24px 0 8px; }
label { display: block; margin: 0 0 12px; color: var(--ink-2); }
label input:not([type]), label input[type=email], label input[type=date] { display: block; width: 100%; box-sizing: border-box; font: inherit; margin-top: 4px; padding: 10px 12px; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 8px; }
label.check { display: flex; gap: 8px; align-items: flex-start; }
label.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.notice { color: var(--ink); background: var(--brand-tint); border-radius: 8px; padding: 12px; }
.program, .small, footer { font-size: 14px; color: var(--ink-3); }
footer { margin-top: 24px; text-align: center; }
.count { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.ready { color: var(--ink); font-weight: 600; }
ol.stamps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 0; margin: 0 0 16px; }
ol.stamps li { aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--line-strong); }
ol.stamps li.on { background: var(--brand); border: 2px solid var(--brand); }
form.email { border-top: 1px solid var(--line); margin-top: 16px; }
form button { margin: 4px 0 16px; }
a:not(.button) { color: var(--brand); }
/* The digital receipt (/beleg/): rows of text and amounts; printing saves it as a PDF. */
table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 15px; }
td { padding: 4px 0; vertical-align: top; }
td.num { text-align: right; white-space: nowrap; padding-left: 12px; }
table.total { border-top: 1px solid var(--line-strong); font-weight: 600; font-size: 18px; }
table.vat, table.tse { font-size: 13px; color: var(--ink-2); }
main.receipt { box-sizing: border-box; min-width: 0; width: calc(100% - 32px); max-width: 486px; }
table.tse { table-layout: fixed; }
.receipt-fiscal { border-block: 1px dashed var(--line-strong); padding-block: 16px; margin-block: 16px; }
.fiscal-qr { display: block; margin: 16px auto 0; width: 45mm; height: 45mm; max-width: 100%; object-fit: contain; break-inside: avoid; }
table.tse td:first-child { width: 40%; word-break: normal; overflow-wrap: normal; }
table.tse td.num { white-space: normal; overflow-wrap: anywhere; text-align: left; }
@media screen {
  table.vat td:first-child { white-space: nowrap; }
}
@media screen and (max-width: 480px) {
  table.vat tr, table.vat td { display: block; }
  table.vat td:first-child { padding-bottom: 0; }
  table.vat td.num { white-space: normal; text-align: left; padding: 2px 0 12px; }
  table.tse tr, table.tse td { display: block; }
  table.tse td:first-child { width: auto; padding-bottom: 0; }
  table.tse td.num { padding: 2px 0 12px; }
}
/* Pfand, a line discount and a voucher's rest under their line; the saving above the total (AIB-1052). */
tr.sub td:first-child { padding-left: 16px; color: var(--ink-2); font-size: 14px; }
tr.discount td { color: var(--ink-2); }
p.saved { margin: 0 0 8px; font-weight: 600; }
p.footer { text-align: center; }
/* Loyalty under the receipt: the stamp line or the claim link, then the news consent (AIB-1077). */
p.stamps-line { margin: 16px 0 8px; font-weight: 600; text-align: center; white-space: pre-line; }
@media print { body { display: block; background: none; } main, main.receipt { border: 0; max-width: none; width: auto; } .no-print { display: none; } }
[hidden] { display: none !important; }
label select, label textarea { display: block; width: 100%; box-sizing: border-box; font: inherit; margin-top: 4px; padding: 10px 12px; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); }
ul.cart { list-style: none; padding: 0; margin: 0 0 16px; }
ul.cart li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); }
ul.cart li.product { align-items: center; gap: 12px; }
ul.cart li.product input { width: 72px; box-sizing: border-box; font: inherit; padding: 8px 10px; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); }
ul.cart small { color: var(--ink-3); }
button.link { background: none; color: var(--brand); padding: 0; min-height: 0; font-weight: 400; }
footer .imprint { margin-bottom: 12px; line-height: 1.5; }
