/* Gift voucher page: 3. the form (tour flow, amount flow, the result) and 4. the live preview sheet.
   Mobile first, rungs 600 / 900 / 1200. Steps collapse only once the script has run (.gv-js). */

.gv-form-band { scroll-margin-top: var(--gv-header-h); }
.gv-form__grid { display: grid; gap: 28px; }
.gv-form__main { min-width: 0; }

/* Only the chosen path shows (the script sets .gv-path-tour / .gv-path-amount on the page); without JS
   both flows stay visible and the step copy reads the voucher path */
.gv-js.gv-path-tour .gv-only-amount, .gv-js.gv-path-amount .gv-only-tour,
.gv-js.gv-path-tour #gvAmountFlow, .gv-js.gv-path-amount #gvTourFlow { display: none; }
.gv-page:not(.gv-js) .gv-only-tour { display: none; }
.gv-page:not(.gv-js) .gv-switch, .gv-page:not(.gv-js) .gv-nav, .gv-page:not(.gv-js) .gv-progress { display: none; }

/* Path switch inside the form */
.gv-switch {
  display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 22px; padding: 4px;
  background: var(--gv-paper); border: 1px solid var(--gv-line); border-radius: var(--gv-radius);
}
.gv-switch__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border: 0; border-radius: 3px; background: transparent; cursor: pointer;
  font: 700 13px/1.2 'Roboto', sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--gv-muted);
  transition: background-color .18s ease, color .18s ease;
}
.gv-switch__btn[aria-pressed="true"] { background: #fff; color: var(--gv-ink); box-shadow: 0 1px 4px rgba(17, 18, 20, .12); }
.gv-switch__btn:focus-visible { outline: 2px solid var(--gv-orange); outline-offset: 2px; }

/* Progress line */
.gv-progress {
  display: flex; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; counter-reset: gvstep;
}
.gv-progress li {
  flex: 1; min-width: 0; padding-top: 10px; border-top: 3px solid var(--gv-line);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gv-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; counter-increment: gvstep;
}
.gv-progress li::before { content: counter(gvstep) '  '; }
.gv-progress li.is-done { border-top-color: var(--gv-ink); color: var(--gv-ink); }
.gv-progress li.is-current { border-top-color: var(--gv-orange); color: var(--gv-ink); }

/* Steps */
.gv-step { margin: 0 0 28px; padding: 0; border: 0; min-width: 0; }
.gv-js .gv-step { display: none; margin-bottom: 0; }
.gv-js .gv-step.is-current { display: block; animation: gvStepIn .25s ease; }
@keyframes gvStepIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.gv-legend { padding: 0; margin: 0 0 14px; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--gv-ink); }

.gv-field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.gv-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--gv-ink); }
.gv-req { color: var(--gv-orange-text); }
.gv-input {
  display: block; width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--gv-line-strong); border-radius: var(--gv-radius); background: #fff;
  font: 400 16px/1.4 'Roboto', sans-serif; color: var(--gv-ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.gv-input:focus { outline: none; border-color: var(--gv-ink); box-shadow: 0 0 0 3px rgba(255, 106, 0, .25); }
.gv-input[aria-invalid="true"] { border-color: #b3261e; }
.gv-textarea { min-height: 96px; resize: vertical; }
.gv-input--num { max-width: 220px; }
.gv-help { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--gv-muted); }
.gv-help--lead { margin: -4px 0 16px; font-size: 14px; }
.gv-count { float: right; font-variant-numeric: tabular-nums; }
.gv-error { margin: 6px 0 0; font-size: 13px; font-weight: 600; line-height: 1.4; color: #b3261e; }
.gv-error--summary { margin: 0 0 12px; }
.gv-note { margin: 14px 0 0; font-size: 13px; line-height: 1.6; color: var(--gv-muted); max-width: 60ch; }
.gv-status { margin: 8px 0 0; font-size: 14px; color: var(--gv-muted); min-height: 1px; }
.gv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gv-grid2 { display: grid; gap: 0 16px; }

/* Segmented control (voucher language) */
.gv-seg__row { display: flex; flex-wrap: wrap; gap: 8px; }
.gv-seg__opt { position: relative; cursor: pointer; }
.gv-seg__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.gv-seg__opt span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  border: 1px solid var(--gv-line-strong); border-radius: var(--gv-radius); background: #fff;
  font-size: 14px; font-weight: 600; color: var(--gv-ink); transition: border-color .15s ease, background-color .15s ease;
}
.gv-seg__opt input:checked + span { border-color: var(--gv-ink); background: var(--gv-milk-flat); }
.gv-seg__opt input:focus-visible + span { outline: 2px solid var(--gv-orange); outline-offset: 2px; }

/* Checkbox line */
.gv-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 15px; font-weight: 600; line-height: 1.45; }
.gv-check input { flex: 0 0 auto; width: 22px; height: 22px; margin: 0; accent-color: var(--gv-ink); }

/* Nav under a step */
.gv-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.gv-nav .gv-btn { flex: 1 1 auto; }
.gv-nav--final .gv-btn--primary { flex: 2 1 auto; }

/* Tour search */
.gv-search { position: relative; }
.gv-search__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gv-muted); pointer-events: none; }
.gv-search__input { padding-left: 42px; }
.gv-results {
  margin: 10px 0 0; padding: 0; list-style: none;
  border: 1px solid var(--gv-line); border-radius: var(--gv-radius); background: #fff; overflow: hidden;
}
.gv-result-row {
  display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center;
  padding: 10px 12px; cursor: pointer; border-top: 1px solid var(--gv-line);
}
.gv-result-row:first-child { border-top: 0; }
.gv-result-row:hover, .gv-result-row.is-focus { background: var(--gv-paper); }
.gv-result-row img { width: 64px; height: 48px; object-fit: cover; border-radius: 2px; background: var(--gv-milk-flat); }
.gv-result-row__title { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; }
.gv-result-row__meta { display: block; margin-top: 2px; font-size: 13px; color: var(--gv-muted); }

.gv-picked {
  display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; margin-top: 12px;
  padding: 12px; background: var(--gv-paper); border: 1px solid var(--gv-ink); border-radius: var(--gv-radius);
}
.gv-picked[hidden] { display: none; }
.gv-picked__img { width: 96px; height: 72px; object-fit: cover; border-radius: 2px; background: var(--gv-milk-flat); }
.gv-picked__title { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; }
.gv-picked__meta { display: block; margin-top: 4px; font-size: 13px; color: var(--gv-muted); }
.gv-picked .gv-textbtn { grid-column: 1 / -1; justify-self: start; }

/* Dates */
.gv-dates { display: grid; gap: 8px; }
.gv-date { position: relative; display: block; cursor: pointer; }
.gv-date input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.gv-date__box {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 16px;
  border: 1px solid var(--gv-line-strong); border-radius: var(--gv-radius); background: #fff;
  font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; transition: border-color .15s ease;
}
.gv-date input:checked + .gv-date__box { border-color: var(--gv-ink); box-shadow: inset 3px 0 0 var(--gv-orange); }
.gv-date input:focus-visible + .gv-date__box { outline: 2px solid var(--gv-orange); outline-offset: 2px; }
.gv-date input:disabled + .gv-date__box { opacity: .45; cursor: not-allowed; }
.gv-date__tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--gv-good); white-space: nowrap; }
.gv-date__tag--off { color: var(--gv-muted); }

/* Amount tiles */
.gv-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gv-tile { position: relative; cursor: pointer; }
.gv-tile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.gv-tile__box {
  position: relative; display: flex; align-items: center; justify-content: center; min-height: 76px; padding: 18px 10px 14px;
  border: 1px solid var(--gv-line-strong); border-radius: var(--gv-radius); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.gv-tile:hover .gv-tile__box { border-color: var(--gv-ink); }
.gv-tile input:checked + .gv-tile__box { border: 2px solid var(--gv-ink); box-shadow: inset 0 3px 0 var(--gv-orange); padding: 17px 9px 13px; }
.gv-tile input:focus-visible + .gv-tile__box { outline: 2px solid var(--gv-orange); outline-offset: 2px; }
.gv-tile__value { font-size: 22px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.gv-tile__value--small { font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.gv-tile--other { grid-column: 1 / -1; }
.gv-tile--other .gv-tile__box { min-height: 52px; }
.gv-chip {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 2px 8px; border-radius: 2px;
  background: var(--gv-milk-flat); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gv-ink);
}
.gv-other { margin-top: 14px; }
.gv-tile__box { flex-direction: column; gap: 4px; }
.gv-tile__bonus { font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--gv-orange-text); }
.gv-tile input:checked + .gv-tile__box .gv-tile__bonus { color: var(--gv-ink); }
.gv-bonusbox {
  margin-top: 18px; padding: 18px 20px; border-left: 4px solid var(--gv-orange); border-radius: var(--gv-radius);
  background: var(--gv-milk-flat); color: var(--gv-ink);
}
.gv-bonusbox p { margin: 0; }
.gv-bonusbox__h {
  display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.gv-bonusbox__h .bi { font-size: 18px; color: var(--gv-orange-text); }
.gv-bonusbox__lede { margin-top: 8px !important; font-size: 15px; line-height: 1.55; }
.gv-bonusbox__tiers { font-weight: 800; white-space: normal; }
.gv-bonusbox__status {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 12px !important; min-height: 26px;
  font-size: 19px; font-weight: 800; line-height: 1.35;
}
.gv-bonusbox__status:has(#gvBonusText:empty) { display: none; }
.gv-bonusbox__ok { display: none; margin-top: 2px; font-size: 22px; color: var(--gv-good); }
.gv-bonusbox.is-earned .gv-bonusbox__ok { display: inline-block; }
.gv-bonusbox.is-earned .gv-bonusbox__status { color: var(--gv-good); }
.gv-bonusbox__note { margin-top: 10px !important; font-size: 13px; line-height: 1.55; color: var(--gv-text); }

/* Step 1: the occasion */
.gv-occ { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.gv-occ__btn {
  --gv-acc: var(--gv-orange);
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 104px; padding: 16px;
  border: 1px solid var(--gv-line-strong); border-radius: var(--gv-radius); background: #fff; color: var(--gv-ink);
  font: inherit; text-align: left; cursor: pointer; touch-action: manipulation;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.gv-occ__btn .bi { font-size: 22px; color: var(--gv-acc); }
.gv-occ__btn:hover { border-color: var(--gv-ink); }
.gv-occ__btn[aria-pressed="true"] { border: 2px solid var(--gv-ink); box-shadow: inset 0 3px 0 var(--gv-acc); padding: 15px; }
.gv-occ__btn:focus-visible { outline: 2px solid var(--gv-orange); outline-offset: 2px; }
.gv-occ__name { font-size: 15px; font-weight: 700; }
.gv-occ__line {
  font-family: 'Jost', 'Roboto', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .04em; line-height: 1.25;
  text-transform: uppercase; color: var(--gv-text);
}

.gv-result__bonus { margin-top: 10px; }

/* Result: the transfer details */
.gv-result { padding: 22px; border: 1px solid var(--gv-ink); border-radius: var(--gv-radius); background: var(--gv-paper); }
.gv-result:focus { outline: none; }
.gv-result__h { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 22px; font-weight: 800; line-height: 1.2; }
.gv-result__h .bi { color: var(--gv-good); font-size: 26px; }
.gv-result__lede { margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: var(--gv-text); }
.gv-result__ref { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.gv-result__code {
  padding: 10px 14px; background: var(--gv-milk-flat); border-radius: 2px;
  font-size: 22px; font-weight: 800; letter-spacing: .06em; font-variant-numeric: tabular-nums;
}
.gv-result__bank { display: grid; gap: 8px; margin: 0 0 18px; }
.gv-result__bank div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: baseline; padding-top: 8px; border-top: 1px solid var(--gv-line); }
.gv-result__bank dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gv-muted); }
.gv-result__bank dd { margin: 0; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; word-break: break-word; }
.gv-result__next { display: flex; gap: 10px; margin: 0; font-size: 14px; line-height: 1.6; color: var(--gv-text); }
.gv-result__next .bi { margin-top: 2px; color: var(--gv-orange); }
.gv-copy {
  min-height: 36px; padding: 6px 12px; border: 1px solid var(--gv-line-strong); border-radius: var(--gv-radius); background: #fff;
  font: 700 12px/1 'Roboto', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--gv-ink); cursor: pointer;
}
.gv-copy:hover { border-color: var(--gv-ink); }
.gv-copy.is-done { border-color: var(--gv-good); color: var(--gv-good); }

/* ---- 4. Preview ------------------------------------------------------------------------------- */

.gv-preview { position: relative; }
.gv-preview__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.gv-preview__toggle { font-size: 13px; }
/* Phone: a short strip of the sheet until it is opened */
.gv-preview__sheet { max-height: 132px; overflow: hidden; border-radius: var(--gv-radius); transition: max-height .35s ease; position: relative; }
.gv-preview__sheet::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff); pointer-events: none;
}
.gv-preview.is-open .gv-preview__sheet { max-height: 900px; }
.gv-preview.is-open .gv-preview__sheet::after { display: none; }

/* The sheet: the PDF ticket (gift_voucher/pdf.blade.php) in HTML on the same grid. --mm is one PDF
   millimetre of the sheet's 297 mm width, so the numbers below are the PDF's. */
@font-face { font-family: 'Jost'; font-weight: 800; font-display: swap; src: url('/fonts/oc/Jost-ExtraBold.ttf') format('truetype'); }
@font-face { font-family: 'Jost'; font-weight: 700; font-display: swap; src: url('/fonts/oc/Jost-Bold.ttf') format('truetype'); }
.gv-sheet {
  --mm: calc(100cqw / 297);
  container-type: inline-size; position: relative; aspect-ratio: 297 / 210; width: 100%;
  background: #fff; color: var(--gv-ink); font-family: 'Roboto', sans-serif; border-radius: 2px; overflow: hidden;
}
.gv-sheet * { box-sizing: border-box; }
.gv-sheet { --gv-acc: var(--gv-orange); }
.gv-sheet[data-occasion="christmas"] { --gv-acc: #1f5d3a; }
.gv-sheet[data-occasion="easter"] { --gv-acc: #C08A1E; }
.gv-tk { position: absolute; left: calc(var(--mm) * 12); top: calc(var(--mm) * 14); width: calc(var(--mm) * 273); height: calc(var(--mm) * 182); background: #F5EFE6; }
.gv-tk__photo { position: absolute; top: 0; height: calc(var(--mm) * 94); overflow: hidden; background: #d9d1c4; }
.gv-tk__photo picture { display: block; width: 100%; height: 100%; }
.gv-tk__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gv-tk__photo--1 { left: 0; width: calc(var(--mm) * 96.4); }
.gv-tk__photo--1 .gv-tk__img { object-position: 50% 72%; }
.gv-tk__photo--2 { left: calc(var(--mm) * 97.6); width: calc(var(--mm) * 96.4); }
.gv-tk__photo--2 .gv-tk__img { object-position: 50% 62%; }
.gv-tk__photo--3 { left: calc(var(--mm) * 194); width: calc(var(--mm) * 79); }
.gv-tk__photo--3 .gv-tk__img { object-position: 62% 55%; }
.gv-tk__scrim {
  position: absolute; left: 0; top: calc(var(--mm) * 50); width: calc(var(--mm) * 194); height: calc(var(--mm) * 44);
  background: linear-gradient(to bottom, rgba(17,18,20,0), rgba(17,18,20,.5));
}
.gv-tk__logo { position: absolute; left: calc(var(--mm) * 12); top: calc(var(--mm) * 10); height: calc(var(--mm) * 10.5); width: auto; }
.gv-tk__no {
  position: absolute; right: calc(var(--mm) * 10); top: calc(var(--mm) * 12); color: #fff;
  font-size: calc(var(--mm) * 2.8); font-weight: 500; letter-spacing: .25em; line-height: 1;
}
.gv-tk__kicker {
  position: absolute; left: calc(var(--mm) * 12); top: calc(var(--mm) * 25); display: flex; align-items: center;
  gap: calc(var(--mm) * 3.5); color: #fff; font-size: calc(var(--mm) * 3.5); line-height: 1; letter-spacing: .3em;
  text-transform: uppercase; white-space: nowrap;
}
.gv-tk__kicker span { display: block; width: calc(var(--mm) * 9); height: calc(var(--mm) * .8); background: var(--gv-acc); }
.gv-tk__kicker b { font-weight: 500; }
.gv-tk__title {
  position: absolute; left: calc(var(--mm) * 11); bottom: calc(var(--mm) * 96); color: #fff; white-space: nowrap;
  font-family: 'Jost', 'Roboto', sans-serif; font-weight: 800; font-size: calc(var(--mm) * var(--gv-title, 19));
  line-height: .9; letter-spacing: .02em; text-transform: uppercase;
}
.gv-sheet[data-sub] .gv-tk__title { bottom: calc(var(--mm) * 105); }
.gv-sheet[data-sub] .gv-tk__scrim { top: calc(var(--mm) * 40); height: calc(var(--mm) * 54); }
.gv-tk__sub {
  position: absolute; left: calc(var(--mm) * 12); top: calc(var(--mm) * 80); color: #fff; white-space: nowrap;
  font-size: calc(var(--mm) * 5.3); font-weight: 500; line-height: 1;
}
.gv-tk__sub[hidden] { display: none; }
.gv-tk__seal {
  position: absolute; left: calc(var(--mm) * 153); top: calc(var(--mm) * 8); width: calc(var(--mm) * 32); height: calc(var(--mm) * 32);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--mm) * 1.6);
  border-radius: 50%; background: var(--gv-acc); color: #fff; text-align: center;
  box-shadow: inset 0 0 0 calc(var(--mm) * 1.9) var(--gv-acc), inset 0 0 0 calc(var(--mm) * 2.25) rgba(255, 255, 255, .7);
}
.gv-tk__seal span { max-width: 80%; font-size: calc(var(--mm) * 2.3); font-weight: 700; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; }
.gv-tk__seal b { font-family: 'Jost', 'Roboto', sans-serif; font-weight: 800; font-size: calc(var(--mm) * 6); line-height: 1; }
.gv-sheet[data-occasion="gift"] .gv-tk__seal { display: none; }
.gv-tk__print {
  position: absolute; left: calc(var(--mm) * 12); right: calc(var(--mm) * 12); top: calc(var(--mm) * 200.5); text-align: center;
  font-size: calc(var(--mm) * 2.6); letter-spacing: .2em; line-height: 1; text-transform: uppercase; color: #a39888; white-space: nowrap;
}
.gv-tk__perf { position: absolute; left: calc(var(--mm) * 194); top: calc(var(--mm) * 6); bottom: calc(var(--mm) * 6); border-left: calc(var(--mm) * .45) dashed #b3a796; }
.gv-tk__perf::before { content: ''; position: absolute; left: calc(var(--mm) * -.45); top: 0; height: calc(var(--mm) * 88); border-left: calc(var(--mm) * .45) dashed #FAF7F2; }
.gv-tk__notch { position: absolute; left: calc(var(--mm) * 188.5); width: calc(var(--mm) * 11); height: calc(var(--mm) * 11); border-radius: 50%; background: #fff; }
.gv-tk__notch--top { top: calc(var(--mm) * -5.5); }
.gv-tk__notch--bottom { bottom: calc(var(--mm) * -5.5); }
.gv-tk__main { position: absolute; left: calc(var(--mm) * 12); top: calc(var(--mm) * 103); width: calc(var(--mm) * 172); bottom: calc(var(--mm) * 5); }
.gv-tk__tour {
  font-family: 'Jost', 'Roboto', sans-serif; font-weight: 700; font-size: calc(var(--mm) * 7.4); line-height: 1.05;
  margin-bottom: calc(var(--mm) * 4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gv-tk__row { display: flex; gap: calc(var(--mm) * 6); }
.gv-tk__field--name { flex: 0 0 calc(var(--mm) * 100); padding-right: calc(var(--mm) * 4); border-right: calc(var(--mm) * .3) solid #d3c8b8; min-width: 0; }
.gv-tk__lbl { font-size: calc(var(--mm) * 2.6); font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: #7a7064; line-height: 1; white-space: nowrap; }
.gv-tk__val { margin-top: calc(var(--mm) * 2); font-size: calc(var(--mm) * 7.2); font-weight: 700; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gv-sheet[data-kind="tour"] .gv-tk__val { font-size: calc(var(--mm) * 5.6); }
.gv-tk__amount { margin-top: calc(var(--mm) * 1.4); font-family: 'Jost', 'Roboto', sans-serif; font-weight: 800; font-size: calc(var(--mm) * 11); line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gv-tk__rule { position: relative; height: calc(var(--mm) * .3); background: #d3c8b8; margin: calc(var(--mm) * 5) calc(var(--mm) * 2) calc(var(--mm) * 5) 0; }
.gv-tk__rule span { position: absolute; left: 0; top: calc(var(--mm) * -.4); width: calc(var(--mm) * 14); height: calc(var(--mm) * 1.1); background: var(--gv-acc); }
.gv-tk__greet {
  font-size: calc(var(--mm) * 4.4); font-style: italic; line-height: 1.35; color: #2a2724; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gv-tk__from { margin-top: calc(var(--mm) * 2.6); font-size: calc(var(--mm) * 3.7); color: #5b544b; line-height: 1.2; }
.gv-tk__from b { color: var(--gv-ink); font-weight: 700; }
.gv-tk__redeem { position: absolute; left: 0; right: calc(var(--mm) * 6); bottom: calc(var(--mm) * 10); font-size: calc(var(--mm) * 2.8); line-height: 1.4; color: #6a6157; }
.gv-tk__footer { position: absolute; left: 0; bottom: calc(var(--mm) * 3.5); font-size: calc(var(--mm) * 2.5); letter-spacing: .15em; color: #8a8073; white-space: nowrap; line-height: 1; }
.gv-tk__stub { position: absolute; left: calc(var(--mm) * 204); top: calc(var(--mm) * 103); width: calc(var(--mm) * 59); bottom: calc(var(--mm) * 8); }
.gv-tk__code { border: calc(var(--mm) * .5) solid var(--gv-ink); padding: calc(var(--mm) * 3.4) 0 calc(var(--mm) * 3.6); text-align: center; margin-bottom: calc(var(--mm) * 5); }
.gv-tk__codeval { margin-top: calc(var(--mm) * 2.4); font-size: calc(var(--mm) * 5.6); font-weight: 700; letter-spacing: .05em; white-space: nowrap; line-height: 1; }
.gv-tk__sf { margin-bottom: calc(var(--mm) * 3.4); }
.gv-tk__sf .gv-tk__val { margin-top: calc(var(--mm) * .8); font-size: calc(var(--mm) * 3.7); }
.gv-tk__form { margin-bottom: calc(var(--mm) * 6); }
.gv-tk__formlbl { font-size: calc(var(--mm) * 3); font-weight: 500; line-height: 1.35; margin-bottom: calc(var(--mm) * 2); }
.gv-tk__link { border: calc(var(--mm) * .5) solid var(--gv-ink); padding: calc(var(--mm) * 2.6) calc(var(--mm) * 2.8); font-size: calc(var(--mm) * 3.3); font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.gv-tk__barcode {
  position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--mm) * 8);
  background: repeating-linear-gradient(90deg, #111214 0 1px, transparent 1px 3px, #111214 3px 5px, transparent 5px 6px, #111214 6px 6.6px, transparent 6.6px 8.4px);
}
.gv-sheet[data-kind="amount"] .gv-sheet__for-tour,
.gv-sheet[data-kind="tour"] .gv-sheet__for-amount { display: none; }
.gv-tk__greet[hidden] { display: none; }

/* ---- 600 ---------------------------------------------------------------------------------------- */
@media (min-width: 600px) {
  .gv-grid2 { grid-template-columns: 1fr 1fr; }
  .gv-tiles { grid-template-columns: repeat(4, 1fr); }
  .gv-nav .gv-btn { flex: 0 0 auto; }
  .gv-result { padding: 28px; }
}

/* ---- 900: the preview moves beside the form and stays in view ----------------------------------- */
@media (min-width: 900px) {
  .gv-form__grid { grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
  .gv-form__aside { position: sticky; top: calc(var(--gv-header-h) + 24px); }
  .gv-preview__toggle { display: none; }
  .gv-preview__sheet { max-height: none; }
  .gv-preview__sheet::after { display: none; }
  .gv-js .gv-step.is-current { min-height: 360px; }
}

/* ---- 1200 --------------------------------------------------------------------------------------- */
@media (min-width: 1200px) {
  .gv-form__grid { gap: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .gv-js .gv-step.is-current { animation: none; }
  .gv-preview__sheet, .gv-input, .gv-tile__box, .gv-switch__btn { transition: none; }
}

/* Ready-made greetings under the message field */
.gv-greets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.gv-greets[hidden] { display: none; }
.gv-greets__label { width: 100%; font-size: 13px; color: var(--gv-muted); }
.gv-greet {
  padding: 7px 12px; border: 1px solid var(--gv-line); border-radius: 999px; background: #fff; cursor: pointer;
  font: 400 13px/1.4 'Roboto', sans-serif; color: var(--gv-ink); text-align: left;
}
.gv-greet:hover { border-color: var(--gv-ink); }
.gv-greet:focus-visible { outline: 2px solid var(--gv-orange); outline-offset: 2px; }
.gv-greet.is-on { border-color: var(--gv-ink); box-shadow: inset 0 -2px 0 var(--gv-orange); }
