/* VIP Cart System (Mobile UX Specification V3.0, klient 27. 10., PDF 152; docs/OPRAVY-VIP-CART-V3-2026-10-27.md).
   Hodnoty ze zadání: kruh 32 × 32 (kontura 1,5 px #8A2BE2, „+“ 14 px bílá 70 %, aktivní gradient #8A2BE2 → #FFD700, glow 0 0 12px
   #8A2BE2, „✓“ 16 px bílá, scale 1.2 → 1.0 za 0,3 s); lišta rgba(0,0,0,.8) + blur(20px), horní linka 1 px #8A2BE2 50 %, výška
   88 px + safe area, slide-up 0,4 s, stránka dole 100 px; text lišty Montserrat Medium 12 px #FFD700 velkými písmeny; tlačítko
   #8A2BE2 s neonovým glow; overlay rgba(0,0,0,.7) + blur, panel #0A0A0A se zaoblením 24px 24px 0 0; tlačítko odeslání 56 px.
   Kontrast (WCAG 2.1, 27. 10.): #FFD700 na liště 13,9 : 1 a na panelu 14,6 : 1 (i chybové hlášky), bílá na #8A2BE2 6,0 : 1,
   bílá na nejsvětlejším místě gradientu tlačítka #9D3BE5 5,0 : 1. Při „omezit pohyb“ bez animací. */

/* Montserrat Medium (OFL, assets/fonts/LICENSE-montserrat.txt; @fontsource/montserrat 5.3.0, latinka), jen pro text lišty. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('../fonts/montserrat-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Redesign PDF 155 (28. 10.): názvy proměnných z V3.0 zůstávají, hodnoty jsou z „Kódu na barvu“ (měď #BA8456, zlatá #E8C88A).
     Kontrast: #E8C88A na panelu #1A0B07 11,4 : 1 (i chybové hlášky), tmavý text #1A0F0D na mědi #BA8456 5,9 : 1. */
  --vip-violet: #ba8456;
  --vip-gold: #e8c88a;
  --vip-on-copper: #1a0f0d;
  /* 2. 11. (Karel: nový vizuál předlohy všude): zlatá a měď z „Kódu na barvu“ místo žluté zlaté z V3.0; panel je tmavě hnědá karta
     z předlohy v nejtmavší hnědé #1A0B07 s měděnou linkou, pole a výběr v kartě #23100B, hlavní tlačítko 3D kovová měď (app.css --g-metal-face), bez neonové záře.
     Kontrast: krémová 78 % na #23100B 9,3 : 1, zlatá #E8C88A na #1A0B07 11,9 : 1, text #1A0F0D na kovu nejméně 4,7 : 1. */
  --itin-gold: #e8c88a;
  --itin-gold-light: #f5e6c8;
  --itin-gold-fill: linear-gradient(160deg, #f5e6c8 0%, #e8c99a 42%, #d69e6b 78%, #ba8456 100%);
  --itin-card: var(--g-card, #23100b);
  --itin-field: var(--g-card, #23100b);
  --itin-line: var(--g-field-line, rgba(186, 132, 86, 0.42));
  --itin-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --itin-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --itin-bar-h: 88px;
}

/* ---------- 1) kruh výběru vpravo nahoře: vidět 32 × 32 px, cíl pro prst 44 × 44 px ---------- */
.slot {
  position: relative;
}
.pick {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #ffffffb3;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.card--wide > .pick {
  top: 8px;
  right: 8px;
}
.pick::before,
.pick::after {
  grid-area: 1 / 1;
}
/* kruh: kontura 1,5 px #8A2BE2 */
.pick::before {
  content: '';
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--vip-violet);
  border-radius: 50%;
  background: #0e0a09cc;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.3s ease;
}
/* „+“ 14 px, bílá 70 % */
.pick::after {
  content: '+';
  color: #ffffffb3;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}
.pick:hover::before {
  box-shadow: 0 0 10px #c37e4a80;
}
/* vybráno: gradient #8A2BE2 → #FFD700, glow 0 0 12px #8A2BE2, „✓“ 16 px čistě bílá */
.pick[aria-pressed='true']::before {
  border-color: transparent;
  background: linear-gradient(135deg, var(--vip-violet), var(--vip-gold)) border-box;
  box-shadow: 0 0 12px var(--vip-violet);
}
.pick[aria-pressed='true']::after {
  content: '';
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3.2 3.2L13 4.8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  filter: drop-shadow(0 0 1px #0009);
}
/* klepnutí: scale 1.2 → 1.0 za 0,3 s */
.pick.is-pop::before,
.pick.is-pop::after {
  animation: pick-pop 0.3s ease-out;
}
@keyframes pick-pop {
  from {
    transform: scale(1.2);
  }
  to {
    transform: scale(1);
  }
}
.pick:focus-visible {
  outline: none;
}
.pick:focus-visible::before {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}
/* vybraná karta: jemná zlatá linka uvnitř rámu */
.card.is-picked {
  box-shadow: inset 0 0 0 1px #e6c76673, 0 0 0 1px #e6c76640, var(--card-glow-hover);
}
.slot.is-picked {
  border-color: #e6c766a6;
  box-shadow: 0 0 0 1px #d4af3733, 0 0 18px #d4af3729;
}
.is-pickable {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
/* název nesmí zajet pod kruh; kruh je nad ikonou nebo fotkou, takže odsazení potřebuje jen karta bez nich (hloubková kontrola
   27. 10.: jinak název ztrácel 40 px šířky, nebyl na středu a po překladu se dlouhá slova nevešla) */
.card:has(> .card__body > .pick):not(:has(> .card__media)) .card__title,
.slot:not(:has(> .card__media)) .card__title {
  padding-inline: 4px 40px;
}
/* dlaždice Live Availability & Booking: tlačítko velkými písmeny jako tlačítko lišty */
.btn--hub {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-wrap: balance;
}
/* Na telefonu je dlaždice v mřížce po dvou úzká (od 107 px tlačítka při 320 px): „CUSTOMIZE MY VIP ITINERARY“ na nejvýš
   dva řádky a jen mezi slovy (hloubková kontrola 27. 10.), proto menší písmo, prostrkání a okraje; při 320 px užší řez Archiva. */
@media (max-width: 479px) {
  .card .btn--hub {
    padding-inline: 6px;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
  }
}
@media (max-width: 359px) {
  .card .btn--hub {
    font-stretch: 87.5%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pick::before {
    transition: none;
  }
  .pick.is-pop::before,
  .pick.is-pop::after {
    animation: none;
  }
}

/* ---------- 2) plovoucí lišta: 88 px + safe area, sklo rgba(0,0,0,.8) s blur(20px) ---------- */
.itin-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  box-sizing: border-box;
  height: calc(var(--itin-bar-h) + env(safe-area-inset-bottom));
  padding: 0 max(16px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(16px, env(safe-area-inset-left));
  border-top: 1px solid #c37e4a80;
  background: rgba(26, 11, 7, 0.86);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transform: translateY(100%);
  transition: transform 0.4s var(--itin-ease);
}
.itin-bar[hidden],
.itin-bar.is-kb-hidden {
  display: none;
}
.itin-bar.is-shown {
  transform: none;
}
.itin-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(100%, 640px);
  height: var(--itin-bar-h);
  margin-inline: auto;
}
.itin-bar__count {
  min-width: 0;
  color: var(--vip-gold);
  font-family: 'Montserrat', var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}
.itin-bar__num {
  font-variant-numeric: tabular-nums;
}
.itin-bar__cta {
  flex: none;
  max-width: 62%;
  min-height: 48px;
  padding: 10px 18px;
  border: 0;
  border-radius: 14px;
  color: var(--vip-on-copper);
  background: var(--vip-violet);
  box-shadow: 0 0 10px #c37e4ab3, 0 0 26px #c37e4a66, inset 0 1px 0 #ffffff40;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  font-stretch: var(--stretch-ui);
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-transform: uppercase;
  text-wrap: balance;
  cursor: pointer;
  transition:
    box-shadow 0.25s ease,
    filter 0.2s ease;
}
.itin-bar__cta:hover {
  filter: brightness(1.08);
}
.itin-bar__cta:active {
  transform: translateY(1px);
}
.itin-bar__cta:focus-visible {
  outline: 2px solid var(--vip-gold);
  outline-offset: 3px;
}
@media (max-width: 359px) {
  .itin-bar__inner {
    gap: 8px;
  }
  .itin-bar__cta {
    padding-inline: 12px;
    font-size: 12px;
  }
}
/* lišta nepřekrývá obsah: konec stránky dostane 100 px (+ výřez displeje) */
.has-itin-bar body {
  padding-bottom: calc(100px + env(safe-area-inset-bottom));
}
/* ani fokus klávesnice: prvek, na který se přejde tabulátorem, se posune nad lištu (WCAG 2.4.11, audit 27. 10. H-04) */
.has-itin-bar {
  scroll-padding-bottom: calc(var(--itin-bar-h) + 12px + env(safe-area-inset-bottom));
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .itin-bar {
    background: rgba(0, 0, 0, 0.94);
  }
}
@media (prefers-reduced-motion: reduce) {
  .itin-bar {
    transition: none;
  }
}

/* ---------- 3) spodní panel ---------- */
.itin-lock,
.itin-lock body {
  overflow: hidden;
}
.itin-sheet {
  width: 100%;
  max-width: 640px;
  max-height: 100dvh;
  margin: auto auto var(--itin-kb, 0px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}
.itin-sheet::backdrop {
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.itin-sheet__panel {
  position: relative;
  max-height: min(94dvh, 920px, calc(var(--itin-vvh, 100dvh) - 12px));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 22px max(20px, env(safe-area-inset-right)) calc(26px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  border: 1px solid var(--g-card-line, #c37e4a80);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: #1a0b07;
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.55);
}
@media (min-width: 680px) {
  .itin-sheet__panel {
    padding-inline: 32px;
  }
}
/* vyjetí zespodu a ztmavnutí; zavírání obráceně */
@media (prefers-reduced-motion: no-preference) {
  .itin-sheet[open] .itin-sheet__panel {
    animation: itin-up 0.4s var(--itin-ease) both;
  }
  .itin-sheet[open]::backdrop {
    animation: itin-fade 0.3s ease both;
  }
  .itin-sheet.is-closing .itin-sheet__panel {
    animation: itin-down 0.3s cubic-bezier(0.4, 0, 1, 1) both;
  }
  .itin-sheet.is-closing::backdrop {
    animation: itin-fade 0.3s ease reverse both;
  }
}
@keyframes itin-up {
  from {
    transform: translateY(105%);
  }
}
@keyframes itin-down {
  to {
    transform: translateY(105%);
  }
}
@keyframes itin-fade {
  from {
    opacity: 0;
  }
}

.itin-sheet__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.itin-sheet__heading {
  min-width: 0;
}
.itin-sheet__title {
  padding-top: 6px;
  color: var(--itin-gold);
  font-family: var(--itin-serif);
  font-size: clamp(1.125rem, 1rem + 1.3vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
  text-wrap: balance;
  outline: none;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .itin-sheet__title {
    background: var(--g-gold-text, linear-gradient(180deg, #f5e6c8 0%, #e8c99a 46%, #d69e6b 100%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.itin-sheet__sub {
  margin-top: 6px;
  color: var(--g-muted, var(--ink-muted));
  font-size: var(--fs-xs);
  line-height: 1.45;
}
.itin-close {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  margin: -2px -6px 0 0;
  padding: 0;
  border: 1px solid var(--g-card-line, #c37e4aa6);
  border-radius: 50%;
  background: var(--itin-field);
  color: var(--itin-gold-light);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.itin-close::before,
.itin-close::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  translate: -50% -50%;
  rotate: 45deg;
}
.itin-close::after {
  rotate: -45deg;
}
.itin-close:hover {
  border-color: var(--itin-gold);
}

.itin-form {
  display: grid;
  gap: 22px;
  margin-top: 18px;
}
.itin-form[hidden],
.itin-done[hidden] {
  display: none;
}
.itin-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
[data-market-picker] {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}
[data-market-picker][hidden],
[data-market-picker] [hidden] {
  display: none;
}
.itin-label {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  color: var(--itin-gold);
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
  outline: none;
}

/* YOUR SELECTION: štítky vodorovně posuvné, každý s malým křížkem */
.itin-selection {
  min-width: 0;
  padding: 16px 16px 12px;
  border: 1px solid var(--itin-line);
  border-radius: var(--radius-lg);
  background: var(--itin-field);
}
.itin-chips {
  display: flex;
  gap: 8px;
  margin: 0 -16px;
  padding: 0 16px 6px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 16px;
  scrollbar-width: thin;
  scrollbar-color: #c37e4a transparent;
  -webkit-overflow-scrolling: touch;
}
.itin-chips[hidden] {
  display: none;
}
.itin-chip {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  padding: 0 0 0 14px;
  border: 1px solid rgba(232, 200, 138, 0.45);
  border-radius: var(--radius-pill);
  background: rgba(232, 200, 138, 0.08);
  color: var(--itin-gold-light);
  font-size: var(--fs-sm);
  font-weight: 560;
  line-height: 1.25;
  white-space: nowrap;
  scroll-snap-align: start;
}
.itin-chip__remove {
  position: relative;
  flex: none;
  width: 40px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0 999px 999px 0;
  background: none;
  color: rgba(232, 200, 138, 0.8);
  cursor: pointer;
}
.itin-chip__remove::before,
.itin-chip__remove::after {
  content: '';
  position: absolute;
  left: 42%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: currentColor;
  translate: -50% -50%;
  rotate: 45deg;
}
.itin-chip__remove::after {
  rotate: -45deg;
}
.itin-chip__remove:hover {
  color: var(--itin-gold-light);
}
.itin-hint {
  color: var(--ink-muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.itin-hint[hidden] {
  display: none;
}
.itin-hint__plus {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0 2px;
  vertical-align: -6px;
  border: 1.5px solid var(--vip-violet);
  border-radius: 50%;
  background:
    linear-gradient(#ffffffb3, #ffffffb3) center / 9px 1.5px no-repeat,
    linear-gradient(#ffffffb3, #ffffffb3) center / 1.5px 9px no-repeat,
    var(--itin-field);
}

/* pole */
.itin-input {
  display: block;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--itin-line);
  border-radius: 14px;
  background: var(--itin-field);
  color: var(--ink);
  font: inherit;
  /* 16 px a víc: iOS při klepnutí stránku nepřiblíží */
  font-size: max(16px, var(--fs-md));
  line-height: 1.3;
  color-scheme: dark;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.itin-input::placeholder {
  color: var(--ink-faint);
  opacity: 1;
}
.itin-input:hover {
  border-color: var(--vip-violet);
}
.itin-input:focus {
  outline: none;
  border-color: var(--itin-gold);
  box-shadow: 0 0 0 3px rgba(232, 200, 138, 0.35);
}
/* chyby zlatě (V3.0) */
.itin-input[aria-invalid='true'],
.itin-phone.is-invalid .itin-phone__number,
.itin-date.is-invalid .itin-input {
  border-color: var(--vip-gold);
}
.itin-error {
  margin-top: 8px;
  color: var(--vip-gold);
  font-size: var(--fs-sm);
  line-height: 1.4;
}
/* audit 2. 11. (W-12): chyba se liší od běžného textu i jinak než barvou: tučně, teplá červená a ikona „!“ v kroužku.
   #FFAA96 na hnědých plochách panelu #1C0B08 až #381A12 nejméně 8,6 : 1. */
.gold .itin-error,
.itin-error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #ffaa96;
  font-weight: 600;
}
.itin-error::before {
  content: '!';
  content: '!' / '';
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.itin-error[hidden] {
  display: none;
}
/* jemná nápověda u telefonu (úvodní 0 u +66 / +420 se vynechá): zlatě jako chyby, ale tlumeně */
.itin-phone-hint {
  margin-top: 8px;
  color: rgba(232, 200, 138, 0.85);
  font-size: var(--fs-xs);
  line-height: 1.4;
}
.itin-phone-hint[hidden] {
  display: none;
}

/* DATE: pole s ikonou kalendáře, celé klikací */
.itin-date {
  position: relative;
}
.itin-date__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 22px;
  height: 22px;
  translate: 0 -50%;
  color: var(--itin-gold);
  stroke-width: 1.4;
  pointer-events: none;
}
.itin-date__input {
  min-height: 56px;
  padding-left: 50px;
  -webkit-appearance: none;
  appearance: none;
  text-align: left;
  cursor: pointer;
}
.itin-date__input::-webkit-date-and-time-value {
  text-align: left;
}
/* systémová ikona je neviditelná přes celé pole: klepnutí kamkoli otevře kalendář */
.itin-date__input::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.itin-date__placeholder {
  position: absolute;
  left: 50px;
  top: 50%;
  translate: 0 -50%;
  color: var(--ink-faint);
  font-size: max(16px, var(--fs-md));
  pointer-events: none;
  visibility: hidden;
}
.itin-date.is-empty .itin-date__placeholder {
  visibility: visible;
}
.itin-date.is-empty .itin-date__input:not(:focus) {
  color: transparent;
}
.itin-date.is-empty .itin-date__input:focus + .itin-date__placeholder,
.itin-date.is-empty:focus-within .itin-date__placeholder {
  visibility: hidden;
}

/* GUESTS: [ - ] 2 Persons [ + ], tlačítka 56 × 56 px (V3.0: aspoň 44 × 44) */
.itin-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px;
  border: 1px solid var(--itin-line);
  border-radius: 999px;
  background: var(--itin-field);
}
.itin-stepper__btn {
  flex: none;
  width: 56px;
  height: 56px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--g-card-line, #c37e4ab3);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #4f2617, #23100b);
  color: var(--itin-gold-light);
  font: inherit;
  font-size: 1.625rem;
  line-height: 1;
  box-shadow: inset 0 1px 0 #ffffff1a, 0 2px 4px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  touch-action: manipulation;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}
.itin-stepper__btn:hover:not(:disabled) {
  border-color: var(--itin-gold);
}
.itin-stepper__btn:active:not(:disabled) {
  transform: scale(0.96);
}
.itin-stepper__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.itin-stepper__value {
  color: var(--ink);
  font-size: var(--fs-md);
  font-weight: 560;
  text-align: center;
}
.itin-stepper__num {
  margin-right: 2px;
  color: var(--itin-gold);
  font-family: var(--itin-serif);
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  vertical-align: -2px;
}

/* CONTACT METHOD: přepínače (vybraný s měděným okrajem, bez záře) */
.itin-radios {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.itin-radio {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 14px;
  border: 1px solid var(--itin-line);
  border-radius: 14px;
  background: var(--itin-field);
  color: var(--g-muted, var(--ink-muted));
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.25s ease,
    color 0.2s ease;
}
.itin-radio input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.itin-radio__dot {
  flex: none;
  position: relative;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--vip-violet);
  border-radius: 50%;
  transition:
    border-color 0.2s ease,
    box-shadow 0.25s ease;
}
.itin-radio__dot::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--itin-gold);
  transform: scale(0);
  transition: transform 0.25s var(--itin-ease);
}
.itin-radio:has(input:checked) {
  border-color: var(--itin-gold);
  color: var(--ink);
  background: rgba(186, 132, 86, 0.16);
}
.itin-radio:has(input:checked) .itin-radio__dot {
  border-color: var(--itin-gold);
}
.itin-radio:has(input:checked) .itin-radio__dot::after {
  transform: scale(1);
}
.itin-radio:has(input:focus-visible) {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* NAME & PHONE: předvolba s vlajkou (vlastní seznam) a číslo */
.itin-step > .itin-input + .itin-error + .itin-phone,
.itin-step > .itin-input + .itin-phone {
  margin-top: 10px;
}
.itin-phone {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.itin-cc {
  position: relative;
}
.itin-cc__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
  min-width: 108px;
  padding: 12px 34px 12px 14px;
  background:
    linear-gradient(45deg, #0000 45%, #e7ca99 45% 55%, #0000 55%) right 18px center / 8px 8px no-repeat,
    linear-gradient(-45deg, #0000 45%, #e7ca99 45% 55%, #0000 55%) right 12px center / 8px 8px no-repeat,
    var(--itin-field);
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
}
.itin-cc__btn[aria-expanded='true'] {
  border-color: var(--vip-violet);
}
.itin-flag {
  flex: none;
  width: 20px;
  height: 15px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px #ffffff2e;
}
.itin-flag--globe {
  box-shadow: none;
  color: #e7ca99;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.itin-cc__list {
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  left: 0;
  width: min(320px, calc(100vw - 40px));
  max-height: 264px;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  border: 1px solid var(--g-card-line, #c37e4a99);
  border-radius: 14px;
  background: var(--itin-card);
  box-shadow: 0 18px 40px #000c;
  outline: none;
}
.itin-cc__list[hidden] {
  display: none;
}
.itin-cc__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
  cursor: pointer;
}
.itin-cc__name {
  flex: 1;
  min-width: 0;
}
.itin-cc__dial {
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}
.itin-cc__opt.is-active {
  background: #c37e4a38;
}
.itin-cc__opt[aria-selected='true'] {
  color: var(--vip-gold);
}
.itin-cc__opt[aria-selected='true'] .itin-cc__dial {
  color: var(--vip-gold);
}
.itin-cc__sep {
  height: 1px;
  margin: 4px 8px;
  background: var(--line);
}

/* skryté pole proti robotům: mimo obrazovku, mimo pořadí Tab a čtečku */
.itin-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.itin-turnstile[hidden] {
  display: none;
}
.itin-turnstile {
  min-height: 0;
}

/* FINAL CTA: 56 px, celá šířka, 3D kovová měď jako Book Private Experience (2. 11.; dřív neonový gradient) */
.itin-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 56px;
  margin: 4px 0 0;
  padding: 0 20px;
  border: 1.5px solid var(--g-gold, #e8c88a);
  border-radius: 12px;
  color: var(--vip-on-copper);
  /* stejná tvář jako --g-metal-face v app.css (tady rozepsaná, test V3.0 hlídá přechod přímo v pravidle) */
  background: linear-gradient(180deg, rgba(255, 238, 214, 0.32) 0%, rgba(255, 238, 214, 0.1) 45%, rgba(60, 25, 10, 0.08) 47%, rgba(60, 25, 10, 0) 70%, rgba(145, 83, 43, 0.35) 100%),
    linear-gradient(100deg, #d6946a 0%, #c27848 22%, #c07448 48%, #c47c4f 74%, #dc9b70 100%);
  box-shadow: var(--g-metal-shadow, inset 0 1px 0 #ffffff4d);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    box-shadow 0.25s ease,
    filter 0.2s ease;
}
.itin-submit:hover:not(:disabled) {
  filter: brightness(1.06) saturate(1.05);
}
.itin-submit:active:not(:disabled) {
  transform: translateY(1px);
}
.itin-submit:focus-visible {
  outline: 2px solid var(--vip-gold);
  outline-offset: 3px;
}
.itin-submit__spin {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid #1a0f0d59;
  border-top-color: var(--vip-on-copper);
  border-radius: 50%;
}
/* načítání: tlačítka zablokovaná, u tlačítka indikátor */
.is-busy .itin-submit {
  cursor: progress;
}
.is-busy .itin-submit__spin {
  display: block;
  animation: itin-spin 0.8s linear infinite;
}
@keyframes itin-spin {
  to {
    rotate: 360deg;
  }
}
@media (prefers-reduced-motion: reduce) {
  .is-busy .itin-submit__spin {
    animation: itin-blink 1.6s ease-in-out infinite;
  }
  @keyframes itin-blink {
    50% {
      opacity: 0.35;
    }
  }
}
.itin-fineprint {
  margin-top: -10px;
  color: var(--ink-faint);
  font-size: var(--fs-xs);
  line-height: 1.45;
  text-align: center;
}
.itin-fineprint a {
  color: var(--itin-gold);
  text-underline-offset: 3px;
}
/* Google Translate zahodí mezeru na hranici prvků („Anfrage.Siehe“, „0:+66“): po překladu ji nahradí okraj */
html.translated-ltr [data-itin-wa-note],
html.translated-ltr [data-itin-phone-hint-value] {
  margin-inline: 0.25em;
}

/* ---------- 4) poděkování a chyba ---------- */
.itin-done {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 26px 4px 6px;
  text-align: center;
  outline: none;
}
.itin-done__mark {
  position: relative;
  width: 140px;
  height: 53px;
  margin-bottom: 8px;
  /* 29. 11. večer (Karel: „Ano, převeď“): měděná křídla z kódu vizitky klientky s jejími přechody; maska drží tvar pro vysoký kontrast */
  background: url('../brand/thaisofly-kridla-klient-512.webp?v=20261130kridla') center / contain no-repeat;
  -webkit-mask: url('../brand/thaisofly-kridla-klient-maska.webp?v=20261130kridla') center / contain no-repeat;
  mask: url('../brand/thaisofly-kridla-klient-maska.webp?v=20261130kridla') center / contain no-repeat;
}
/* 2. 11.: znak jen jednou vyjede, bez pulzující záře (neon z doby fialové) */
@media (prefers-reduced-motion: no-preference) {
  .itin-done:not([hidden]) .itin-done__mark {
    animation: itin-mark-in 0.7s var(--itin-ease) both;
  }
}
@keyframes itin-mark-in {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
}
.itin-done__text {
  max-width: 30em;
  color: var(--itin-gold-light);
  font-family: var(--itin-serif);
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.itin-fail {
  padding-top: 34px;
}
.itin-fail__text {
  color: var(--itin-gold);
}
/* PDF 158: poptávka uložená v zařízení, odešle se sama po obnovení spojení */
.itin-fail__queued {
  max-width: 32ch;
  margin: -4px auto 4px;
  color: rgba(245, 230, 200, 0.85);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
.itin-fail__queued[hidden] {
  display: none;
}
/* audit 2. 11. (W-04): skutečná příčina chyby pod textem klienta (vypršený limit, bezpečnostní kontrola, odpověď serveru, síť) */
.itin-fail__cause {
  max-width: 34ch;
  margin: -4px auto 4px;
  color: rgba(245, 230, 200, 0.85);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
.itin-fail__cause[hidden] {
  display: none;
}
.itin-done__wa-box {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 100%;
}
.itin-done__wa-box[hidden] {
  display: none;
}
.itin-done__note {
  max-width: 30em;
  color: var(--ink-muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.itin-done__wa {
  width: 100%;
  max-width: 360px;
  min-height: 52px;
}
.itin-done__close {
  min-width: 160px;
  min-height: 48px;
  padding: 10px 24px;
  border: 1px solid var(--g-card-line, #c37e4aa6);
  border-radius: var(--radius-md);
  background: none;
  color: var(--itin-gold-light);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
}
.itin-done__close:hover {
  border-color: var(--itin-gold);
}
.itin-done__close--quiet {
  border-color: transparent;
  color: var(--ink-muted);
}

/* Live Availability & Booking: vedlejší odkaz pod hlavním tlačítkem (oba buildy; živý web bez API v ukázkovém režimu) */
.hub__link {
  display: inline-block;
  margin-top: 4px;
  padding: 12px 8px 2px;
  color: var(--itin-gold);
  font-size: var(--fs-sm);
  font-weight: 560;
  text-underline-offset: 3px;
}

/* ---------- souhlas s cookies (jen s GTM; assets/js/consent.js) ---------- */
/* Cookie settings opens this panel under the footer, in the same document flow. */
.consent-bar {
  box-sizing: border-box;
  width: min(100%, 560px);
  margin-inline: auto;
  padding: 16px 18px;
  border: 1px solid var(--g-card-line, #c37e4a80);
  border-radius: 16px;
  background: var(--itin-card);
  box-shadow: 0 18px 40px #000a;
  color: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.consent-bar[hidden],
.itin-kb .consent-bar {
  display: none;
}
.consent-bar__title {
  color: var(--vip-gold);
  font-family: var(--g-sans, var(--font));
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.consent-bar__text {
  margin-top: 6px;
  color: var(--g-muted, var(--ink-muted));
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.consent-bar__text a {
  color: var(--itin-gold);
  text-underline-offset: 3px;
}
.consent-bar__prefs {
  display: grid;
  gap: 2px;
  margin-top: 10px;
}
.consent-bar__prefs[hidden] {
  display: none;
}
.consent-bar__pref {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
}
.consent-bar__pref input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--vip-violet);
}
.consent-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.consent-bar__btn {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--g-card-line, #c37e4aa6);
  border-radius: 10px;
  background: rgba(56, 26, 18, 0.65);
  color: var(--itin-gold-light);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 650;
  cursor: pointer;
}
.consent-bar__btn[hidden] {
  display: none;
}
.consent-bar__btn--primary {
  border: 1.5px solid var(--g-gold, #e8c88a);
  color: var(--vip-on-copper);
  background: var(--g-metal-face, var(--vip-violet));
  box-shadow: var(--g-metal-shadow, none);
}
.consent-bar__btn--link {
  flex: 0 1 auto;
  border-color: transparent;
  background: none;
  color: var(--itin-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent-bar__btn:focus-visible {
  outline: 2px solid var(--vip-gold);
  outline-offset: 2px;
}
/* kompaktní lišta (Karel 2. 11. podle doporučení, které poslal klient: „lišta zabírá skoro třetinu obrazovky a schovává hlavní
   tlačítko“): menší okraje a písmo, tlačítka v jednom řádku; dotykové plochy zůstávají 40 px */
.consent-bar {
  padding: 10px 14px 12px;
  border-radius: 12px;
}
.consent-bar__title {
  font-size: 11px;
}
.consent-bar__text {
  margin-top: 3px;
  font-size: 0.8125rem;
  line-height: 1.4;
}
.consent-bar__actions {
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 8px;
}
.consent-bar__btn {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 0.875rem;
}
.consent-bar__prefs:not([hidden]) + .consent-bar__actions {
  flex-wrap: wrap;
}
#hero-title,
.footer-links__btn,
[data-tab="home"] {
  -webkit-tap-highlight-color: transparent;
}
#hero-title:focus:not(:focus-visible),
.footer-links__btn:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}
#hero-title:focus-visible,
.gold .footer-links__btn:focus-visible {
  outline: 2px solid #d4af37;
  outline-offset: 4px;
}
.footer-links__btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 0;
  border-radius: 9999px;
  background: none;
  color: var(--itin-gold);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
}
/* The mobile button theme supplies an important border and glow to all buttons. */
.gold .site-footer .footer-links .footer-links__btn {
  border: none !important;
  box-shadow: none !important;
}
.footer-links__btn[hidden] {
  display: none;
}
.footer-links__btn:hover {
  color: var(--itin-gold-light);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

@media (forced-colors: active) {
  .pick::before,
  .itin-radio__dot {
    border: 2px solid CanvasText;
  }
  .pick[aria-pressed='true']::before {
    background: Highlight;
  }
  .itin-sheet__title {
    -webkit-text-fill-color: currentColor;
    background: none;
  }
  .itin-done__mark {
    background: CanvasText;
  }
}
