/* B3 gift vouchers: the shop page (/b3/vouchers/) and the printable voucher (/b3/vouchers/print/). */

/* ---------- the voucher card (shared) ---------- */
.vc { --vc-ink: #121513; --vc-dim: #5E655F; --vc-rule: #D9DDD6; container-type: inline-size; position: relative; display: grid; grid-template-columns: 38% 1fr; aspect-ratio: 1.62; width: 100%; overflow: hidden; border-radius: 18px; background: #FBFBF8; color: var(--vc-ink); box-shadow: 0 30px 70px -30px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.06); font-family: var(--display); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.vc-side { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 7cqw 5.5cqw; background: radial-gradient(120% 90% at 20% 110%, #2A1A10 0%, transparent 55%), #0E1110; color: #E8ECE4; overflow: hidden; }
.vc-logo { width: 46%; height: auto; }
.vc-flight { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.vc-kicker { position: relative; margin: 0; font: 500 2.1cqw/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #FF6A13; }
.vc-kicker b { display: block; margin-top: .7em; font: 800 4.6cqw/1 var(--display); font-stretch: 125%; letter-spacing: -.02em; text-transform: none; color: #F4F5F1; }
.vc-main { display: flex; flex-direction: column; padding: 6cqw 6cqw 5cqw; min-width: 0; }
.vc-label { margin: 0 0 .9cqw; font: 500 1.55cqw/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--vc-dim); }
.vc-to { margin: 0; font: 750 3.4cqw/1.1 var(--display); font-stretch: 112%; letter-spacing: -.01em; overflow-wrap: anywhere; }
.vc-what { margin: 3.2cqw 0 0; font: 800 5.4cqw/.98 var(--display); font-stretch: 125%; letter-spacing: -.035em; text-wrap: balance; }
.vc-what .vc-amount { color: #FF6A13; }
.vc-detail { margin: 1.6cqw 0 0; font: 400 1.75cqw/1.4 var(--display); color: var(--vc-dim); max-width: 46ch; }
.vc-msg { margin: 2.6cqw 0 0; padding-left: 1.6cqw; border-left: .45cqw solid #FF6A13; font: 500 1.9cqw/1.4 var(--display); overflow-wrap: anywhere; }
.vc-msg:empty { display: none; }
.vc-from { margin: 1.2cqw 0 0; font: 600 1.75cqw/1.3 var(--display); }
.vc-from:empty { display: none; }
.vc-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 3cqw; margin-top: auto; padding-top: 2.6cqw; border-top: 1px solid var(--vc-rule); }
.vc-code { margin: 0; font: 500 2.9cqw/1 var(--mono); letter-spacing: .08em; white-space: nowrap; }
.vc-small { margin: .9cqw 0 0; font: 500 1.4cqw/1.35 var(--mono); letter-spacing: .04em; color: var(--vc-dim); text-transform: uppercase; }
.vc-where { text-align: right; }

/* ---------- shop page ---------- */
.vshop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(28px, 4vw, 64px); align-items: start; }
.vshop-preview { position: sticky; top: 96px; display: grid; gap: 14px; }
.vshop-preview .mono { margin: 0; }
.vstep { margin: 0 0 40px; padding: 0; border: 0; min-width: 0; }
.vstep legend { padding: 0; margin: 0 0 18px; }
.vstep legend .h3 { display: block; margin-top: 6px; }
.vgroup { margin: 0 0 26px; }
.vgroup h3 { margin: 0 0 4px; font: 700 1.05rem/1.2 var(--display); font-stretch: 110%; }
.vgroup > p { margin: 0 0 12px; color: var(--ink-2); font-size: .95rem; }
.vopts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.vopt { position: relative; display: grid; gap: 6px; padding: 16px 18px; border-radius: 16px; background: var(--graphite-2); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .15s ease, background .15s ease; }
.vopt:hover { box-shadow: inset 0 0 0 1px rgba(255,106,19,.6); }
.vopt input { position: absolute; opacity: 0; pointer-events: none; }
.vopt:has(input:checked) { background: var(--graphite-3); box-shadow: inset 0 0 0 2px var(--lime); }
.vopt:has(input:focus-visible) { outline: 3px solid var(--lime); outline-offset: 3px; }
.vopt:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.vopt-name { font: 650 1rem/1.25 var(--display); }
.vopt-price { font: 500 .95rem/1 var(--mono); color: var(--lime); }
.vopt .tbc { font-size: .78rem; }
.vamount { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.vamount button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--graphite-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font: 500 .95rem/1 var(--mono); cursor: pointer; }
.vamount button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--lime); color: var(--lime); }
.vamount label { display: inline-flex; align-items: center; gap: 6px; font: 500 .95rem/1 var(--mono); }
.vamount input { width: 110px; }
.vfield { display: grid; gap: 6px; margin: 0 0 16px; }
.vfield label { font: 600 .95rem/1.2 var(--display); }
.vfield small { color: var(--ink-2); font-size: .85rem; }
.vfield input, .vfield textarea, .vamount input { min-height: 48px; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--graphite-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font: 400 1rem/1.4 var(--display); }
.vfield textarea { min-height: 96px; resize: vertical; }
.vfield input:focus, .vfield textarea:focus, .vamount input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--lime); }
.vrow { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.vpay { display: grid; gap: 12px; padding: 22px; border-radius: 18px; background: var(--graphite-2); box-shadow: inset 0 0 0 1px var(--line); }
.vpay-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font: 700 1.3rem/1 var(--display); }
.vpay-total span:last-child { font-family: var(--mono); color: var(--lime); }
.vpay .btn { width: 100%; }
.vpay p { margin: 0; color: var(--ink-2); font-size: .9rem; }
.vpay .verr { color: #FF8A5B; }
.vfaq { margin-top: 56px; }
@media (max-width: 960px) {
  .vshop { grid-template-columns: 1fr; }
  .vshop-preview { position: static; order: -1; }
}
@media (max-width: 520px) { .vrow { grid-template-columns: 1fr; } }

/* ---------- printable voucher page ---------- */
.vprint-body { margin: 0; min-height: 100vh; background: #0E1110; color: #E8ECE4; font: 400 16px/1.5 var(--display); }
.vprint-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; max-width: 900px; margin: 0 auto; padding: calc(18px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px)); }
.vprint-bar img { width: 64px; }
.vprint-sheet { max-width: 900px; margin: 0 auto 60px; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
.vprint-cut { position: relative; padding: 18px; border: 1.5px dashed rgba(232,236,228,.35); border-radius: 26px; }
.vprint-cut::before { content: "✂"; position: absolute; top: -13px; left: 26px; padding: 0 6px; background: #0E1110; color: rgba(232,236,228,.6); font-size: 16px; line-height: 1; }
.vprint-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 34px 0 0; padding: 0; list-style: none; counter-reset: s; }
.vprint-how li { counter-increment: s; padding: 18px; border-radius: 16px; background: #161A18; box-shadow: inset 0 0 0 1px rgba(232,236,228,.12); }
.vprint-how li::before { content: "0" counter(s); display: block; margin-bottom: 8px; font: 500 .8rem/1 var(--mono); letter-spacing: .1em; color: #FF6A13; }
.vprint-how b { display: block; margin-bottom: 4px; }
.vprint-terms { margin: 22px 0 0; color: #A9B0A8; font-size: .82rem; line-height: 1.5; }
.vprint-msg { max-width: 900px; margin: 40px auto; padding: 0 16px; text-align: center; }
@media (max-width: 640px) { .vprint-how { grid-template-columns: 1fr; } }
@page { size: A4 portrait; margin: 12mm; }
@media print {
  :root { color-scheme: light; }
  html, .vprint-body { background: #fff !important; color: #121513; min-height: 0; }
  .vprint-bar { display: none; }
  .vprint-sheet { max-width: none; margin: 0; padding: 0; }
  .vprint-cut { border-color: #B8BDB5; }
  .vprint-cut::before { background: #fff; color: #8A918A; }
  .vc { box-shadow: none; border: 1px solid #D9DDD6; }
  .vprint-how li { background: #fff; box-shadow: inset 0 0 0 1px #D9DDD6; break-inside: avoid; }
  .vprint-terms { color: #5E655F; }
}
.vdone { display: grid; gap: 18px; padding: clamp(28px, 6vw, 72px) 0; max-width: 680px; }
.vdone .h2, .vdone p { margin: 0; }
