/* Gift vouchers: configurator (block cj/poukaz) and the public voucher page. Uses tokens of the cj theme. */
.cj-pk [hidden] { display: none !important; }
.cj-pk .cj-pk__form { max-width: 880px; gap: 48px; } /* more air between steps 1 to 5 (annotation 335) */
.cj-pk__step { display: grid; gap: 14px; }
.cj-pk__step legend { display: flex; align-items: center; gap: 10px; font-size: var(--cj-fs-lg); font-weight: 800; color: var(--cj-navy-deep); margin-bottom: 16px; } /* annotation 334 */
.cj-pk__num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cj-navy); color: #fff; font-size: 15px; font-weight: 800; flex: 0 0 auto; }

.cj-pk__variants { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.cj-pk__variant { position: relative; display: grid !important; grid-template-columns: 1fr auto; gap: 4px 12px; align-content: start; padding: 16px 18px !important; margin: 0 !important; background: #fff; border: 2px solid var(--cj-grey-blue); border-radius: var(--cj-r-md); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; font-weight: 500 !important; }
.cj-pk__variant input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cj-pk__variant:hover { border-color: var(--cj-azure); }
.cj-pk__variant:has(input:checked) { border-color: var(--cj-navy); background: var(--cj-pale-20); box-shadow: 0 6px 18px rgba(0, 43, 88, .1); }
.cj-pk__variant:has(input:focus-visible) { outline: 3px solid var(--cj-azure); outline-offset: 2px; }
.cj-pk__vname { font-weight: 800; color: var(--cj-ink); line-height: 1.3; }
.cj-pk__vprice { font-weight: 800; color: var(--cj-navy); white-space: nowrap; }
.cj-pk__vdesc { grid-column: 1 / -1; font-size: var(--cj-fs-sm); color: var(--cj-muted); line-height: 1.45; }

.cj-pk__amount-in, .cj-pk__code-in { display: flex; gap: 10px; align-items: center; max-width: 360px; }
.cj-pk__amount-in input { max-width: 200px; font-size: var(--cj-fs-lg); font-weight: 700; }
.cj-pk__amount-in span { font-weight: 700; color: var(--cj-muted); }
.cj-pk__code-in input { text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.cj-pk__code-in .cj-btn { flex: 0 0 auto; min-height: 48px; }
.cj-pk__code-msg { margin: 6px 0 0; font-weight: 700; font-size: var(--cj-fs-sm); min-height: 1.2em; }
.cj-pk__code-msg.is-ok { color: var(--cj-success); }
.cj-pk__code-msg.is-err { color: #A61B1B; }
.cj-pk__vip { padding: 14px 16px; background: var(--cj-pale-20); border-radius: var(--cj-r-sm); }
.cj-pk__plus { color: var(--cj-navy); font-weight: 800; white-space: nowrap; }
.cj-pk__dnote { background: #FFF6E5; color: #7A4B00; padding: 10px 14px; border-radius: var(--cj-r-sm); font-size: var(--cj-fs-sm); }

.cj-pk__motifs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 150px), 1fr)); }
.cj-pk__motif { position: relative; display: grid !important; gap: 8px; margin: 0 !important; cursor: pointer; font-weight: 700 !important; text-align: center; }
.cj-pk__motif input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cj-pk__mimg { display: block; aspect-ratio: 4 / 5; border-radius: var(--cj-r-md); overflow: hidden; background: var(--cj-grey-blue-20); border: 3px solid transparent; transition: border-color .15s, transform .15s; }
.cj-pk__mimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cj-pk__motif:hover .cj-pk__mimg { transform: translateY(-2px); }
.cj-pk__motif:has(input:checked) .cj-pk__mimg { border-color: var(--cj-navy); }
.cj-pk__motif:has(input:focus-visible) .cj-pk__mimg { outline: 3px solid var(--cj-azure); outline-offset: 2px; }
.cj-pk__mname { color: var(--cj-ink); font-size: var(--cj-fs-sm); }
.cj-pk__motif:has(input:checked) .cj-pk__mname { color: var(--cj-navy); }

.cj-pk__sum { background: var(--cj-navy-deep); color: #fff; border-radius: var(--cj-r-md); padding: 20px 22px; display: grid; gap: 8px; }
.cj-pk__row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.cj-pk__row span { color: rgba(255, 255, 255, .8); }
.cj-pk__row strong, .cj-pk__sum strong { color: #fff; text-align: right; }
.cj-pk__total { border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 10px; margin-top: 4px; font-size: var(--cj-fs-lg); }
.cj-pk__total strong { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.cj-pk__sum .cj-form__hint { color: rgba(255, 255, 255, .75); margin-top: 4px; }

/* Public voucher page and terms */
.cj-pkpage { padding: clamp(32px, 6vw, 72px) var(--cj-gutter) var(--cj-section); background: linear-gradient(180deg, var(--cj-pale-20) 0%, #fff 420px); }
.cj-pkpage__inner { max-width: 960px; margin: 0 auto; }
.cj-pkpage__title { font-size: var(--cj-fs-h1); color: var(--cj-navy-deep); line-height: 1.15; margin: 6px 0 12px; }
.cj-pkpage__lead { font-size: var(--cj-fs-lg); color: var(--cj-text); max-width: 720px; margin: 0 0 28px; }
.cj-pkpage__grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
.cj-pkpage__card { background: #fff; border-radius: var(--cj-r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: 0 20px 50px rgba(0, 43, 88, .1); }
.cj-pkpage__card h2 { font-size: var(--cj-fs-h3); color: var(--cj-navy-deep); margin: 0 0 14px; }
.cj-pkpage__card--sum { background: var(--cj-pale-20); box-shadow: none; }
.cj-pkpage__dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
.cj-pkpage__dl dt { color: var(--cj-muted); }
.cj-pkpage__dl dd { margin: 0; font-weight: 700; color: var(--cj-ink); overflow-wrap: anywhere; }
.cj-pkpage__qrlabel { margin: 18px 0 8px; color: var(--cj-muted); }
.cj-pkpage__qr { display: block; width: 180px; height: 180px; border-radius: 12px; }
.cj-pkpage__code { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; letter-spacing: .06em; color: var(--cj-navy); margin: 0 0 18px; }
.cj-pkpage__help { margin-top: 28px; color: var(--cj-muted); }
.cj-pkpage__terms { max-width: var(--cj-text-w); }
.cj-pkpage__terms h2 { font-size: var(--cj-fs-h3); color: var(--cj-navy-deep); margin: 28px 0 8px; }
.cj-pkpage__terms p { margin: 0 0 12px; line-height: 1.65; }

/* "Kdy ho poslat": text field like the others (same height) + own calendar popup. */
.cj-pk-date { position: relative; }
.cj-form .cj-pk-date input[data-pk-date] { cursor: pointer; padding-right: 44px; caret-color: transparent;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23004F9F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") right 14px center / 20px no-repeat; }
.cj-form .cj-pk-date input[data-pk-date]::placeholder { color: var(--cj-muted); opacity: 1; }
.cj-pk-cal { position: absolute; z-index: 70; /* above the floating callback button (60) */ top: calc(100% + 8px); left: 0; width: 300px; max-width: calc(100vw - 32px); background: #fff; border-radius: var(--cj-r-md); box-shadow: 0 20px 50px rgba(0, 43, 88, .18); padding: 14px; }
.cj-pk-cal__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.cj-pk-cal__head strong { color: var(--cj-navy-deep); font-size: var(--cj-fs-md, 1rem); font-weight: 800; }
.cj-pk-cal__nav { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--cj-pale-20); color: var(--cj-navy); font-size: 22px; line-height: 1; cursor: pointer; }
.cj-pk-cal__nav:hover:not(:disabled) { background: var(--cj-navy); color: #fff; }
.cj-pk-cal__nav:disabled { opacity: .35; cursor: default; }
.cj-pk-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cj-pk-cal__dow { text-align: center; font-size: 12px; font-weight: 700; color: var(--cj-muted); padding: 4px 0 6px; }
.cj-pk-cal__day { aspect-ratio: 1; border: 0; border-radius: 10px; background: none; color: var(--cj-ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.cj-pk-cal__day:hover:not(:disabled) { background: var(--cj-pale-20); color: var(--cj-navy); }
.cj-pk-cal__day.is-today { color: var(--cj-azure); }
.cj-pk-cal__day.is-selected, .cj-pk-cal__day.is-selected:hover { background: var(--cj-navy); color: #fff; }
.cj-pk-cal__day:disabled { color: #C2CAD6; cursor: default; }
.cj-pk-cal__day:focus-visible, .cj-pk-cal__nav:focus-visible, .cj-pk-cal__now:focus-visible { outline: 3px solid var(--cj-azure); outline-offset: 1px; }
.cj-pk-cal__foot { border-top: 1px solid var(--cj-pale-20); margin-top: 8px; padding-top: 10px; }
.cj-pk-cal__now { border: 0; background: none; color: var(--cj-navy); font: inherit; font-weight: 700; font-size: var(--cj-fs-sm); cursor: pointer; padding: 4px 0; }
.cj-pk-cal__now:hover { text-decoration: underline; }

/* Motif thumbnails show the real voucher (DL, landscape): two per row on desktop, one on phones. */
.cj-pk__motifs:has(.is-voucher) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.cj-pk__motif.is-voucher .cj-pk__mimg { aspect-ratio: 210 / 99; box-shadow: 0 6px 18px rgba(0, 43, 88, .12); background: #fff; }
.cj-pk__motif.is-voucher .cj-pk__mimg img { object-fit: contain; }

/* 6. 11. (Marek): choices without outlines; the selected one gets a stronger surface instead of a border. */
.cj-pk__variant { border: 0; background: var(--cj-pale-20); }
.cj-pk__variant:hover { background: var(--cj-pale); }
.cj-pk__variant:has(input:checked) { background: var(--cj-navy); color: #fff; box-shadow: 0 6px 18px rgba(0, 43, 88, .18); }
.cj-pk__variant:has(input:checked) * { color: #fff !important; }
.cj-pk__mimg { border: 0; }
.cj-pk__motif:has(input:checked) .cj-pk__mimg { box-shadow: 0 0 0 4px var(--cj-navy); }

/* Annotations 330 to 337 (Marek 20. 11. 2026): white cards for unchosen options on the pale form, rounder corners,
   summary labels in the web's eyebrow style. Selectors carry .cj-pk to beat the theme's .cj-form/.cj-choice rules. */
.cj-pk .cj-pk__variant:not(:has(input:checked)),
.cj-pk .cj-pk__vip,
.cj-pk .cj-pk__discounts label:not(:has(input:checked)) { background: #fff; }
.cj-pk .cj-pk__vip,
.cj-pk .cj-pk__discounts label { border-radius: var(--cj-r-md); }
.cj-pk .cj-pk__discounts label { padding: 14px 16px; }
.cj-pk__row span { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.cj-pk__row strong { font-weight: 800; }
.cj-pk__total { font-size: inherit; }
.cj-pk__total span { color: #fff; }
.cj-pk__after { display: grid; gap: 6px; margin-top: -30px; }

/* Vehicle above the variant name, as in the mega menu; RU flag in a circle for the interpreter course (20. 11. 2026). */
.cj-pk__vimg { grid-column: 1 / -1; position: relative; display: flex; align-items: flex-end; height: 58px; margin-bottom: 8px; }
.cj-pk__vimg img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: left bottom; }
.cj-pk__vflag { position: absolute; left: 90px; top: 2px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0, 43, 88, .25); background: linear-gradient(180deg, #fff 0 33.4%, #0039A6 33.4% 66.6%, #D52B1E 66.6% 100%); } /* annotation 342 */
/* Own amount in a white card like the options above it, more air above the range hint (Marek 20. 11. 2026). */
.cj-pk .cj-pk__amount { background: #fff; border-radius: var(--cj-r-md); padding: 18px 20px; }
.cj-pk .cj-pk__amount .cj-form__hint { margin-top: 12px; }
.cj-form__legal strong { color: var(--cj-ink); font-weight: 700; }
/* Price always on its own line under the name (annotation 345). */
.cj-pk .cj-pk__variant { grid-template-columns: 1fr; }
.cj-pk__vprice { white-space: normal; text-align: left; }
/* VIP row with the info bubble outside the label. */
.cj-pk__vipwrap { position: relative; display: flex; align-items: center; gap: 10px; }
.cj-pk__vipwrap .cj-pk__vip { flex: 1 1 auto; margin: 0; }
.cj-pk__vipinfo { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
.cj-pk__vipwrap .cj-pk__vip { padding-right: 52px; }
.cj-pk__vipinfo .cj-info__pop { left: auto; right: -10px; transform: none; }
.cj-pk__vipinfo .cj-info__pop::before { left: auto; right: 15px; transform: rotate(45deg); }

/* Names in one row of cards get the same height from cj-poukazy-front.js, so prices line up (annotation 347). */
