@font-face { font-family: "Mulish"; font-weight: 200 1000; font-display: swap; src: url(/fonts/mulish-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Mulish"; font-weight: 200 1000; font-display: swap; src: url(/fonts/mulish-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02AF; }

:root {
  --ink: #2a1a2e;
  --ink-soft: #5b4a5f;
  --wine: #7d2240;
  --wine-dark: #5e1730;
  --error: #b3261e;
  --curtain: #ecd9a8;
  --curtain-pale: #faf4e6;
  --stage: #f4eee8;
  --link: #7d2240;
  --line: #e7dfe8;
  --white: #fff;
  --font: "Mulish", system-ui, sans-serif;
  --sticky-height: 72px;
  --radius: 12px;
  --radius-small: 6px;
  /* Na šířku leží po stranách výřez telefonu, stránka má viewport-fit=cover */
  --gutter: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
  /* Šířka obsahu od 600 do 1023 px: telefon na šířku a tablet na výšku. Všechny sekce v jednom sloupci, stejně široké jako FAPI formulář */
  --column: 688px;
  /* Střed verzálek Mulish nad účařím. Ikony u textu se zarovnávají na něj: vertical-align: calc(var(--cap-center) - polovina výšky ikony) */
  --cap-center: .35em;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 12px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 19px/1.5 var(--font); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h2 { margin: 0 0 14px; font-size: 30px; line-height: 1.15; font-weight: 700; }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 36px 0; }

.button {
  display: block; width: 100%; padding: 13px 18px 17px; border: 0; border-radius: var(--radius);
  background: var(--wine); color: var(--white); font: 700 21px/1.2 var(--font);
  text-align: center; text-decoration: none;
}
.button::after { content: ""; display: inline-block; width: 20px; height: 20px; margin-left: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; vertical-align: calc(.25em - 10px); } /* Šipka stojí vedle malých písmen: střed malých písmen Mulish, ne --cap-center */
.button:active { background: var(--wine-dark); }
.button--small { width: auto; flex: none; padding: 10px 16px 14px; font-size: 19px; }
@media (max-width: 379px) { .button--small::after { display: none; } }

.hero__highlights { display: grid; gap: 5px; margin: 18px 0 0; padding: 0; color: var(--ink-soft); list-style: none; font-size: 19px; line-height: 1.3; }
.hero__highlights strong { color: var(--ink); }
.hero__highlights li { padding-left: 30px; }
.hero__highlights li::before { content: ""; display: inline-block; width: 20px; height: 20px; margin: 0 10px 0 -30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.500 8 14.500 16 6' fill='none' stroke='%232a1a2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; vertical-align: calc(var(--cap-center) - 10px); }
.hero__quote { margin: 18px 0 0; padding-left: 12px; border-left: 4px solid var(--curtain); }
.hero__quote blockquote { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 700; }
.hero__quote figcaption { margin-top: 2px; color: var(--ink-soft); font-size: 16px; }
.hero__more { display: block; margin-top: 14px; padding: 8px 0; color: var(--wine); font-size: 19px; font-weight: 700; text-align: center; }
.hero__more--video::before { content: ""; display: inline-block; margin-right: 8px; border-left: 12px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; vertical-align: calc(var(--cap-center) - 7px); }


.story { background: var(--stage); }
.wrap--split { display: grid; gap: 22px; }
.wrap--split h2 { margin: 0; }
.video { position: relative; display: block; width: 100%; padding: 0; border: 6px solid var(--wine); border-radius: var(--radius); background: #000; cursor: pointer; aspect-ratio: 16 / 9; overflow: hidden; color: var(--white); font: inherit; }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--wine); }
.video__play::after { content: ""; position: absolute; left: 29px; top: 21px; border-left: 28px solid var(--white); border-top: 17px solid transparent; border-bottom: 17px solid transparent; }
.video__label { position: absolute; left: 0; bottom: 0; padding: 4px 12px; background: rgba(0, 0, 0, .72); font-size: 17px; font-weight: 600; }

.quotes__list { display: grid; gap: 14px; margin-top: 18px; }
.quote { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 2px rgba(42, 26, 46, .05); }
.quote__headline { margin: 0 0 6px; color: var(--wine); font-size: 22px; line-height: 1.2; font-weight: 700; }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.4; }
.quote__author { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 16px; line-height: 1.2; }
.quote__initials { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--curtain); font-weight: 700; }
.quote__author strong { display: block; font-size: 17px; }
.quote__author span span { color: var(--ink-soft); }
.section__cta { max-width: 420px; margin: 22px auto 0; }

.cast { background: var(--curtain-pale); }
.cast__list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; margin: 0; padding: 0; list-style: none; }
.cast__list img { border-radius: var(--radius); }
.cast__list p { margin-top: 8px; font-size: 17px; line-height: 1.25; }
.cast__list strong { display: block; font-size: 19px; }

.gallery { padding: 0; }
.gallery__track { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery__track img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery__open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery__open:first-child, .gallery__open:last-child:nth-child(even) { grid-column: 1 / -1; }
.gallery__zoom { position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: var(--wine); color: var(--white); }
.gallery__zoom svg { display: block; }
.gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(42, 26, 46, .58); color: var(--white); font-size: 24px; font-weight: 700; }

.lightbox { width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(42, 26, 46, .72); color: var(--ink); overflow: hidden; }
.lightbox[open] { display: grid; align-items: end; justify-items: center; animation: lightbox-fade .2s ease-out; }
@keyframes lightbox-fade { from { opacity: 0; } }
@keyframes lightbox-rise { from { transform: translateY(24px); } }
.lightbox__card { position: relative; width: 100%; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--white); animation: lightbox-rise .25s ease-out; }
.lightbox button { display: grid; flex: none; place-items: center; width: 48px; height: 48px; padding: 11px; border: 0; border-radius: 50%; background: var(--wine); color: var(--white); cursor: pointer; }
.lightbox button svg { display: block; stroke-width: 2.4; }
.lightbox button:active:not(:disabled) { background: var(--wine-dark); }
.lightbox button:disabled { background: var(--stage); color: var(--ink-soft); cursor: default; }
.lightbox__close { position: absolute; z-index: 1; top: 10px; right: 10px; }
.lightbox__track { display: flex; overflow-x: auto; overscroll-behavior: contain; scroll-snap-type: x mandatory; scrollbar-width: none; outline: 0; }
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__slide { flex: 0 0 100%; min-width: 0; aspect-ratio: 3 / 2; scroll-snap-align: center; scroll-snap-stop: always; }
.lightbox__slide img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__bar { display: flex; align-items: center; gap: 12px; padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); }
.lightbox__info { flex: 1; min-width: 0; min-height: 4.2em; margin: 0; font-size: 17px; line-height: 1.4; text-align: center; }
.lightbox__info strong { display: block; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
@media (min-width: 600px) {
  .lightbox[open] { align-items: center; }
  .lightbox__card { width: min(100% - 32px, 960px, (100vh - 136px) * 1.5); border-radius: var(--radius); }
  .lightbox__info { min-height: 0; }
}
html:has(.lightbox[open]) { overflow: hidden; }

.buy { background: var(--white); }
.wrap--form { max-width: 720px; }
.facts { display: grid; gap: 6px; margin: 0; padding: 12px 14px; border-radius: var(--radius); background: var(--curtain-pale); list-style: none; font-size: 19px; line-height: 1.3; }
.facts li { padding-left: 32px; }
.facts svg { display: inline-block; width: 22px; height: 22px; margin: 0 10px 0 -32px; color: var(--wine); vertical-align: calc(var(--cap-center) - 11px); }
.countdown { margin-top: 10px; }
.final .countdown { margin: 0 0 18px; }
.final .countdown__unit { background: var(--white); }
.countdown__title { margin: 0 0 4px; color: var(--ink-soft); font-size: 16px; line-height: 1.2; text-align: center; }
.countdown__units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.countdown__unit { padding: 6px 4px; border-radius: var(--radius); background: var(--curtain-pale); text-align: center; }
.countdown__unit strong { display: block; font-size: 26px; line-height: 1.1; font-weight: 700; font-variant-numeric: tabular-nums; }
.countdown__unit span { display: block; color: var(--ink-soft); font-size: 15px; line-height: 1.15; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 16px; line-height: 1.25; }
#fapi-slot .trust { margin-top: 18px !important; }
#fapi-slot .trust svg { display: inline-block; vertical-align: calc(var(--cap-center) - 9px); }
.trust svg { display: inline-block; width: 18px; height: 18px; margin-right: 5px; color: var(--wine); vertical-align: calc(var(--cap-center) - 9px); }
.trust .trust__cards { display: flex; flex-basis: 100%; justify-content: center; gap: 6px; margin-top: 6px; }
.trust .trust__cards svg { width: 44px; height: 28px; margin: 0; padding: 5px 6px; border: 1px solid #ddd; border-radius: var(--radius-small); background: var(--white); }
.nowrap { white-space: nowrap; }

.buy__form { min-height: 420px; margin-top: 16px; }
.buy__loading { color: var(--ink-soft); }

.error { margin-top: 14px; padding: 14px; border: 2px solid var(--error); border-radius: var(--radius); }
.error__code { margin-top: 8px; color: var(--ink-soft); font-size: 16px; }

.venue { background: var(--stage); }
.venue__address { margin-bottom: 2px; font-weight: 700; }
.venue__map { display: inline-block; padding: 6px 0; font-weight: 600; }

details { border-bottom: 1px solid var(--line); }
summary { position: relative; display: block; min-height: 52px; padding: 13px 38px 13px 0; font-size: 20px; line-height: 1.25; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 8px; top: 18px; width: 10px; height: 10px; border: solid var(--wine); border-width: 0 2.5px 2.5px 0; transform: translateY(0) rotate(45deg); transition: transform .28s cubic-bezier(.22, .61, .36, 1); }
details[open]:not(.is-closing) summary::after { transform: translateY(5px) rotate(-135deg); }
details p { padding-bottom: 14px; }

.final { padding: 32px 0; background: var(--stage); }
.final .wrap { max-width: 560px; }
.facts--final { gap: 0; margin-bottom: 18px; padding: 0; border-radius: 0; background: none; }
.facts--final li { padding: 10px 0; border-top: 1px solid rgba(42, 26, 46, .14); }
.facts--final li span { display: block; color: var(--ink-soft); font-size: 18px; }

.help { margin-top: 20px; padding: 14px; border-radius: var(--radius); background: var(--stage); font-size: 18px; line-height: 1.4; }
.help:has(.help__photo) { display: flex; align-items: center; gap: 14px; }
.help__photo { flex: none; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.help p { margin: 0; }
.help__text { text-wrap: pretty; }
.help .help__title { margin-bottom: 2px; font-weight: 700; }

.footer { padding: 12px 0 calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid #e3dad2; background: var(--stage); color: var(--ink-soft); font-size: 14px; line-height: 1.3; text-align: center; }
.footer p { margin: 0 0 4px; }
.footer a, .footer__link { display: inline-block; margin: 0 6px; padding: 4px 0; color: var(--ink-soft); }
.footer__link { border: 0; background: none; font: inherit; text-decoration: underline; cursor: pointer; }

.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px max(14px, var(--gutter)) calc(10px + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -2px 14px rgba(42, 26, 46, .22);
}
.sticky__info { margin: 0; font-size: 17px; line-height: 1.15; }
.sticky__info strong { display: block; font-size: 22px; }

/* Souhlas: bez volby se dál nedostanete. Tlačítka mají stejnou velikost a jsou stejně snadno k vidění */
html:has(.consent:not([hidden])) { overflow: hidden; }
.consent { position: fixed; inset: 0; z-index: 30; display: flex; align-items: flex-end; justify-content: center; background: rgba(42, 26, 46, .5); touch-action: none; }
.consent__panel {
  width: 100%; max-height: 100%; overflow-y: auto; padding: 18px var(--gutter) calc(16px + env(safe-area-inset-bottom)); border-radius: var(--radius) var(--radius) 0 0;
  background: var(--white); color: var(--ink); font-size: 18px; line-height: 1.35; outline: none; touch-action: pan-y;
}
.consent__panel p { margin: 0 0 14px; }
.consent__panel .consent__title { margin-bottom: 6px; font-size: 23px; line-height: 1.15; font-weight: 700; }
.consent__actions { display: grid; gap: 10px; }
.consent__actions button { min-height: 52px; padding: 0 8px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); color: var(--ink); font: 700 20px var(--font); cursor: pointer; }
.consent__actions .consent__accept { border-color: var(--wine); background: var(--wine); color: var(--white); }

/* FAPI formulář: vzhled sjednocený se stránkou, 16px+ brání přiblížení na iOS */
.fapi-order-form, .fapi-order-form * { font-family: var(--font) !important; }
.fapi-order-form form { border: 0 !important; }
.fapi-order-form label, .fapi-order-form .fapi-form-terms, .fapi-order-form .fapi-form-result-discount-code { color: var(--ink) !important; font-size: 18px !important; }
.fapi-order-form .fapi-form-basic-block { margin-bottom: 14px; }
.fapi-order-form .fapi-form-basic-block > div:first-child { padding: 12px 0 0 !important; background: none !important; }
.fapi-order-form form { counter-reset: lp-step; }
.fapi-order-form .fapi-form-basic-block-title { display: flex; align-items: center; gap: 10px; color: var(--ink) !important; font-size: 21px !important; font-weight: 700; text-align: left !important; counter-increment: lp-step; }
.fapi-order-form .fapi-form-basic-block-title::before { content: counter(lp-step); flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--curtain); color: var(--ink); font-size: 16px; font-weight: 700; }
.fapi-order-form .fapi-form-basic-block-title-after { top: 8px; }
#fapi-slot .fapi-form-basic-block-title-after > div { width: 84px !important; }
#fapi-slot .fapi-form-basic-block-title-after select { float: none; width: 100%; min-height: 34px; margin: 0 !important; padding: 4px 26px 4px 0 !important; border: 0 !important; background-color: transparent !important; background-position: right center !important; color: var(--ink-soft); font-size: 16px !important; text-align-last: right; }
.fapi-order-form .fapi-form-basic-block-title-after label { display: block; margin: 0; }
.fapi-order-form .fapi-form-basic-block > div:nth-child(2) { padding: 10px 0 14px !important; }
#fapi-slot .fapi-form-item-group > div:nth-child(2) { padding-bottom: 0 !important; }
#fapi-slot [class*="default-input"] > [class*="sm:f-flex"] { display: block !important; }
.fapi-order-form [class*="default-input"] label { display: block; width: auto !important; margin-bottom: 3px; font-weight: 600; }
.fapi-order-form .fapi-form-default-input-email label::after, .fapi-order-form .fapi-form-default-input-phone label::after { content: "sem pošleme vstupenky"; margin-left: 8px; color: var(--ink-soft); font-size: 16px; font-weight: 400; }
.fapi-order-form .fapi-form-default-input-phone label::after { content: "kdyby byl v e-mailu překlep"; }
.fapi-order-form input[type="text"], .fapi-order-form input[type="email"], .fapi-order-form input[type="number"] { min-height: 50px; border-color: #b9aeb9 !important; border-radius: var(--radius) !important; color: var(--ink) !important; font-size: 18px !important; }

.fapi-order-form input[name="country"] { color: transparent !important; caret-color: transparent; }
.fapi-form-default-input-country .f-p-px { padding: 0; }
.fapi-form-default-input-country button { border-radius: var(--radius) !important; display: flex; align-items: center; height: 50px; padding-top: 0 !important; padding-bottom: 0 !important; box-shadow: none !important; }
.fapi-form-default-input-country button span { font-size: 18px; color: var(--ink); }

.fapi-order-form .fapi-form-item > div { max-width: none !important; padding: 0 !important; }
.fapi-order-form .fapi-form-item label, .fapi-order-form .fapi-form-item label span { font-size: 20px !important; line-height: 1.25; font-weight: 700; }
.fapi-order-form .fapi-form-item-price, .fapi-order-form .fapi-form-item-price div { margin: 0 !important; padding: 0 !important; }
.fapi-order-form .fapi-form-item-price, .fapi-order-form .fapi-form-item-price * { color: var(--ink) !important; font-size: 20px !important; font-weight: 700; }
.fapi-order-form [data-fapi-validation-field^="item_count"] > div { width: 46px !important; height: 46px !important; border: 1px solid #b9aeb9; border-radius: var(--radius) !important; background: var(--white) !important; color: var(--ink); }
/* Rychlé klikání je dvojklik: nesmí označit cenu vedle a na mobilu nesmí přiblížit stránku */
.fapi-order-form [data-fapi-validation-field^="item_count"] > div:has(svg) { -webkit-user-select: none; user-select: none; touch-action: manipulation; }
.fapi-order-form [data-fapi-validation-field^="item_count"] input { width: 64px; height: 46px; min-height: 46px; border-radius: var(--radius) !important; }
/* Všechny hlášky FAPI stejně. FAPI jinak míchá odstíny červené a tloušťku písma. */
.fapi-order-form [class*="f-text-red-"]:not(input) { color: var(--error) !important; font-size: 16px !important; font-weight: 400 !important; line-height: 1.25; }
.fapi-order-form .fapi-form-alert { border-color: var(--error) !important; background: #fbeae7 !important; }
.fapi-order-form .f-text-green-500 { color: #2e6b34 !important; font-size: 16px !important; line-height: 1.25; }
.fapi-order-form .fapi-form-terms-errors { margin-top: 6px; }
.fapi-order-form [data-fapi-validation-field^="item_count"] svg { width: 26px !important; height: 26px !important; color: var(--ink) !important; }
/* Řádky vstupenky jako účtenka: popisek vlevo, hodnota vpravo. Bez rámečku, ať sedí k polím formuláře */
.fapi-order-form .fapi-form-item { display: block; }
.fapi-order-form .fapi-form-item > div:first-child { padding: 10px 0 !important; }
.fapi-order-form .fapi-form-item > div:last-child { display: flex; flex-direction: column-reverse !important; width: 100%; min-width: 0; }
.fapi-order-form .fapi-form-item > div:last-child > div { width: 100%; min-width: 0 !important; margin: 0 !important; padding: 11px 0 !important; border-top: 1px solid var(--line); }
/* Jediná položka: název a datum jsou hned nad formulářem. Přepínač zůstává zaškrtnutý, jen není vidět */
#fapi-slot.lp-single-item .fapi-form-item > div:first-child { display: none; }
#fapi-slot.lp-single-item .fapi-form-item .product-price { padding-top: 0 !important; border-top: 0; }
.fapi-order-form .product-price { width: 100% !important; display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between; align-self: stretch !important; }
.fapi-order-form .product-price::before { content: "Cena za vstupenku"; color: var(--ink); font-size: 18px; font-weight: 400; }
#fapi-slot .fapi-form-item > div:last-child > div:first-child { padding-bottom: 0 !important; }
.fapi-order-form .fapi-form-item > div:last-child > div:first-child { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: start; }
.fapi-order-form .fapi-form-item > div:last-child > div:first-child::before { content: "Počet vstupenek"; display: flex; align-items: center; min-height: 46px; color: var(--ink); font-size: 18px; line-height: 1.15; }
.fapi-order-form .lp-stock { margin-top: 4px; color: var(--ink-soft) !important; font-size: 16px !important; text-align: right; }
.fapi-order-form .lp-stock--low { color: var(--wine-dark) !important; font-weight: 700; }

/* FAPI má u telefonu napevno padding-left 112px, předvolba proto leží přes pole na celou šířku */
.fapi-form-default-input-phone .f-flex { position: relative; min-height: 50px; }
.fapi-form-default-input-phone button { display: flex; align-items: center; height: 50px; margin: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; border: 0 !important; border-right: 1px solid #b9aeb9 !important; border-radius: var(--radius) 0 0 var(--radius) !important; box-shadow: none !important; background: transparent !important; }
.fapi-form-default-input-phone button span { font-size: 18px; }
/* FAPI odsazuje rozbalený seznam o 40 px, naše pole mají 50 px, seznam by překrýval jejich spodek */
.fapi-form-default-input-phone .f-absolute.f-mt-10, .fapi-form-default-input-country .f-absolute.f-mt-10 { margin-top: 54px !important; }
.fapi-order-form input[name="phone"] { position: absolute !important; left: 0 !important; top: 0; width: 100% !important; height: 50px; margin: 0 !important; border-radius: var(--radius) !important; }

.fapi-order-form .fapi-form-payment-method > div { height: 92px; border-radius: var(--radius) !important; padding: 10px !important; border-width: 1.5px; color: var(--ink) !important; font-size: 18px; font-weight: 700; text-align: center; }
.fapi-order-form .fapi-form-payment-method > div:has(img) { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.fapi-order-form .fapi-form-payment-method > div:has(img)::after { content: "Platba kartou"; }
.fapi-order-form .fapi-form-payment-method img { max-height: 30px; }
/* FAPI má od 640 px tři sloupce i pro dvě metody, dlaždice pak nesahají na šířku formuláře */
@media (min-width: 640px) {
  #fapi-slot .f-grid:has(> .fapi-form-payment-method) { display: flex !important; }
  .fapi-order-form .fapi-form-payment-method { flex: 1 1 0; min-width: 0; }
}

#fapi-slot .fapi-order-form form { --input-color: #7d2240 !important; --tw-ring-color: rgba(125, 34, 64, .35); }
#fapi-slot .fapi-order-form form input[type="checkbox"], #fapi-slot .fapi-order-form form input[type="radio"] { width: 22px !important; height: 22px !important; flex: none; }
#fapi-slot .fapi-order-form form input[type="checkbox"] { border-radius: var(--radius-small) !important; }
.fapi-order-form .fapi-form-result-discount-code > div:last-child:not(:first-child) { border-radius: var(--radius); margin-top: 10px; box-shadow: none; }
.fapi-order-form .fapi-form-result-discount-code input[type="text"] { border-radius: var(--radius) 0 0 var(--radius) !important; }
.fapi-order-form .fapi-form-result-discount-code button { padding: 0 18px !important; border: 0 !important; border-radius: 0 var(--radius) var(--radius) 0 !important; background: var(--wine) !important; color: var(--white) !important; font-size: 18px !important; font-weight: 700; }
/* FAPI od 640 px dává slevový kód a cenu vedle sebe, formulář má ale všude jeden sloupec */
#fapi-slot .fapi-form-result-prices-group { flex-direction: column !important; }
.fapi-order-form .fapi-form-result-prices { margin-top: 12px; padding: 13px 14px !important; border-radius: var(--radius) !important; background: var(--curtain-pale); }
.fapi-order-form .fapi-form-terms { margin-top: 16px !important; align-items: flex-start; }
/* Všechny řádky se zaškrtávátkem a přepínačem: stejná mezera, text na střed prvního řádku */
#fapi-slot .fapi-form-default-show-company { margin: 0 !important; padding: 0 !important; }
#fapi-slot .fapi-form-show-company-base-checkbox, #fapi-slot .fapi-form-terms > div, #fapi-slot .fapi-form-result-discount-code > div:first-child, #fapi-slot .fapi-form-item > div:first-child > div { display: flex; align-items: flex-start; gap: 10px; margin: 0 !important; padding: 0 !important; }
#fapi-slot .fapi-form-show-company-base-checkbox, #fapi-slot .fapi-form-terms > div, #fapi-slot .fapi-form-result-discount-code > div:first-child { gap: 12px; }
#fapi-slot .fapi-order-form form .fapi-form-show-company-base-checkbox input, #fapi-slot .fapi-order-form form .fapi-form-terms input, #fapi-slot .fapi-order-form form .fapi-form-result-discount-code > div:first-child input, #fapi-slot .fapi-order-form form .fapi-form-item input[type="radio"] { margin: 2px 0 0 !important; }
#fapi-slot .fapi-order-form form .fapi-form-show-company-base-checkbox input, #fapi-slot .fapi-order-form form .fapi-form-terms input, #fapi-slot .fapi-order-form form .fapi-form-result-discount-code > div:first-child input { margin-left: 2px !important; }
#fapi-slot .fapi-form-show-company-base-checkbox label, #fapi-slot .fapi-form-terms label, #fapi-slot .fapi-form-result-discount-code > div:first-child a, #fapi-slot .fapi-form-item label { margin: 0 !important; line-height: 26px; }
.fapi-order-form .fapi-form-prices-repayment-with-vat-label { color: var(--ink) !important; font-size: 19px !important; font-weight: 700; }
.fapi-order-form .fapi-form-prices-repayment-with-vat-value { color: var(--ink) !important; font-size: 24px !important; font-weight: 700; }
.fapi-order-form .fapi-form-result-primary-purposes, .fapi-order-form .fapi-form-result-primary-purposes * { color: #7c6f80 !important; font-size: 14px !important; line-height: 1.35; }
.fapi-order-form .fapi-form-result-submit-group { width: 100%; margin: 16px 0 0 !important; padding: 0 !important; }
.fapi-order-form a, .fapi-order-form .fapi-form-result-discount-code label { color: var(--wine) !important; }
.fapi-order-form .fapi-form-result-primary-purposes a { color: var(--wine) !important; text-decoration: underline; }
.fapi-order-form button[type="submit"] {
  width: 100% !important; min-height: 62px; margin: 0 !important; border: 0 !important; border-radius: var(--radius) !important; background: var(--wine) !important; color: var(--white) !important;
  padding: 10px 12px 14px !important; font-size: clamp(18px, 5.2vw, 21px) !important; line-height: 1.2 !important; font-weight: 700 !important; text-shadow: none !important;
}
.fapi-float-price-container { background: var(--white) !important; border-color: var(--line) !important; box-shadow: 0 2px 10px rgba(42, 26, 46, .18); color: var(--ink) !important; font-size: 16px; opacity: 1; }
.fapi-float-price-container * { color: var(--ink) !important; font-size: 16px !important; }

.legal { max-width: 720px; margin: 0 auto; padding: 28px var(--gutter) 60px; }
.legal h1 { font-size: 32px; line-height: 1.15; margin: 0 0 16px; }
.legal h2 { font-size: 24px; margin-top: 26px; }
.legal__bar { position: sticky; top: 0; z-index: 10; padding-top: env(safe-area-inset-top); background: var(--white); border-bottom: 1px solid var(--line); }
.legal__back { display: block; max-width: 720px; margin: 0 auto; padding: 13px var(--gutter); font-weight: 700; text-decoration: none; }
.legal__end { margin-top: 32px; }
.legal__settings { padding: 6px 0; border: 0; background: none; color: var(--link); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

@media (min-width: 600px) {
  .wrap--split { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 40px; row-gap: 0; }
  .wrap--split h2 { margin-bottom: 14px; }
  .wrap--split .video { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .wrap--split .story__text { grid-column: 1; }
  .cast__list { grid-template-columns: repeat(4, 1fr); }
  .gallery__track { display: flex; justify-content: center; }
  .gallery__open { flex: 1 1 0; min-width: 0; }
  .consent__actions { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 600px) and (max-width: 1023px) {
  .wrap, .final .wrap, .gallery__track { max-width: calc(var(--column) + 2 * var(--gutter)); }
  .gallery__track { margin: 0 auto; padding: 0 var(--gutter); }
}

@media (min-width: 1024px) {
  .sticky { display: none; }
  .section { padding: 56px 0; }
  h2 { font-size: 36px; }
  .quotes__list { grid-template-columns: repeat(2, 1fr); }
  .quotes__list:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(4, 1fr); }
  .gallery__track img { height: 300px; aspect-ratio: auto; }
  .footer { padding-bottom: 26px; }
  .consent { align-items: center; }
  .consent__panel { max-width: 480px; padding: 24px; border-radius: var(--radius); }
}

@media (max-width: 359px) {
  #fapi-slot .fapi-float-price-container, #fapi-slot .fapi-float-price-container * { font-size: 14px !important; }
  #fapi-slot .fapi-float-price-container .fapi-form-prices-repayment-with-vat-label { margin-right: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lightbox[open], .lightbox__card { animation: none; }
  summary::after { transition: none; }
}
