/* Dárkové poukazy – doplněk k /styles.css */

.lead-p { color: var(--muted); margin: -12px 0 24px; max-width: 560px; }

/* ---------- výběr poukazu ---------- */
.vchoices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vchoice {
  display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 20px 22px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--bg); transition: border-color .15s, box-shadow .15s, background .15s;
}
.vchoice:hover { border-color: var(--line-2); background: #fcfcfc; }
.vchoice.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.vchoice .num { font-family: Jost, sans-serif; font-weight: 300; font-size: 44px; line-height: 1; color: #3d5c2e; display: flex; align-items: baseline; gap: 8px; }
.vchoice .num small { font-size: 20px; }
.vchoice .meta { font-size: 14px; color: var(--muted); }
.vchoice .price { font-size: 16px; font-weight: 600; margin-top: 8px; }
.vchoice .save { font-size: 13px; color: var(--ok); font-weight: 600; }

.facts { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink-2); }
.facts li { display: flex; gap: 10px; align-items: flex-start; }
.facts svg { width: 18px; height: 18px; color: var(--muted); flex: none; margin-top: 2px; }

/* ---------- přepínač „komu“ ---------- */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg button {
  text-align: left; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg);
  font-size: 15px; font-weight: 600;
}
.seg button span { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 2px; }
.seg button.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
@media (max-width: 560px) { .seg { grid-template-columns: 1fr; } .vchoices { grid-template-columns: 1fr; } }

/* ---------- platba ---------- */
.pay { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.pay .qr { width: 220px; height: 220px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.pay .qr svg { width: 100%; height: 100%; display: block; }
.pay dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 15px; }
.pay dt { color: var(--muted); }
.pay dd { margin: 0; font-weight: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.copy { border: 1px solid var(--line-2); background: var(--bg); border-radius: 999px; font-size: 12px; font-weight: 600; padding: 2px 10px; }
.copy:hover { background: var(--soft); }
.waiting { display: flex; gap: 12px; align-items: center; margin: 20px 0 0; padding: 14px 16px; border-radius: 10px; background: #fff4df; color: #7a4800; font-size: 14px; }
.spin { width: 18px; height: 18px; border-radius: 999px; border: 2px solid currentColor; border-right-color: transparent; animation: rot .8s linear infinite; flex: none; }
@keyframes rot { to { transform: rotate(360deg); } }
@media (max-width: 640px) { .pay { grid-template-columns: 1fr; justify-items: center; } .pay dl { width: 100%; } }

/* ---------- zůstatek ---------- */
.left-big { display: flex; align-items: baseline; gap: 10px; font-family: Jost, sans-serif; font-weight: 300; color: #3d5c2e; }
.left-big b { font-weight: 300; font-size: 72px; line-height: 1; }
.left-big span { font-size: 24px; }
.dots { display: flex; gap: 8px; margin: 14px 0 4px; }
.dots i { width: 36px; height: 8px; border-radius: 4px; background: #6f9449; }
.dots i.used { background: var(--line); }
.hist { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.hist li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hist li:last-child { border-bottom: 0; }
.hist .d { color: var(--muted); }

/* ---------- poukaz (náhled) ---------- */
.vbox { width: 100%; aspect-ratio: 794 / 374; position: relative; overflow: hidden; border-radius: 6px; box-shadow: 0 1px 2px rgba(13,22,25,.08), 0 10px 30px rgba(13,22,25,.10); }
.vbox > .voucher { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: scale(var(--s, .5)); }
.summary .vbox { margin: 0 0 20px; }

.voucher {
  width: 794px; height: 374px; box-sizing: border-box; background: #faf5e8; color: #2c3a24;
  font-family: Jost, sans-serif; overflow: hidden; display: flex;
}
.voucher .leaf { width: 230px; height: 374px; flex: none; background: #6f9449; overflow: hidden; }
.voucher .body { flex: 1; padding: 34px 40px 28px; display: flex; flex-direction: column; justify-content: space-between; }
.voucher .h { font-size: 58px; font-weight: 400; line-height: 1; letter-spacing: -.01em; color: #b26a1c; }
.voucher .mid { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.voucher .count { display: flex; align-items: baseline; gap: 14px; color: #3d5c2e; font-weight: 300; }
.voucher .count b { font-weight: 300; font-size: 84px; line-height: .9; letter-spacing: -.02em; }
.voucher .count span { font-size: 63px; line-height: .9; }
.voucher .each { display: flex; align-items: center; gap: 10px; font-size: 16px; letter-spacing: .06em; color: #4d5a43; margin-top: 8px; }
.voucher .each::before { content: ''; width: 32px; height: 2px; background: #e0a93b; }
.voucher .qrw { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.voucher .qrw .q { background: #fff; padding: 10px; border-radius: 6px; border: 1.5px solid #c9dba6; width: 112px; height: 112px; box-sizing: border-box; }
.voucher .qrw .q svg { width: 100%; height: 100%; display: block; }
.voucher .code { font-size: 11px; font-weight: 500; letter-spacing: .18em; color: #3d5c2e; }
.voucher .foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; border-top: 1.5px solid #e0a93b; padding-top: 12px; font-size: 12px; line-height: 1.55; color: #4d5a43; }
.voucher .foot span:last-child { text-align: right; }
