/* Dárkové poukazy – doplňkové styly (navazují na proměnné ze style.css) */
[hidden] { display: none !important; }

.vp-hero { padding: 64px 0 24px; }
.vp-hero h1 { font-family: var(--font-display); font-size: clamp(40px, 6vw, 84px); line-height: .95; margin: 14px 0 18px; text-transform: uppercase; }
.vp-hero .lead { max-width: 640px; }

.vp-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.vp-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--soft-shadow);
}
.vp-card h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 0 0 18px; }
.vp-step { display: flex; align-items: center; gap: 10px; margin: 26px 0 12px; font-weight: 800; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.vp-step:first-of-type { margin-top: 0; }
.vp-step b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 13px; }

.vp-amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.vp-amount { position: relative; }
.vp-amount input { position: absolute; opacity: 0; pointer-events: none; }
.vp-amount span {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 92px; border-radius: 18px; border: 1.5px solid var(--line);
  background: var(--surface); cursor: pointer; transition: all 160ms var(--ease);
  font-family: var(--font-display); font-size: 26px; font-weight: 900;
}
.vp-amount span small { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 2px; }
.vp-amount span:hover { border-color: rgba(245,160,0,.6); }
.vp-amount input:checked + span { border-color: var(--accent); background: rgba(245,160,0,.12); box-shadow: 0 0 0 3px rgba(245,160,0,.18); }
.vp-amount input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.vp-field { display: grid; gap: 6px; margin-bottom: 14px; }
.vp-field label { font-size: 13px; font-weight: 700; color: var(--muted); }
.vp-field input, .vp-field textarea {
  width: 100%; padding: 13px 15px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 16px;
}
.vp-field textarea { min-height: 90px; resize: vertical; }
.vp-field input:focus, .vp-field textarea:focus { outline: none; border-color: var(--accent); }
.vp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vp-hint { font-size: 12px; color: var(--muted); }
.vp-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 18px 0; }
.vp-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); }
.vp-check a { color: var(--accent); text-decoration: underline; }
.vp-submit { width: 100%; min-height: 56px; font-size: 16px; cursor: pointer; }
.vp-submit[disabled] { opacity: .6; cursor: progress; }
.vp-error { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255,80,80,.12); border: 1px solid rgba(255,80,80,.35); color: #ffb4b4; font-size: 14px; }
.vp-error.show { display: block; }
.vp-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 0; border-top: 1px solid var(--line); margin-top: 6px; }
.vp-total strong { font-family: var(--font-display); font-size: 30px; color: var(--accent); }

.vp-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.vp-steps li { display: flex; gap: 14px; }
.vp-steps li span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(245,160,0,.14); font-size: 20px; }
.vp-steps strong { display: block; }
.vp-steps p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

/* Náhled poukazu */
.vp-voucher {
  position: relative; overflow: hidden;
  border-radius: 24px; padding: 26px;
  background: linear-gradient(135deg, #1d1f24 0%, #101113 60%), #101113;
  border: 1px solid rgba(245,160,0,.4);
  box-shadow: var(--shadow);
}
.vp-voucher::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(245,160,0,.35), transparent 70%); }
.vp-voucher .brand { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.vp-voucher .brand img { height: 30px; width: auto; }
.vp-voucher .value { font-family: var(--font-display); font-size: clamp(42px, 6vw, 64px); font-weight: 900; margin: 22px 0 4px; line-height: 1; }
.vp-voucher .meta { color: var(--muted); font-size: 14px; }
.vp-voucher .to { margin-top: 14px; font-size: 15px; }
.vp-voucher .msg { margin-top: 10px; font-style: italic; color: rgba(247,244,237,.85); white-space: pre-line; }

/* Stránka poukazu / zůstatku */
.vv-wrap { max-width: 560px; margin: 0 auto; }
.vv-lookup { display: flex; gap: 10px; }
.vv-lookup input { flex: 1; text-transform: uppercase; font-family: var(--font-mono); letter-spacing: .06em; }
.vv-result { margin-top: 24px; }
.vv-balance { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed rgba(255,255,255,.18); }
.vv-balance .label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.vv-balance .num { font-family: var(--font-display); font-size: 40px; font-weight: 900; color: var(--accent); line-height: 1; }
.vv-qr { margin: 22px auto 6px; width: 220px; padding: 12px; background: #fff; border-radius: 16px; }
.vv-qr img { width: 100%; height: auto; image-rendering: pixelated; }
.vv-code { text-align: center; font-family: var(--font-mono); font-size: 18px; font-weight: 700; letter-spacing: .1em; }
.vv-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.vv-badge.active { background: rgba(80,200,120,.16); color: #8be0a8; }
.vv-badge.used, .vv-badge.void { background: rgba(255,255,255,.1); color: var(--muted); }
.vv-badge.expired { background: rgba(255,80,80,.14); color: #ffb4b4; }
.vv-actions { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }

.vp-status { text-align: center; padding: 30px 10px; }
.vp-status .icon { font-size: 56px; }
.vp-spinner { width: 46px; height: 46px; margin: 0 auto; border: 4px solid rgba(255,255,255,.15); border-top-color: var(--accent); border-radius: 50%; animation: vp-spin 0.9s linear infinite; }
@keyframes vp-spin { to { transform: rotate(360deg); } }

.vp-legal h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 34px 0 10px; }
.vp-legal p, .vp-legal li { color: var(--muted); }

@media (max-width: 900px) {
  .vp-grid { grid-template-columns: 1fr; }
  .vp-aside { order: -1; }
}
@media (max-width: 560px) {
  .vp-card { padding: 22px; }
  .vp-row { grid-template-columns: 1fr; }
}

@media print {
  body { background: #fff !important; color: #000; }
  .site-header, footer, .vv-lookup-card, .vv-actions, .no-print { display: none !important; }
  .vp-voucher { background: #fff; color: #000; border: 2px solid #F5A000; box-shadow: none; }
  .vp-voucher::after { display: none; }
  .vp-voucher .meta, .vv-balance .label { color: #444; }
  .vp-card { box-shadow: none; border: 0; background: #fff; }
}
