﻿/*------ Bal Śląski 2026 ------
  Tri zakladni tokeny --brand, --accent, --paper jsou v BalSlaski-2026-theme.css (meni se na novy rocnik).
  Odvozene barvy maji staticky fallback (vychozi schema) a pro moderni prohlizece se dopocitaji pres color-mix().
------------------------------*/
:root {
    --surface-dark: #1f1e1c;
    --on-dark: #fafafa;
    --on-dark-muted: #b2b1ae;
    --line-dark: rgba(255, 255, 255, .14);
    --ink: #191816;
    --muted: #6b6a67;
    --gold-ink: #6f6030;
    --line: #e0dfdd;
    --soft: #f7f7f6;
    --scrim: rgba(14, 13, 11, .78);
}

@supports (color: color-mix(in oklch, red, blue)) {
    :root {
        --surface-dark: color-mix(in oklch, var(--brand), white 7%);
        --on-dark: color-mix(in oklch, var(--paper), var(--brand) 4%);
        --on-dark-muted: color-mix(in oklch, var(--paper), var(--brand) 32%);
        --line-dark: color-mix(in oklch, var(--paper), transparent 86%);
        --ink: color-mix(in oklch, var(--brand), var(--paper) 6%);
        --muted: color-mix(in oklch, var(--brand), var(--paper) 38%);
        --gold-ink: color-mix(in oklch, var(--accent), black 50%);
        --line: color-mix(in oklch, var(--brand), var(--paper) 88%);
        --soft: color-mix(in oklch, var(--brand), var(--paper) 96%);
        --scrim: color-mix(in oklch, var(--brand), transparent 22%);
    }
}

/* ===== Zaklad ===== */
/* vychozi okraj body (puvodni BalSlaski-1.0.1.css ho rusil) */
html, body { margin: 0; padding: 0; }
/* plynule posouvani na kotvy; sekce se zastavi pod sticky headerem */
html { scroll-behavior: smooth; }
.bs26 section[id] { scroll-margin-top: 60px; }
@media (min-width: 768px) { .bs26 section[id] { scroll-margin-top: 68px; } }
@media (min-width: 1100px) { .bs26 section[id] { scroll-margin-top: 76px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.bs26, .bs26 *, .bs26 *::before, .bs26 *::after { box-sizing: border-box; }

body.bs26-body, .bs26 {
    margin: 0;
    background: var(--brand);
    color: var(--on-dark);
    font-family: 'Open Sans', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

:where(.bs26) a { color: inherit; }
.bs26 a:hover { text-decoration: none; opacity: .88; }
.bs26 img { max-width: 100%; }
:where(.bs26) :is(h1, h2, h3) { font-family: 'Montserrat', sans-serif; text-transform: uppercase; margin: 0; padding: 0; width: auto; text-align: left; font-size: inherit; color: inherit; font-weight: inherit; }
.bs26 :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.bs-wrap { width: 100%; max-width: 1264px; margin: 0 auto; padding: 0 20px; }
.bs-kicker { margin: 0; font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.bs-kicker--ink { color: var(--gold-ink); }
.bs-h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 30px; line-height: 1.05; text-transform: uppercase; }
.bs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* tlacitka */
.bs26 .bs-btn, .bs26 a.bs-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 56px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent;
    background: var(--accent); color: var(--brand);
    font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
    text-decoration: none; text-align: center; cursor: pointer; line-height: 1.2;
}
.bs26 .bs-btn:hover { opacity: .88; }
.bs-btn--block { display: flex !important; width: 100%; }
.bs-btn--sm { min-height: 40px !important; padding: 0 16px !important; font-size: 13px !important; letter-spacing: .06em !important; }
.bs26 .bs-btn--outline { background: transparent; border-color: currentColor; color: inherit; min-height: 48px; font-size: 13px; letter-spacing: .08em; }
.bs26 .bs-btn--ghost { background: transparent; border-color: var(--line-dark); color: var(--on-dark); }
.bs-btn svg { flex: none; }

/* ===== Header ===== */
.bs-header { position: sticky; top: 0; z-index: 30; background: rgba(14, 13, 11, .94); background: color-mix(in oklch, var(--brand), transparent 6%); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-dark); }
.bs-header__in { max-width: 1264px; margin: 0 auto; min-height: 60px; padding: 0 8px 0 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 8px; }
.bs-logo { display: flex; align-items: center; }
.bs-logo img { height: 22px; width: auto; display: block; }
.bs-header__tools { display: flex; align-items: center; gap: 4px; }
.bs-flags { display: flex; align-items: center; gap: 6px; margin-right: 4px; }
.bs26 .bs-flags a { display: block; line-height: 0; border-radius: 3px; overflow: hidden; }
.bs-flags img { width: 24px; height: 16px; display: block; object-fit: cover; }
.bs-flags a.aspNetDisabled { opacity: .45; pointer-events: none; }
.bs-menu-toggle { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--on-dark); cursor: pointer; }
.bs-menu-toggle svg { width: 24px; height: 24px; }
.bs-menu-toggle .bs-ico-close { display: none; }
.bs-header.is-open .bs-menu-toggle .bs-ico-close { display: block; }
.bs-header.is-open .bs-menu-toggle .bs-ico-open { display: none; }
.bs-nav { display: none; order: 3; flex: 0 0 100%; border-top: 1px solid var(--line-dark); padding: 4px 8px 20px 0; }
.bs-header.is-open .bs-nav { display: block; }
.bs26 .bs-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--line-dark); color: var(--on-dark); text-decoration: none; font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.bs-nav a svg { color: var(--accent); flex: none; }
.bs26 .bs-nav a.is-active { color: var(--accent); }

/* ===== Hero ===== */
.bs-hero { position: relative; height: 720px; overflow: hidden; background: var(--brand); }
.bs-hero__img, .bs-hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.bs-hero__shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(14,13,11,.3) 0%, transparent 22%, rgba(14,13,11,.7) 52%, #0e0d0b 88%); }
@supports (color: color-mix(in oklch, red, blue)) {
    .bs-hero__shade { background: linear-gradient(to bottom, color-mix(in oklch, var(--brand), transparent 70%) 0%, transparent 22%, color-mix(in oklch, var(--brand), transparent 30%) 52%, var(--brand) 88%); }
}
.bs-hero__body { position: relative; height: 100%; padding: 0 20px 32px; display: flex; flex-direction: column; justify-content: flex-end; }
.bs-hero__inner { display: flex; flex-direction: column; gap: 14px; }
.bs-hero__top { display: flex; align-items: baseline; gap: 14px; }
.bs-hero__badge { position: static; flex: none; width: 88px; height: 88px; border-radius: 50%; border: 1.5px solid var(--accent); background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.bs-hero__badge b { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 36px; color: var(--accent); }
.bs-hero__top .bs-kicker { font-size: 14px; letter-spacing: .18em; }
.bs-hero__logo { width: 300px; height: auto; display: block; }
.bs-hero__date { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 22px; display: block; line-height: 1.65; }
.bs-hero__place { font-size: 15px; color: var(--on-dark-muted); display: block; line-height: 1.6; }
.bs-hero__cta { display: block; margin-top: 10px; }
.bs-hero__cta .bs-btn { width: 100%; }

/* ===== Historia ===== */
.bs-historia { background: var(--paper); color: var(--ink); padding: 56px 0; }
.bs-historia .bs-h2 { font-size: 34px; margin: 6px 0 20px; }
.bs-historia__grid { display: block; }
.bs-historia__pics { position: relative; margin: 0 0 56px; }
.bs-historia__pics .p1 { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 16px; }
.bs-historia__pics .p2 { position: absolute; right: 12px; bottom: -44px; width: 116px; aspect-ratio: 3 / 4; object-fit: cover; display: block; border-radius: 12px; border: 4px solid var(--paper); box-shadow: 0 12px 24px -8px rgba(14,13,11,.3); }
.bs-historia__extra { display: none; }
#history-section { position: relative; }
.bs-prose { font-size: 16px; line-height: 1.75; }
.bs-prose p { margin: 0 0 18px; }
.bs-prose > p:first-of-type { font-size: 18px; line-height: 1.65; font-weight: 600; margin-bottom: 28px; }
.bs-prose > p:last-of-type:not(:first-of-type) { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; }
.bs-prose blockquote { margin: 12px 0; padding: 0; }
.bs-prose blockquote::before { content: ""; display: block; width: 40px; height: 2px; background: var(--accent); margin-bottom: 12px; }
.bs-prose blockquote p { margin: 0; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 24px; line-height: 1.3; color: var(--ink); }
.bs-prose img, .bs-historia__extra img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 16px; }
.bs-prose a { color: var(--gold-ink); }
.bs-prose .bs-extra-imgs { display: block; margin: 10px 0 0; }
.bs-prose .bs-extra-imgs img { aspect-ratio: 16 / 10; object-fit: cover; margin: 0 0 10px; }
.bs-prose h1, .bs-prose h2, .bs-prose h3 { font-size: 22px; line-height: 1.2; margin: 24px 0 12px; }
.bs-prose > h1:first-child, .bs-prose > h2:first-child, .bs-prose > h3:first-child,
.bs-kontakt__body > h1:first-child, .bs-kontakt__body > h2:first-child, .bs-kontakt__body > h3:first-child { display: none; }
.bs26 .bs-historia a.bs-btn--outline { width: auto !important; display: inline-flex; margin-top: 24px; min-height: 48px; padding: 0 22px; color: var(--ink); border-color: var(--ink); }
.bs-btn--outline svg { width: 16px; height: 16px; transition: transform .2s; }
.bs26 a.bs-btn.bs-btn--outline, .bs26 button.bs-btn.bs-btn--outline { background: transparent; border: 1.5px solid currentColor; }
.bs26 .bs-historia a.bs-btn.bs-btn--outline { color: var(--ink); border-color: var(--ink); }
.bs26 .bs-historia a.bs-btn.bs-btn--outline:hover { background: var(--ink); color: var(--paper); opacity: 1; }
.bs-btn--outline.is-less svg { transform: rotate(180deg); }

/* ===== Bilety ===== */
.bs-bilety { position: relative; overflow: hidden; padding: 72px 20px; background: var(--brand); }
.bs-bilety__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.bs-bilety__shade { position: absolute; inset: 0; background: rgba(14,13,11,.78); }
@supports (color: color-mix(in oklch, red, blue)) { .bs-bilety__shade { background: color-mix(in oklch, var(--brand), transparent 22%); } }
.bs-bilety__in { position: relative; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.bs-bilety .bs-h2 { font-size: 28px; line-height: 1.15; color: var(--on-dark); text-align: center; text-wrap: balance; }
.bs-bilety p.bs-note { margin: 0; font-size: 15px; color: var(--on-dark-muted); }
.bs-bilety .bs-btn { margin-top: 8px; width: 100%; }

/* ===== Video ===== */
.bs-video { background: var(--brand); padding: 56px 0 24px; }
.bs-video__head { max-width: 1264px; margin: 0 auto; padding: 0 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.bs-video__head .bs-h2 { font-size: 30px; }
.bs-video__count { font-size: 13px; color: var(--on-dark-muted); white-space: nowrap; }
.bs-video__count .d { display: none; }
.bs-video__list { margin-top: 20px; padding: 0 20px 4px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.bs-video__list::-webkit-scrollbar { display: none; }
.bs26 .bs-vid { flex: none; width: 280px; scroll-snap-align: start; text-decoration: none; color: var(--on-dark); display: flex; flex-direction: column; gap: 10px; }
.bs-vid__media { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; display: block; background: var(--surface-dark); }
.bs-vid__media img, .bs-vid__media iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.bs-vid__media img { opacity: .75; }
.bs-vid__play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--accent); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.bs-vid__year { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--accent); display: block; line-height: 1.6; }
.bs-vid__title { font-size: 15px; font-weight: 600; line-height: 1.35; display: block; }

/* ===== Fotogalerie (AjaxControlToolkit TabContainer v novem kabate) ===== */
.bs-foto { background: var(--brand); padding: 40px 0 56px; }
.bs-foto__in { max-width: 1264px; margin: 0 auto; }
.bs-foto__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 0 20px; }
.bs-foto .bs-h2 { padding: 0; font-size: 30px; }
.bs-gallery { margin-top: 18px; }
.bs-gallery .ajax__tab_xp, .bs-gallery .ajax__tab_xp .ajax__tab_header, .bs-gallery .ajax__tab_xp .ajax__tab_body { background: none !important; border: 0 !important; margin: 0 !important; padding: 0 !important; font-size: 1em; }
.bs-gallery .ajax__tab_xp .ajax__tab_header { display: flex; gap: 8px; overflow-x: auto; padding: 0 20px 2px !important; scrollbar-width: none; }
.bs-gallery .ajax__tab_xp .ajax__tab_header::-webkit-scrollbar { display: none; }
.bs-gallery .ajax__tab_xp .ajax__tab_outer, .bs-gallery .ajax__tab_xp .ajax__tab_inner { display: block; height: auto !important; background: none !important; padding: 0 !important; margin: 0 !important; }
.bs-gallery .ajax__tab_xp .ajax__tab_tab { display: flex !important; align-items: center; height: 44px; padding: 0 18px !important; margin: 0 !important; border-radius: 999px; white-space: nowrap; background: transparent !important; color: var(--on-dark); border: 1px solid var(--line-dark); cursor: pointer; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 600; text-decoration: none !important; }
.bs-gallery .ajax__tab_xp .ajax__tab_active .ajax__tab_tab { background: var(--accent) !important; color: var(--brand) !important; border-color: var(--accent); font-weight: 700; }
/* cipy: TabContainer zaostri aktivni zalozku sam a vnejsi obrys by se na telefonu oriznul (hlavicka scrolluje); aktivni rok je poznat podle vyplneni */
.bs-gallery .ajax__tab_xp .ajax__tab_tab:focus, .bs-gallery .ajax__tab_xp .ajax__tab_tab:focus-visible { outline: none; }
.bs-foto__count { margin: 0; font-size: 13px; white-space: nowrap; color: var(--on-dark-muted); }
.bs-gallery .ajax__tab_xp .ajax__tab_panel:not([style*="none"]) { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px 20px 0; }
.bs-gallery .ajax__tab_xp .ajax__tab_body a[data-lightbox] { display: block; aspect-ratio: 1 / 1; border-radius: 12px; background-size: cover; background-position: center; background-repeat: no-repeat; float: none; width: auto; height: auto; margin: 0; padding: 0 !important; }
.bs-gallery .bs-hide { display: none !important; }
.bs-gallery .bs-more { grid-column: 1 / -1; margin-top: 8px; width: 100%; }
.bs26 .bs-gallery .bs-more { background: transparent; border-color: var(--accent); color: var(--accent); min-height: 52px; padding: 0 30px; font-size: 13px; letter-spacing: .08em; }

/* ===== Sponzori ===== */
.bs-sponsors { background: var(--paper); color: var(--ink); padding: 64px 20px 72px; text-align: center; }
.bs-sponsors .bs-wrap { padding: 0; }
.bs-sponsors .bs-h2 { text-align: center; margin: 0 0 40px; font-size: 30px; }
.bs-tier { display: flex; flex-direction: column; align-items: center; }
.bs-tier + .bs-tier::before { content: ""; display: block; width: 48px; height: 2px; margin: 44px 0; background: var(--line); }
.bs-tier--gen + .bs-tier::before { background: var(--accent); }
.bs-tier__title { margin: 0 0 20px; font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-align: center; line-height: 1.6; }
.bs-tier--gen .bs-tier__title { color: var(--gold-ink); margin-bottom: 18px; }
.bs-tier__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; width: 100%; }
.bs-logo-item { display: flex; align-items: center; justify-content: center; }
.bs-tier__logos img { display: block; width: auto; height: auto; max-width: 100%; }
.bs-tier--gen .bs-logo-item { min-height: 72px; }
.bs-tier--gen img { max-width: 280px; max-height: 64px; }
.bs-tier--mid img { max-width: 220px; max-height: 56px; }
.bs-tier--spon .bs-tier__logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.bs-tier--spon .bs-logo-item { height: 52px; }
.bs-tier--spon img { max-height: 34px; margin: 0 auto; }
.bs-tier--sup .bs-tier__logos { gap: 20px; }
.bs-tier--sup img { max-width: 140px; max-height: 60px; }

/* ===== Kontakt ===== */
.bs-kontakt { background: var(--brand); color: var(--on-dark); padding: 64px 0 8px; }
.bs-kontakt .bs-wrap { padding: 0 20px; }
.bs-kontakt__grid { display: block; }
.bs-kontakt .bs-h2 { font-size: 34px; margin: 6px 0; }
.bs-kontakt__sub { margin: 0 0 28px; font-size: 17px; color: var(--on-dark-muted); }
.bs-kontakt__body { font-size: 17px; color: var(--on-dark-muted); text-align: left; }
.bs-kontakt__body, .bs-kontakt__body p { text-align: left !important; }
.bs-contacts { display: flex; flex-direction: column; border-bottom: 1px solid var(--line-dark); }
.bs26 .bs-contact { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line-dark); text-decoration: none; color: var(--on-dark); }
.bs-contact__t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bs-contact__l { font-size: 13px; color: var(--on-dark-muted); }
.bs-contact__v { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 19px; line-height: 1.2; overflow-wrap: anywhere; }
.bs-contact__i { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.bs26 .bs-kontakt__body a:not(.bs-contact) { color: var(--accent); font-weight: 600; }

/* ===== Footer ===== */
.bs-footer { background: var(--brand); color: var(--on-dark-muted); padding: 40px 0 116px; font-size: 12px; }
.bs-footer .bs-wrap { padding: 0 20px; }
.bs-footer__logo { height: 26px; width: auto; display: block; }
.bs-footer__nav { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.bs26 .bs-footer__nav a { min-height: 44px; display: flex; align-items: center; color: var(--on-dark); text-decoration: none; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.bs-footer__bottom { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 12px; line-height: 1.6; }
.bs26 .bs-footer__bottom a { color: var(--on-dark); text-decoration: none; }

/* ===== Spodni lista (mobil) ===== */
.bs-sticky { position: sticky; bottom: 12px; z-index: 25; margin: -80px 12px 12px; height: 64px; border-radius: 999px; background: var(--surface-dark); border: 1px solid var(--line-dark); box-shadow: 0 12px 28px -8px rgba(0,0,0,.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: 0 6px 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bs-sticky__t { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.bs-sticky__t b { font-family: 'Montserrat', sans-serif; font-size: 15px; }
.bs-sticky__t span { font-size: 12px; color: var(--on-dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs26 .bs-sticky .bs-btn { min-height: 52px; padding: 0 22px; font-size: 14px; letter-spacing: .06em; }

/* ===== Cookies ===== */
.bs26 .cookies { position: fixed; left: 0; bottom: 0; width: 100%; z-index: 999999; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding: 12px 20px; background: var(--accent); color: var(--brand); font-size: 14px; line-height: 1.4; }
.bs26 .cookies.cookies-none { display: none !important; }
.bs26 .cookies .cookies-terms { color: var(--brand); float: none; height: auto; padding: 0; flex: 1 1 320px; }
.bs26 .cookies .cookies-button { float: none; }
.bs26 .cookies .cookies-button input { width: auto !important; min-height: 44px; padding: 0 22px !important; border: 0; border-radius: 999px; background: var(--brand); color: var(--on-dark); font-family: 'Montserrat', sans-serif; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.bs26 .cookies .cookies-button input:hover { background: var(--surface-dark); }

/* ===== Modal (rezervace) - telefon: spodni list ===== */
.bs-modal { position: fixed; inset: 0; z-index: 100000; display: none; align-items: flex-end; justify-content: center; }
.bs-modal.is-open { display: flex; }
.bs-modal__scrim { position: absolute; inset: 0; background: rgba(14,13,11,.78); background: var(--scrim); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border: 0; padding: 0; cursor: pointer; }
.bs-modal__box { position: relative; width: 100%; max-height: 100%; overflow: auto; background: var(--paper); color: var(--ink); border-radius: 24px 24px 0 0; padding: 10px 20px 28px; display: flex; flex-direction: column; gap: 18px; }
.bs-modal__grab { align-self: center; width: 40px; height: 4px; border-radius: 2px; background: var(--line); }
.bs-modal__top { display: flex; align-items: center; justify-content: space-between; }
.bs-modal__banner { display: none; }
.bs-modal__kd { display: none; }
.bs-modal__close { width: 44px; height: 44px; margin-right: -10px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.bs-modal__title { margin: -8px 0 0; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 26px; line-height: 1.15; text-transform: uppercase; }
.bs-modal__text { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.bs-modal__date { border-radius: 16px; background: var(--brand); color: var(--on-dark); padding: 18px 20px; display: flex; align-items: center; gap: 16px; }
.bs-modal__date .ic { color: var(--accent); flex: none; display: flex; }
.bs-modal__date .ic svg { width: 28px; height: 28px; }
.bs-modal__date .tx { display: flex; flex-direction: column; line-height: 1.25; }
.bs-modal__date small { font-size: 13px; color: var(--on-dark-muted); }
.bs-modal__date b { font-family: 'Montserrat', sans-serif; font-size: 20px; }
.bs26 .bs-modal .bs-btn { width: auto; min-height: 56px; font-size: 14px; letter-spacing: .03em; text-transform: none; padding: 0 20px; }

/* video okno */
.bs-modal--video { align-items: center; padding: 16px; }
.bs-modal--video .bs-modal__box { max-width: min(960px, calc((100vh - 150px) * 1.7778)); padding: 0; gap: 0; overflow: visible; max-height: none; background: #000; color: #fff; border-radius: 16px; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .7); }
.bs-modal--video .bs-modal__box > * { margin-left: 0 !important; margin-right: 0 !important; }
.bs-modal--video .bs-modal__close { position: absolute; top: -52px; right: 0; margin: 0; background: rgba(14, 13, 11, .6); color: #fff; }
.bs-video__frame { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 16px 16px 0 0; overflow: hidden; }
.bs-video__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.bs-video__ttl { margin: 0; padding: 12px 18px 14px; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--on-dark); border-radius: 0 0 16px 16px; }

/* promo okno */
.bs-modal--promo .bs-modal__box { align-items: center; padding-bottom: 20px; }
.bs-modal--promo .bs-modal__box img { max-height: 70vh; width: auto; border-radius: 12px; }

/* ===== Vyskakovaci okna z JS (ShowMessage / ShowPromo / countrycode) - pridavaji se do #form1 mimo .bs26 ===== */
.bs-popup-bg { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; background: rgba(14,13,11,.78); background: var(--scrim); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); cursor: pointer; }
.bs-popup { max-width: min(560px, 92vw); background: var(--paper); color: var(--ink); border-radius: 24px; padding: 28px; font-size: 16px; }
.bs-popup, .bs-popup span { color: var(--ink); font-family: 'Open Sans', system-ui, sans-serif; line-height: 1.6; }
.bs-popup-bg.promo .bs-popup { max-width: none; padding: 0; background: transparent; border-radius: 0; }
.bs-popup-bg.promo .bs-popup > span { display: block; line-height: 0; }
/* pozvanka: v puvodni velikosti, nikdy se nezvetsuje; na mensim displeji se zmensi (max 94 % sirky i vysky) se zachovanim pomeru stran */
.bs-popup-bg.promo .bs-popup img { display: block; width: auto; height: auto; max-width: 94vw; max-height: 94vh; object-fit: contain; border-radius: 12px; box-shadow: 0 24px 60px -16px rgba(0,0,0,.7); }
.bs-popup a { color: var(--gold-ink); font-weight: 700; }
.bs-popup img { max-width: 100%; max-height: 80vh; width: auto; height: auto; border-radius: 12px; display: block; }

/* ================= TABLET (>= 768 px) ================= */
@media (min-width: 768px) {
    .bs26, body.bs26-body { font-size: 17px; line-height: 1.65; }
    .bs-wrap, .bs-kontakt .bs-wrap, .bs-footer .bs-wrap { padding: 0 32px; }

    .bs-header__in { min-height: 68px; padding: 0 20px 0 32px; gap: 0 12px; }
    .bs-logo img { height: 26px; }
    .bs-header__tools { gap: 8px; }
    .bs-menu-toggle svg { width: 26px; height: 26px; }
    .bs-header .bs-btn--tickets { height: 44px; min-height: 44px !important; padding: 0 20px !important; letter-spacing: .08em !important; }
    .bs-nav { padding: 8px 12px 24px 0; }
    .bs-header.is-open .bs-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
    .bs26 .bs-nav a { min-height: 58px; }

    .bs-hero { height: 760px; }
    .bs-hero__img, .bs-hero__img img { object-position: 50% 22%; }
    .bs-hero__shade { background: linear-gradient(to bottom, rgba(14,13,11,.3) 0%, transparent 22%, rgba(14,13,11,.65) 55%, #0e0d0b 90%); }
    @supports (color: color-mix(in oklch, red, blue)) {
        .bs-hero__shade { background: linear-gradient(to bottom, color-mix(in oklch, var(--brand), transparent 70%) 0%, transparent 22%, color-mix(in oklch, var(--brand), transparent 35%) 55%, var(--brand) 90%); }
    }
    .bs-hero__body { padding: 0 32px 48px; }
    .bs-hero__inner { gap: 16px; }
    .bs-hero__badge { width: 108px; height: 108px; }
    .bs-hero__badge b { font-size: 44px; }
    .bs-hero__top { gap: 16px; }
    .bs-hero__top .bs-kicker { font-size: 18px; }
    .bs-kicker { font-size: 13px; letter-spacing: .22em; }
    .bs-hero__logo { width: 460px; }
    .bs-hero__date { font-size: 26px; }
    .bs-hero__place { font-size: 17px; }
    .bs-hero__cta { display: flex; gap: 12px; margin-top: 12px; }
    .bs-hero__cta .bs-btn { width: auto; min-height: 58px; padding: 0 32px; }

    .bs-historia { padding: 88px 0; }
    .bs-historia .bs-h2 { font-size: 44px; line-height: 1; margin: 6px 0 28px; }
    .bs-historia__right { text-align: center; }
    .bs-prose { text-align: left; }
    .bs-prose { font-size: 17px; line-height: 1.8; }
    .bs-prose > p:first-of-type { font-size: 20px; line-height: 1.6; margin-bottom: 36px; }
    .bs-prose > p:not(:first-of-type) { max-width: 620px; margin-left: auto; margin-right: auto; }
    .bs-prose > p:last-of-type:not(:first-of-type) { padding-top: 22px; }
    .bs-prose blockquote { max-width: 620px; margin: 16px auto; }
    .bs-prose blockquote::before { width: 44px; margin-bottom: 14px; }
    .bs-prose blockquote p { font-size: 30px; line-height: 1.25; }
    .bs-historia__pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 32px; }
    .bs-historia__pics .p1 { grid-column: span 2; border-radius: 18px; }
    .bs-historia__pics .p2 { position: static; width: 100%; height: 100%; aspect-ratio: auto; border: 0; box-shadow: none; border-radius: 18px; }
    .bs-prose .bs-extra-imgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 40px 0; }
    .bs-prose .bs-extra-imgs img { aspect-ratio: 4 / 3; margin: 0; }
    .bs26 .bs-historia a.bs-btn--outline { min-height: 52px; padding: 0 28px; margin-top: 28px; }

    .bs-bilety { padding: 96px 32px; }
    .bs-bilety .bs-h2 { font-size: 38px; line-height: 1.1; }
    .bs-bilety p.bs-note { font-size: 17px; }
    .bs-bilety .bs-btn { width: auto; min-height: 58px; padding: 0 40px; margin-top: 10px; }

    .bs-video { padding: 88px 0 32px; }
    .bs-video__head { padding: 0 32px; }
    .bs-video__head .bs-h2 { font-size: 38px; line-height: 1; }
    .bs-video__count { font-size: 14px; }
    .bs-video__list { margin-top: 28px; padding: 0 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; overflow: visible; }
    .bs26 .bs-vid { width: auto; }

    .bs-foto { padding: 56px 0 96px; }
    .bs-foto__head { padding: 0 32px; }
    .bs-foto .bs-h2 { padding: 0; font-size: 38px; line-height: 1; }
    .bs-gallery { margin-top: 20px; }
    .bs-gallery .ajax__tab_xp .ajax__tab_header { flex-wrap: wrap; overflow: visible; gap: 6px; padding: 0 32px !important; }
    .bs-gallery .ajax__tab_xp .ajax__tab_tab { padding: 0 16px !important; font-size: 13px; }
    .bs-foto__count { font-size: 15px; }
    .bs-gallery .ajax__tab_xp .ajax__tab_panel:not([style*="none"]) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px 32px 0; }
    .bs-gallery .ajax__tab_xp .ajax__tab_body a[data-lightbox] { aspect-ratio: 4 / 3; border-radius: 14px; }
    .bs-gallery .bs-more { width: auto; justify-self: center; margin-top: 18px; }

    .bs-sponsors { padding: 88px 32px 96px; }
    .bs-sponsors .bs-h2 { font-size: 38px; line-height: 1; margin-bottom: 48px; }
    .bs-tier + .bs-tier::before { width: 56px; margin: 52px 0; }
    .bs-tier--gen .bs-tier__title { margin-bottom: 22px; }
    .bs-tier--gen .bs-logo-item { min-height: 100px; }
    .bs-tier--gen img { max-width: 420px; max-height: 90px; }
    .bs-tier--mid img { max-width: 260px; max-height: 64px; }
    .bs-tier--spon .bs-tier__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; }
    .bs-tier--spon .bs-logo-item { height: 60px; }
    .bs-tier--spon img { max-height: 40px; }
    .bs-tier--sup .bs-tier__logos { gap: 28px; }
    .bs-tier--sup img { max-width: 150px; max-height: 66px; }

    .bs-kontakt { padding: 88px 0 16px; }
    .bs-kontakt .bs-h2 { font-size: 44px; line-height: 1; margin: 6px 0 8px; }
    .bs-kontakt__sub { font-size: 18px; margin-bottom: 32px; }
    .bs26 .bs-contact { gap: 20px; padding: 24px 0; }
    .bs-contact__l { font-size: 14px; }
    .bs-contact__v { font-size: 26px; }
    .bs-contact__i { width: 52px; height: 52px; }

    .bs-footer { padding: 48px 0 40px; font-size: 13px; }
    .bs-footer__logo { height: 28px; }
    .bs-footer__nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
    .bs26 .bs-footer__nav a { font-size: 12px; letter-spacing: .1em; }
    .bs-footer__bottom { gap: 10px; }
    .bs-sticky { display: none; }

    /* modal: centrovany dialog */
    .bs-modal { align-items: center; padding: 32px; }
    .bs-modal__scrim { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
    .bs-modal__box { max-width: 540px; border-radius: 28px; padding: 0 0 32px; gap: 18px; overflow: hidden auto; box-shadow: 0 40px 80px -24px rgba(0,0,0,.6); }
    .bs-modal__grab { display: none; }
    .bs-modal__banner { display: block; position: relative; height: 140px; flex: none; background: var(--brand); }
    .bs-modal__banner > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .bs-modal__banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(14,13,11,.45), #0e0d0b); }
    .bs-modal__banner .bs-modal__logo { position: absolute; z-index: 1; left: 32px; bottom: 22px; width: 210px; height: auto; }
    .bs-modal__top { position: absolute; top: 14px; right: 14px; z-index: 2; }
    .bs-modal__top .bs-kicker { display: none; }
    .bs-modal__close { margin: 0; background: rgba(14,13,11,.6); color: var(--on-dark); }
    .bs-modal__box > :not(.bs-modal__banner):not(.bs-modal__top):not(.bs-modal__grab) { margin-left: 32px; margin-right: 32px; }
    .bs-modal__box > .bs-modal__kd { display: block; margin-top: 10px; margin-bottom: -12px; }
    .bs-modal__title { margin-top: 0; font-size: 28px; line-height: 1.1; }
    .bs-modal__text { font-size: 17px; }
    .bs-modal__date { background: var(--soft); color: var(--ink); border-radius: 18px; padding: 18px 20px; gap: 16px; }
    .bs-modal__date .ic { width: 50px; height: 50px; border-radius: 50%; background: var(--brand); align-items: center; justify-content: center; }
    .bs-modal__date .ic svg { width: 24px; height: 24px; }
    .bs-modal__date small { font-size: 14px; color: var(--muted); }
    .bs-modal__date b { font-size: 22px; }
    .bs26 .bs-modal .bs-btn { min-height: 58px; font-size: 15px; padding: 0 20px; }
    .bs-modal--promo .bs-modal__box { max-width: 720px; padding: 12px; }
}

/* ================= DESKTOP (>= 1100 px) ================= */
@media (min-width: 1100px) {
    .bs-header__in { min-height: 76px; padding: 0 32px; gap: 32px; flex-wrap: nowrap; }
    .bs-logo img { height: 30px; }
    .bs-menu-toggle { display: none; }
    .bs-nav, .bs-header.is-open .bs-nav { display: flex; order: 0; flex: 0 1 auto; align-items: center; gap: 32px; border: 0; padding: 0; margin: 0 auto; }
    .bs26 .bs-nav a { min-height: 44px; border: 0; font-size: 13px; letter-spacing: .1em; }
    .bs-nav a svg { display: none; }
    .bs-header .bs-btn--tickets { height: 46px; min-height: 46px !important; padding: 0 24px !important; }

    .bs-hero { height: 720px; }
    .bs-hero__img, .bs-hero__img img { object-position: 60% 40%; }
    .bs-hero__shade { background: linear-gradient(to right, #0e0d0b 0%, rgba(14,13,11,.8) 32%, rgba(14,13,11,.25) 62%, transparent 100%), linear-gradient(to bottom, transparent 77%, #0e0d0b 100%); }
    @supports (color: color-mix(in oklch, red, blue)) {
        .bs-hero__shade { background: linear-gradient(to right, var(--brand) 0%, color-mix(in oklch, var(--brand), transparent 20%) 32%, color-mix(in oklch, var(--brand), transparent 75%) 62%, transparent 100%), linear-gradient(to bottom, transparent 77%, var(--brand) 100%); }
    }
    .bs-hero__body { max-width: 1264px; margin: 0 auto; padding: 0 32px; justify-content: center; }
    .bs-hero__inner { width: 600px; gap: 20px; }
    .bs-hero__badge b { font-size: 44px; }
    .bs-hero__top .bs-kicker { font-size: 20px; }
    .bs-hero__logo { width: 540px; margin-top: 8px; }
    .bs-hero__date { font-size: 30px; }
    .bs-hero__place { font-size: 18px; }
    .bs-hero__cta { margin-top: 16px; }
    .bs-hero__cta .bs-btn { padding: 0 32px; letter-spacing: .05em; }

    .bs-historia { padding: 120px 0; }
    .bs-historia__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start; }
    .bs-historia__left { grid-column: span 5; display: flex; flex-direction: column; gap: 24px; }
    .bs-historia__right { grid-column: 7 / span 6; padding-top: 108px; text-align: left; }
    .bs-historia .bs-h2 { font-size: 64px; line-height: 1; margin: 8px 0 16px; }
    .bs-historia__pics { display: block; position: relative; padding-bottom: 72px; margin: 0; }
    .bs-historia__pics .p1 { grid-column: auto; border-radius: 20px; }
    .bs-historia__pics .p2 { position: absolute; right: -24px; bottom: 0; width: 180px; height: auto; aspect-ratio: 3 / 4; border: 6px solid var(--paper); border-radius: 14px; box-shadow: 0 24px 40px -16px rgba(14,13,11,.35); }
    .bs-historia__extra { display: flex; flex-direction: column; gap: 24px; overflow: hidden; }
    .bs-historia__extra img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; }
    .bs-prose { font-size: 17px; line-height: 1.8; }
    .bs-prose p { margin-bottom: 22px; }
    .bs-prose > p:first-of-type { font-size: 21px; margin-bottom: 6px; }
    .bs-prose > p:not(:first-of-type) { max-width: none; margin-left: 0; margin-right: 0; }
    .bs-prose > p:last-of-type:not(:first-of-type) { padding-top: 24px; }
    .bs-prose blockquote { max-width: none; margin: 18px 0; }
    .bs-prose blockquote::before { width: 48px; margin-bottom: 16px; }
    .bs-prose blockquote p { font-size: 34px; line-height: 1.25; }
    .bs-prose .bs-extra-imgs { display: none; }
    .bs26 .bs-historia a.bs-btn--outline { margin: 22px 0 0; }

    .bs-bilety { padding: 120px 32px; }
    .bs-bilety .bs-h2 { font-size: 48px; line-height: 1.08; }
    .bs-bilety p.bs-note { font-size: 18px; }
    .bs-bilety__in { gap: 16px; }
    .bs-bilety .bs-btn { min-height: 60px; font-size: 16px; margin-top: 12px; }

    .bs-video { padding: 112px 0 40px; }
    .bs-video__head { padding: 0 32px; }
    .bs-video__head .bs-h2 { font-size: 44px; }
    .bs-video__count { font-size: 15px; }
    .bs-video__count .d { display: inline; }
    .bs-video__list { max-width: 1264px; margin: 32px auto 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
    .bs26 .bs-vid { gap: 12px; }

    .bs-foto { padding: 72px 0 120px; }
    .bs-foto__in { padding: 0 32px; }
    .bs-foto__head { padding: 0; }
    .bs-foto .bs-h2 { padding: 0; font-size: 44px; }
    .bs-gallery .ajax__tab_xp .ajax__tab_header { padding: 0 !important; justify-content: flex-start; }
    .bs-gallery .ajax__tab_xp .ajax__tab_panel:not([style*="none"]) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 16px 0 0; }
    .bs-gallery .ajax__tab_xp .ajax__tab_body a[data-lightbox] { border-radius: 16px; }
    .bs-gallery .bs-more { margin-top: 32px; }
    .bs26 .bs-gallery .bs-more { min-height: 54px; padding: 0 32px; }

    .bs-sponsors { padding: 120px 32px; }
    .bs-sponsors .bs-wrap { max-width: 1200px; }
    .bs-sponsors .bs-h2 { font-size: 44px; margin-bottom: 56px; }
    .bs-tier__title { letter-spacing: .2em; }
    .bs-tier + .bs-tier::before { width: 64px; margin: 64px 0; }
    .bs-tier--gen .bs-tier__title { margin-bottom: 24px; }
    .bs-tier--gen .bs-logo-item { min-height: 120px; }
    .bs-tier--gen img { max-width: 520px; max-height: 110px; }
    .bs-tier--mid img { max-width: 300px; max-height: 72px; }
    .bs-tier--spon .bs-tier__title { margin-bottom: 28px; }
    .bs-tier--spon .bs-tier__logos { display: flex; flex-wrap: wrap; gap: 40px 64px; max-width: 1080px; }
    .bs-tier--spon .bs-logo-item { height: 64px; }
    .bs-tier--spon img { max-width: 200px; max-height: 46px; margin: 0; }
    .bs-tier--sup .bs-tier__logos { gap: 32px; }
    .bs-tier--sup img { max-width: 160px; max-height: 72px; }

    .bs-kontakt { padding: 120px 0 40px; }
    .bs-kontakt__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
    .bs-kontakt__head { grid-column: span 4; }
    .bs-kontakt__body { grid-column: 6 / span 7; }
    .bs-kontakt .bs-h2 { font-size: 52px; margin: 8px 0 12px; }
    .bs-kontakt__sub { font-size: 19px; margin: 0; }
    .bs26 .bs-contact { gap: 24px; padding: 28px 0; }
    .bs-contact__l { font-size: 15px; }
    .bs-contact__v { font-size: 30px; line-height: 1.15; }
    .bs-contact__t { gap: 6px; }
    .bs-contact__i { width: 56px; height: 56px; }

    .bs-footer { padding: 40px 0; }
    .bs-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
    .bs-footer__nav { margin-top: 0; }
    .bs-footer__bottom { flex-direction: row; justify-content: space-between; gap: 32px; margin-top: 24px; padding-top: 20px; }
    .bs-footer__cookies { max-width: 720px; }

    .bs-modal__box { max-width: 560px; padding-bottom: 36px; gap: 20px; }
    .bs-modal__banner { height: 150px; }
    .bs-modal__banner .bs-modal__logo { left: 36px; bottom: 24px; width: 220px; }
    .bs-modal__box > :not(.bs-modal__banner):not(.bs-modal__top):not(.bs-modal__grab) { margin-left: 36px; margin-right: 36px; }
    .bs-modal__box > .bs-modal__kd { margin-top: 12px; margin-bottom: -14px; }
    .bs-modal__title { font-size: 30px; }
    .bs-modal__date { padding: 20px 22px; gap: 18px; }
    .bs-modal__date .ic { width: 52px; height: 52px; }
    .bs-modal__date b { font-size: 24px; }
    .bs26 .bs-modal .bs-btn { min-height: 58px; }
}

/* ================================================================
   PROCES REZERVACE A PLATBY (pages/balslaski/reservation/*)
   Vse pod .bs-flow, aby se nezmenila varianta /reservation/* ani admin.
   ================================================================ */
body.bs26-flow-body, .bs-flow-page { background: var(--paper); }

.bs-flowhead { background: var(--brand); color: var(--on-dark); }
.bs-flowhead__in { max-width: 1264px; margin: 0 auto; min-height: 64px; padding: 8px 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.bs26 .bs-flowhead .back-button { display: inline-flex; align-items: center; gap: 10px; justify-self: start; min-height: 44px; color: var(--on-dark); text-decoration: none; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: none; padding: 0; height: auto; line-height: 1.2; float: none; margin: 0; }
.bs26 .bs-flowhead .back-button::before { content: ""; flex: none; width: 20px; height: 20px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.bs-flowhead__logo { display: flex; align-items: center; justify-self: center; }
.bs-flowhead__logo img { height: 24px; width: auto; display: block; }
.bs-flowhead .bs-flags { justify-self: end; margin: 0; }
@media (max-width: 559px) { .bs26 .bs-flowhead .back-button { font-size: 0; gap: 0; } .bs26 .bs-flowhead .back-button::before { width: 26px; height: 26px; } }
.bs-flowband { background: #2f2e2b; background: color-mix(in oklch, var(--brand), var(--paper) 16%); color: var(--on-dark); text-align: center; font-size: 14px; padding: 10px 16px; line-height: 1.4; }

.bs-flow { background: var(--paper); color: var(--ink); min-height: 60vh; padding: 28px 0 64px; }
.bs-flow__in { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.bs-flow, .bs-flow * { box-sizing: border-box; }
.bs-flow .page, .bs-flow .content { width: auto; height: auto; margin: 0; }

.bs-flow h2, .bs-flow h1 { font-family: 'Montserrat', sans-serif; font-weight: 800; text-transform: uppercase; color: var(--ink); text-align: left; width: auto; font-size: 26px; line-height: 1.15; margin: 0 0 16px; }
.bs-flow .littleheader { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; color: var(--ink); }
.bs-flow a { color: var(--gold-ink); }
.bs-flow a:hover { text-decoration: none; opacity: .85; }
.bs-flow .clear { clear: both; }

/* kroky */
.bs-flow table.step-block, .bs-flow .step-block tbody, .bs-flow .step-block tr { display: block; width: 100%; font-size: 14px; }
.bs-flow .step-block tr { display: flex; flex-wrap: wrap; gap: 8px; }
.bs-flow .step-block td, .bs-flow .step-block td:last-child { display: block; flex: 1 1 140px; height: auto; padding: 0; border: 0; border-radius: 999px; background: var(--soft); text-align: center; font-size: 14px; }
.bs-flow .step-block td:hover { background: var(--line); }
.bs-flow .step-block td a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px; color: var(--muted); font-family: 'Montserrat', sans-serif; font-weight: 600; text-shadow: none; text-decoration: none; }
.bs-flow .step-block td strong { font-weight: 800; }
.bs-flow .step-block td.active { background: var(--brand); }
.bs-flow .step-block td.active a { color: var(--accent); font-weight: 700; }

/* inline float/vyska z puvodnich controlu - na uzke obrazovce pod sebe */
.bs-flow [style*="float"] { float: none !important; margin-left: 0 !important; }
.bs-flow td[style*="height"] { height: auto !important; }
.bs-flow td[style*="width: 80px"], .bs-flow td[style*="width:80px"] { width: 110px !important; }

/* tlacitka procesu */
.bs-flow .form-linkbutton, .bs-flow .form-linkbutton-cancel, .bs-flow a.form-linkbutton, .bs-flow input.form-linkbutton {
    display: flex; align-items: center; justify-content: center; width: 100%; max-width: 420px; min-height: 56px; margin: 20px auto 0; padding: 0 28px; border: 0; border-radius: 999px;
    background: var(--accent); color: var(--brand); font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-shadow: none; text-decoration: none; cursor: pointer; float: none;
}
.bs-flow .form-linkbutton:hover { background: var(--accent); color: var(--brand); opacity: .88; }
.bs-flow .form-linkbutton, .bs-flow .form-linkbutton-cancel, .bs-flow .form-linkbutton-back { text-align: center; text-wrap: balance; }
/* stejna mezera mezi hlavni akci, "zpet" a "zrusit" (puvodni .form-linkbutton-cancel ma margin-top !important) */
.bs-flow .form-linkbutton-back, .bs-flow .form-linkbutton-cancel { margin-top: 14px !important; }
.bs-flow .form-linkbutton-cancel { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
/* zruseni rezervace (nevratna akce) - cervena vypln, po najeti tmavsi; "zakonceni procesu / hlavni strana" zustava neutralni */
.bs-flow a[id$="_lbStorno"].form-linkbutton-cancel { background: #b3261e; border-color: #b3261e; color: #fff; }
.bs-flow a[id$="_lbStorno"].form-linkbutton-cancel:hover { background: #8f1d17; border-color: #8f1d17; color: #fff; opacity: 1; }
.bs-flow .form-linkbutton-cancel:hover { background: transparent; color: var(--ink); }
.bs-flow .form-linkbutton-help { text-align: center; color: var(--muted); font-size: 14px; }
/* tlacitko "zpet": cteny obrys misto sedeho pole, bez float (float odsouval ostatni tlacitka ze stredu) */
.bs-flow .form-linkbutton-back, .bs-flow a.form-linkbutton-back {
    position: static; float: none; z-index: auto; display: flex; align-items: center; justify-content: center; width: 100%; max-width: 420px; min-height: 56px; margin: 12px auto 0; padding: 0 28px;
    background: transparent; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); text-decoration: none; text-transform: uppercase;
    font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .04em; line-height: 1.2;
}
.bs-flow .form-linkbutton-back:hover { background: var(--ink); color: var(--paper); text-decoration: none; opacity: 1; }
.bs-flow .aspNetDisabled.form-linkbutton { background: var(--line); color: var(--muted); cursor: not-allowed; }

/* formulare */
.bs-flow fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.bs-flow fieldset[style] { width: 100% !important; float: none !important; height: auto !important; }
.bs-flow legend { display: block; width: 100%; margin: 0 0 12px; padding: 0 0 10px; border-bottom: 2px solid var(--accent); font-family: 'Montserrat', sans-serif; font-style: normal !important; font-weight: 800 !important; font-size: 18px !important; letter-spacing: .02em; text-transform: uppercase; color: var(--ink) !important; }
.bs-flow table { max-width: 100%; }
.bs-flow input[type="text"], .bs-flow input[type="password"], .bs-flow input[type="email"], .bs-flow input[type="tel"], .bs-flow textarea, .bs-flow select {
    width: 100% !important; max-width: 100%; min-height: 48px; padding: 0 14px !important; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font-family: 'Open Sans', sans-serif; font-size: 16px;
}
.bs-flow textarea { padding: 12px 14px !important; }
.bs-flow select { width: auto !important; min-width: 220px; padding: 0 40px 0 14px !important; font-size: 16px; }
.bs-flow input[type="text"]:focus, .bs-flow textarea:focus, .bs-flow select:focus { border-color: var(--ink); outline: 3px solid var(--accent); outline-offset: 0; }
.bs-flow input[type="text"]:disabled { background: var(--soft); color: var(--muted); }
.bs-flow input[type="checkbox"], .bs-flow input[type="radio"] { width: auto !important; min-height: 0; accent-color: var(--brand); }
.bs-flow fieldset table td { padding: 4px 8px 4px 0; vertical-align: middle; }
/* formular rezervace: mezi poli jmeno / prijmeni / telefon / email / heslo mensi mezery */
.bs-flow .bs-form__label { font-size: 15px; font-weight: 600; }
.bs-flow .bs-form__row--top .form-pwd-help { margin-top: 6px; font-size: 13px; color: var(--muted); }
.bs-flow .selectSalHolder { margin-top: 24px; text-align: left; }
.bs-flow .sal-info { margin-top: 20px; padding: 16px 18px; border-radius: 16px; background: var(--soft); color: var(--muted); font-size: 15px; }
.bs-flow .legend { margin: 0; }
.bs-flow .legend td { padding: 0 20px 6px 0; font-size: 14px; }
.bs-flow .platba-typ td { width: auto; padding-right: 20px; }
.bs-flow .platba-typ input { width: auto !important; }
.bs-flow .terms { margin-top: 20px; text-align: center; font-size: 12px; line-height: 1.5; color: var(--muted); }
.bs-flow .terms a { color: var(--gold-ink); }

/* validace */
.bs-flow span[style*="color:Red"], .bs-flow .validateError, .bs-flow span[style*="color: red"] { color: #b3261e !important; font-size: 14px; }
.bs-flow input.has-error { background: #fdeceb !important; border-color: #b3261e; animation: none; }
.bs-flow div.with-error.blink.has-error, .bs-flow td.with-error.has-error { background: #fdeceb; border-radius: 12px; animation: none; }

/* tabulky polozek / souhrn */
.bs-flow .item-list, .bs-flow .item-list-singel, .bs-flow .table-prosystem { width: 100%; border-collapse: separate; border-spacing: 0; }
.bs-flow .item-list th, .bs-flow .item-list-singel th { background: var(--brand); color: var(--on-dark); font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-shadow: none; padding: 10px 12px; text-align: left; }
.bs-flow .item-list td, .bs-flow .item-list-singel td { padding: 3px 8px; }
/* seznam mist ve formulari: mensi rozestupy - nizsi pole a mensi odsazeni bunek */
.bs-flow .item-list input[type="text"] { min-height: 40px; padding: 0 12px !important; font-size: 15px; border-radius: 10px; }
.bs-flow .item-list th { padding: 8px 8px; }
/* platnost a cena se nezalamuji (jinak 3 radky urcuji vysku radku) */
.bs-flow .item-list td[style*="center"] { white-space: nowrap; }

/* seznam mist: uzsi prvni sloupec, mensi pisma, vystredene nadpisy sloupcu */
/* pevne rozlozeni: sirky sloupcu nezavisi na obsahu poli (skript pri focusu maze inline style a sloupce se jinak posouvaly) */
.bs-flow .item-list { font-size: 14px; table-layout: fixed; }
.bs-flow .item-list input[type="text"] { min-width: 0; }
.bs-flow .item-list tr:first-child th:first-child { width: 190px !important; }
.bs-flow .item-list tr:first-child th:last-child { width: 56px !important; }
.bs-flow .item-list th { font-size: 12px; }
.bs-flow .item-list th:not(:first-child) { text-align: center; }
.bs-flow .item-list input[type="text"] { min-height: 38px; font-size: 14px; }

/* checkbox - vlastni vzhled (cely proces rezervace) */
.bs-flow input[type="checkbox"] { -webkit-appearance: none; appearance: none; position: relative; display: inline-block; vertical-align: middle; flex: none; width: 22px !important; height: 22px; min-height: 0; margin: 0; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--paper); cursor: pointer; transition: background-color .15s, border-color .15s; }
.bs-flow input[type="checkbox"]:hover { background: var(--soft); }
.bs-flow input[type="checkbox"]:checked { background: var(--brand); border-color: var(--brand); }
.bs-flow input[type="checkbox"]:checked::after { content: ""; position: absolute; inset: 0; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 72% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 72% no-repeat; }
.bs-flow input[type="checkbox"]:disabled { opacity: .45; cursor: not-allowed; }

/* tlacitko odebrani mista - stejna "krabicka" jako checkbox, krizek misto cervene ikony */
.bs-flow :is(.item-list, .bs-items) a[id*="_lbDelete"] { position: relative; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; width: 22px; height: 22px; border: 1.5px solid var(--ink); border-radius: 6px; color: var(--ink); text-decoration: none; transition: background-color .15s, color .15s; }
.bs-flow :is(.item-list, .bs-items) a[id*="_lbDelete"] img { display: none; }
.bs-flow :is(.item-list, .bs-items) a[id*="_lbDelete"]::before { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat; }
.bs-flow :is(.item-list, .bs-items) a[id*="_lbDelete"]:hover { background: var(--ink); color: var(--paper); opacity: 1; }
.bs-flow .item-list tr:nth-child(4n+1), .bs-flow .item-list tr:nth-child(4n+2), .bs-flow .item-list-singel tr:nth-child(odd) { background: var(--soft); }
.bs-flow .sum-row { font-size: 1.1em; }
.bs-flow #resumeRedirectTime { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--gold-ink); }
.bs-flow .result-resume { text-align: center; font-size: 1.1em; }

/* GoPay / doplnky */
/* tlacitko s napovedou: napoveda pod tlacitkem na stred (vic tlacitek pod sebou funguje stejne) */
.bs-flow .btn-with-help { position: static; display: flex; flex-direction: column; align-items: center; }
.bs-flow .btn-with-help span { position: static; width: auto; max-width: 420px; margin-top: 10px; font-size: 13px; line-height: 1.5; font-style: normal; text-align: center; color: var(--muted); cursor: default; }
.bs-flow .btn-with-help span:before { display: none; }

/* vyber salu: nazev + select jako jeden centrovany control */
.bs-flow .bs-salpick { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 28px 0 0; text-align: center; }
.bs-flow .bs-salpick__label { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.bs-flow .bs-salpick select { -webkit-appearance: none; appearance: none; width: min(100%, 560px) !important; min-height: 60px; padding: 0 56px 0 28px !important; border: 1.5px solid var(--ink); border-radius: 999px; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 20px; line-height: 1.2; text-align: center; text-align-last: center; color: var(--ink); cursor: pointer; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0d0b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 22px center / 20px; }
.bs-flow .bs-salpick select:hover { background-color: var(--soft); }

/* rozbaleny seznam salu: v Chrome/Edge je select prizpusobitelny (base-select), v ostatnich prohlizecich zustava nativni seznam */
@supports (appearance: base-select) {
    .bs-flow .bs-salpick select, .bs-flow .bs-salpick select::picker(select) { appearance: base-select; }
    .bs-flow .bs-salpick select { display: flex; align-items: center; justify-content: center; position: relative; padding: 0 56px !important; background-image: none; transition: background-color .15s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .bs-flow .bs-salpick select::picker-icon { content: 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='%230e0d0b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); position: absolute; right: 22px; top: 50%; width: 20px; height: 20px; margin-top: -10px; transition: rotate .2s; }
    .bs-flow .bs-salpick select:open::picker-icon { rotate: 180deg; }
    .bs-flow .bs-salpick select:open { background-color: var(--soft); }
    .bs-flow .bs-salpick select selectedcontent { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
    @media (max-width: 480px) {
        .bs-flow .bs-salpick select { padding: 0 44px !important; font-size: 16px; }
        .bs-flow .bs-salpick select::picker-icon { right: 16px; }
        .bs-flow .bs-salpick option { font-size: 16px; padding: 8px 16px; }
    }
    .bs-flow .bs-salpick select::picker(select) { box-sizing: border-box; margin-top: 8px; padding: 8px; border: 1.5px solid var(--ink); border-radius: 28px; background: var(--paper); box-shadow: 0 28px 56px -18px rgba(14, 13, 11, .4); max-height: min(60vh, 440px); overflow-y: auto; }
    .bs-flow .bs-salpick option { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 8px 28px; border-radius: 20px; font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 700; line-height: 1.25; text-align: center; color: var(--ink); background: transparent; cursor: pointer; }
    .bs-flow .bs-salpick option::checkmark { display: none; }
    .bs-flow .bs-salpick option:hover, .bs-flow .bs-salpick option:focus-visible { background: var(--soft); outline: none; }
    .bs-flow .bs-salpick option:checked { background: #e9e9e7; background: color-mix(in oklch, var(--brand), var(--paper) 90%); color: var(--ink); }
}

/* posledni aktualizace - jen drobny doplnek */
/* cas posledni aktualizace planu je jen pro administraci (tam se tento css nenacita); skript do popisku dal zapisuje, jen se nezobrazuje */
.bs-flow .lastrefresh { display: none; }

/* legenda stavu mist (barvy odpovidaji SVG) */
.bs-flow .bs-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 32px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.bs-flow .bs-legend__i { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; line-height: 1.3; color: var(--ink); }
.bs-flow .bs-legend__i i { display: block; flex: none; width: 24px; height: 14px; border-radius: 4px; border: 1px solid rgba(14, 13, 11, .25); }

/* nabidka registrace na uvolnena mista */
.bs-flow .form-linkbutton-help { display: block; max-width: 640px; margin: 22px auto 0; font-size: 14px; font-style: normal; line-height: 1.6; text-align: center; color: var(--muted); }
.bs-flow .form-linkbutton-help a { color: var(--gold-ink); font-weight: 700; text-decoration: underline; }

/* autor prodejniho modulu */
.bs-flow .bs-author { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 52px 0 0; }
.bs-flow .bs-author__t { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.bs-flow .bs-author img { display: block; height: 32px; width: auto; }

/* ---- krok platba ---- */
/* typ platby jako cipy (RadioButtonList = tabulka s radio + label) */
.bs-flow table.platba-typ, .bs-flow .platba-typ tbody, .bs-flow .platba-typ tr { display: flex; flex-wrap: wrap; gap: 10px; width: auto; margin: 4px 0 0; padding: 0; border: 0; }
.bs-flow .platba-typ td { position: relative; display: block; width: auto; padding: 0; }
.bs-flow .platba-typ input[type="radio"] { position: absolute; inset: 0; width: 100% !important; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.bs-flow .platba-typ label { position: static; display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0 22px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.bs-flow .platba-typ td:hover label { border-color: var(--ink); }
.bs-flow .platba-typ input[type="radio"]:checked + label { background: var(--brand); border-color: var(--brand); color: var(--accent); font-weight: 700; }
.bs-flow .platba-typ input[type="radio"]:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.bs-flow .with-error legend { float: none !important; padding: 0 0 8px; }
.bs-flow .with-error br { display: none; }

/* tabulka plateb: sirky sloupcu (1 popis, 2-3 jmeno/prijmeni, 4 kopirovat, 5 cena, 6 kupon, 7 odebrat) */
.bs-flow .item-list--pay tr:first-child th:nth-child(4) { width: 52px !important; }
.bs-flow .item-list--pay tr:first-child th:nth-child(5) { width: 110px !important; }
.bs-flow .item-list--pay tr:first-child th:nth-child(6) { width: 150px !important; }
/* tabulky souhrnu (generovane v kodu): 1. sloupec pevny, 2. sloupec bere zbytek, 3.+ pevne - stejne v tabulce rezervace i platby,
   aby byl sloupec Cena a Platnost pod sebou ve stejne vysce (3 cena, 4 typ platby, 5 platnost, 6 prazdny) */
.bs-flow table.item-list-singel { width: 100%; table-layout: fixed; }
.bs-flow .item-list-singel tr:first-child th:first-child { width: 300px !important; }
.bs-flow .item-list-singel tr:first-child th:nth-child(2) { width: auto !important; }
.bs-flow .item-list-singel tr:first-child th:nth-child(3) { width: 120px !important; }
.bs-flow .item-list-singel tr:first-child th:nth-child(4) { width: 110px !important; }
.bs-flow .item-list-singel tr:first-child th:nth-child(5) { width: 150px !important; }
.bs-flow .item-list-singel tr:first-child th:nth-child(n+6) { width: 24px !important; }
.bs-flow .item-list-singel td:nth-child(n+3) { white-space: nowrap; }

/* souhrnny radek (Celkem) - stejny vzhled jako .sum-row na kroku Platba: svetly, tucny, cara nad nim, castka na jednom radku */
.bs-flow .item-list-singel tr:not(:first-child) th { background: transparent; color: var(--ink); font-family: 'Open Sans', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; text-align: center; white-space: nowrap; border-top: 1.5px solid var(--ink); padding-top: 12px; }
.bs-flow .item-list-singel tr:not(:first-child) th[align="right"] { text-align: right; }
.bs-flow .item-list-singel tr:not(:first-child):has(> th) { background: transparent; }
.bs-flow .item-list .sum-row th { background: transparent; color: var(--ink); font-family: 'Open Sans', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; text-align: right; border-top: 1.5px solid var(--ink); padding-top: 12px; }
.bs-flow .item-list .sum-row th[align="center"] { text-align: center; white-space: nowrap; }
/* tlacitko kuponu v tabulce - kompaktni */
.bs-flow :is(.item-list, .bs-items) .form-linkbutton { width: auto; max-width: none; min-height: 34px; margin: 0 auto !important; padding: 0 14px; font-size: 12px; letter-spacing: .04em; }

/* ikony v tabulce: kopirovat (stejna "krabicka" jako checkbox a odebrani) */
.bs-flow :is(.item-list, .bs-items) a[id*="aCopy"] { position: relative; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; width: 22px; height: 22px; border: 1.5px solid var(--ink); border-radius: 6px; color: var(--ink); text-decoration: none; transition: background-color .15s, color .15s; }
.bs-flow :is(.item-list, .bs-items) a[id*="aCopy"]::before { content: ""; width: 13px; height: 13px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15V6a2 2 0 0 1 2-2h9'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15V6a2 2 0 0 1 2-2h9'/%3E%3C/svg%3E") center / contain no-repeat; }
.bs-flow :is(.item-list, .bs-items) a[id*="aCopy"]:hover { background: var(--ink); color: var(--paper); opacity: 1; }
.bs-flow img[src*="copy_32.png"], .bs-flow img[src*="delete_22.png"] { display: none; }

@media (min-width: 768px) {
    .bs-flowhead__in { padding: 8px 32px; min-height: 72px; }
    .bs-flowhead__logo img { height: 30px; }
    .bs-flow { padding: 48px 0 96px; }
    .bs-flow__in { padding: 0 32px; }
    .bs-flow h2, .bs-flow h1 { font-size: 34px; }
    .bs-flow .step-block td, .bs-flow .step-block td:last-child { flex: 1 1 0; }
    .bs-flow .form-linkbutton, .bs-flow .form-linkbutton-cancel { margin-left: auto; margin-right: auto; }
}

/* formular a platba: dva sloupce fieldsetu (puvodni rozlozeni) od 1024 px (stejny breakpoint jako tabulka polozek) */
@media (min-width: 1024px) {
    .bs-flow fieldset[style*="float"] { float: left !important; width: 47% !important; }
    .bs-flow fieldset[style*="float: right"] { float: right !important; }
    .bs-flow fieldset[style*="width: 40%"] { width: 48% !important; }
    .bs-flow div[style*="margin-left: 25px"] { float: left !important; margin-left: 2.5% !important; }
}

/* ================================================================
   Modalni okno (PopUp control) - napr. uplatneni kuponu
   ================================================================ */
.popup-body-background { background: rgba(14, 13, 11, .78) !important; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.popup-window { position: fixed; box-sizing: border-box; min-width: min(480px, 94vw); max-width: 94vw; padding: 0 0 32px; overflow: hidden; border: 0; border-radius: 28px; background: #fff; color: #191816; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .6); font-family: 'Open Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.5; }
.popup-window *, .popup-window *::before, .popup-window *::after { box-sizing: border-box; }
.popup-header { position: relative; height: auto; min-height: 0; background: #0e0d0b; border-bottom: 2px solid #dfc05b; cursor: move; }
.popup-header-text { margin: 0; padding: 26px 68px 26px 28px; color: #fff; font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.popup-header-close { position: absolute; top: 50%; right: 12px; float: none; width: 44px; height: 44px; margin: -22px 0 0; background: transparent; text-align: center; cursor: pointer; z-index: 1; }
.popup-header-close input { position: absolute; inset: 0; top: 0; width: 100% !important; height: 100% !important; margin: 0; padding: 0 !important; opacity: 0; cursor: pointer; }
.popup-header-close::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; background: #fff; pointer-events: none; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat; }
.popup-header-close:hover { background: rgba(255, 255, 255, .14); border-radius: 50%; }
.popup-body { margin: 0; padding: 0; border: 0; background: transparent; }
.popup-body-text { width: auto !important; padding: 28px 28px 0; border: 0; background: transparent; font-weight: 700; }
.popup-body-text input[type="text"] { display: block; width: 100% !important; min-height: 52px; margin-top: 10px; padding: 0 16px !important; border: 1.5px solid #191816; border-radius: 14px; background: #fff; color: #191816; font-family: 'Open Sans', sans-serif; font-size: 16px; font-weight: 400; }
.popup-body-text input[type="text"]:focus { outline: 3px solid #dfc05b; outline-offset: 0; }
.popup-body-button { display: flex; gap: 12px; height: auto; padding: 28px 28px 0; text-align: center; }
.popup-body-button input[type="submit"], .popup-body-button input[type="button"] { flex: 1 1 0; min-width: 0; width: auto !important; min-height: 50px; margin: 0; padding: 0 12px !important; border: 0; border-radius: 999px; background: #dfc05b; color: #0e0d0b; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.popup-body-button input[type="submit"]:hover, .popup-body-button input[type="button"]:hover { opacity: .88; }

/* mobil: kroky jako cisla v jedne rade (text jen u aktivniho kroku), tabulky se posouvaji do stran */
.bs-flow .step-block tr { flex-wrap: nowrap; gap: 6px; }
    .bs-flow .step-block td, .bs-flow .step-block td:last-child { flex: 0 0 40px; min-width: 0; }
.bs-flow .step-block td a { gap: 0; padding: 0 6px; white-space: nowrap; }
.bs-flow .step-block td strong { display: inline-block; min-width: 1ch; margin-right: 6px; }
.bs-flow .step-block td a { font-size: 0; }
.bs-flow .step-block td strong { font-size: 15px; }
.bs-flow .step-block td.active { flex: 1 1 0; }
.bs-flow .step-block td.active a { font-size: 13px; padding: 0 8px; }
.bs-flow .step-block .bs-step-t { overflow: hidden; text-overflow: ellipsis; }
.bs-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bs-scroll > table.item-list { min-width: 720px; }
.bs-scroll > table.item-list-singel { min-width: 760px; }
@media (min-width: 768px) {
    .bs-scroll > table.item-list, .bs-scroll > table.item-list-singel { min-width: 0; }
}
/* kroky pod 1024 px: neaktivni = kulate 40x40 s cislem presne uprostred, aktivni = stejne vysoka pilulka */
@media (max-width: 1023px) {
    .bs-flow .step-block td, .bs-flow .step-block td:last-child { height: 40px; }
    .bs-flow .step-block td a { min-height: 40px; height: 100%; }
    .bs-flow .step-block td:not(.active) { flex: 0 0 40px; width: 40px; }
    .bs-flow .step-block td:not(.active) a { padding: 0; justify-content: center; }
    .bs-flow .step-block td:not(.active) strong { margin: 0; }
}

/* kroky: od 1024 px vsechny s textem */
@media (min-width: 1024px) {
    .bs-flow .step-block td, .bs-flow .step-block td:last-child { flex: 1 1 0; }
    .bs-flow .step-block td a { padding: 0 14px; }
    .bs-flow .step-block td a { font-size: 14px; }
    .bs-flow .step-block td strong { font-size: inherit; }
    .bs-flow .step-block td.active a { font-size: 14px; padding: 0 14px; }
    .bs-flow .step-block td.active { flex: 1 1 0; }
}

/* ---- formular: seznam mist (rozlozeni je v FormItems-1.0.1.css, tady jen vzhled) ---- */
.bs-flow .bs-items { font-size: 14px; }
.bs-flow .bs-items__head { font-family: 'Montserrat', sans-serif; }
.bs-flow .bs-items input[type="text"] { padding: 0 12px !important; border-radius: 10px; }
.bs-flow .bs-items__row [data-label]::before { font-family: 'Montserrat', sans-serif; }

/* ---- potvrzovaci okno (misto confirm()) ---- */
.bs-modal--confirm .bs-modal__box { max-width: 480px; gap: 0; padding: 0 0 28px; overflow: hidden; }
.bs-modal--confirm .bs-modal__grab { display: none; }
.bs-modal--confirm .bs-modal__box > * { margin-left: 0 !important; margin-right: 0 !important; }
.bs-modal--confirm .bs-modal__title { margin: 0; padding: 26px 28px; background: var(--brand); color: #fff; border-bottom: 2px solid var(--accent); font-size: 18px; letter-spacing: .02em; }
.bs-modal--confirm .bs-modal__text { margin: 0; padding: 28px 28px 0; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.6; text-align: left; }
.bs-confirm__actions { display: flex; flex-direction: row; gap: 12px; margin: 0; padding: 30px 28px 0; }
.bs-confirm__actions .bs-btn { flex: 1 1 0; min-width: 0; }
.bs26 .bs-modal--confirm .bs-btn { width: auto; min-height: 52px; margin: 0; padding: 0 12px; }
.bs26 .bs-modal--confirm .bs-confirm__ok { background: #b3261e; border-color: #b3261e; color: #fff; }
.bs26 .bs-modal--confirm .bs-confirm__ok:hover { background: #8f1d17; opacity: 1; }
/* informacni okno (BsAlert) - jen jedno tlacitko ve zlate */
.bs-modal--confirm.is-alert .bs-confirm__cancel { display: none; }
.bs26 .bs-modal--confirm.is-alert .bs-confirm__ok, .bs26 .bs-modal--confirm.is-prompt .bs-confirm__ok { background: var(--accent); border-color: var(--accent); color: var(--brand); }
.bs26 .bs-modal--confirm.is-alert .bs-confirm__ok:hover, .bs26 .bs-modal--confirm.is-prompt .bs-confirm__ok:hover { background: var(--accent); opacity: .88; }
/* okno s polem pro text (BsPrompt) */
.bs-modal--confirm .bs-confirm__field { display: none; padding: 20px 28px 0; }
.bs-modal--confirm.is-prompt .bs-confirm__field { display: block; }
.bs-modal--confirm .bs-confirm__input { display: block; box-sizing: border-box; width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 14px; background: #fff; color: var(--ink); font-family: 'Open Sans', sans-serif; font-size: 16px; }
.bs-modal--confirm .bs-confirm__input:focus { outline: 3px solid var(--accent); outline-offset: 0; }
@media (min-width: 768px) {
    .bs-modal--confirm .bs-modal__box { padding: 0 0 32px; }
    .bs-modal--confirm .bs-modal__title { padding: 28px 32px; }
    .bs-modal--confirm .bs-modal__text { padding: 32px 32px 0; }
    .bs-modal--confirm .bs-confirm__field { padding: 24px 32px 0; }
    .bs-confirm__actions { padding: 32px 32px 0; }
}

/* ---- platba: seznam mist, soucet, kopirovani platce (rozlozeni je v FormItems-1.0.1.css) ---- */
.bs-flow .bs-items__sum { font-family: 'Open Sans', sans-serif; font-size: 15px; }
.bs-flow .bs-copy .form-linkbutton { white-space: nowrap; }

/* ---- tlacitko kopirovat v hlavicce bloku (legend) ---- */
.bs-flow legend.bs-legend--btn::after { content: ""; display: table; clear: both; }
.bs-flow .bs-copybtn { float: right; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin: -4px 0 0 12px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; line-height: 1; white-space: nowrap; transition: background-color .15s, color .15s; }
.bs-flow .bs-copybtn::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15V6a2 2 0 0 1 2-2h9'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15V6a2 2 0 0 1 2-2h9'/%3E%3C/svg%3E") center / contain no-repeat; }
.bs-flow .bs-copybtn:hover { background: var(--ink); color: var(--paper); }
.bs-flow .padding-t-b-20 { padding-top: 2px; padding-bottom: 4px; }

/* karta (do 1023 px): tlacitko kopirovat u polozky vypada jako tlacitko v hlavickach (pilulka s ikonou a textem) */
@media (max-width: 1023px) {
    .bs-flow .bs-items--pay .bs-c-copy a[id*="aCopy"] { width: auto; height: auto; min-height: 30px; padding: 0 13px; gap: 6px; border-radius: 999px; font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .06em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
    .bs-flow .bs-items--pay .bs-c-copy a[id*="aCopy"]::before { width: 12px; height: 12px; }
    .bs-flow .bs-items--pay .bs-c-copy a[id*="aCopy"]::after { content: attr(data-text); }
}

/* ---- souhrn: seznam polozek ---- */
.bs-flow .bs-res { font-size: 14px; }
.bs-flow .bs-res__head, .bs-flow .bs-res__row [data-label]::before { font-family: 'Montserrat', sans-serif; }
.bs-flow .bs-res__sum { font-family: 'Open Sans', sans-serif; font-size: 15px; }

/* ================================================================
   Plan salu (reserve/select): zvetseni na celou obrazovku - BalSlaskiPlan.v1.01.js
   Okno je jen CSS trida .is-full na obalu #bsPlan, objekt se nikam neprenasi.
   ================================================================ */
.bs-flow .bs-plan__bar { display: flex; justify-content: flex-end; margin: 24px 0 12px; }
.bs-flow .bs-plan__open { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .06em; line-height: 1; text-transform: uppercase; cursor: pointer; transition: background-color .15s, color .15s; }
.bs-flow .bs-plan__open svg { width: 16px; height: 16px; flex: none; }
.bs-flow .bs-plan__open:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.bs-flow .bs-plan__open:disabled { opacity: .4; cursor: default; }
@media (max-width: 767px) {
    .bs-flow .bs-plan__bar { margin-bottom: 24px; }
    .bs-flow .bs-plan__open { width: 100%; justify-content: center; min-height: 48px; }
}
.bs-flow .bs-plan__tools, .bs-flow .bs-plan__legend { display: none; }

.bs-flow .bs-plan.is-full { position: fixed; inset: 0; z-index: 90000; display: flex; flex-direction: column; box-sizing: border-box; background: #fff; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
.bs-flow .bs-plan.is-full .bs-plan__bar { display: none; }
.bs-flow .bs-plan.is-full .bs-plan__tools { display: flex; flex: none; align-items: center; justify-content: flex-end; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fff; }
.bs-flow .bs-plan__tools button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--ink); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; transition: background-color .15s, color .15s; }
.bs-flow .bs-plan__tools button svg { width: 20px; height: 20px; }
.bs-flow .bs-plan__tools button:hover { background: var(--soft); }
.bs-flow .bs-plan__tools button:focus { outline: none; }
.bs-flow .bs-plan__tools button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.bs-flow .bs-plan__tools .bs-plan__close { margin-left: 10px; background: var(--ink); color: #fff; }
.bs-flow .bs-plan__tools .bs-plan__close:hover { background: #3a3936; }
.bs-flow .bs-plan.is-full #SvgSal { display: block; flex: 1 1 0; min-height: 0; width: 100% !important; height: auto !important; aspect-ratio: auto !important; margin: 0 !important; }
.bs-flow .bs-plan.is-full .bs-plan__legend { display: flex; flex: none; flex-wrap: wrap; justify-content: center; gap: 6px 16px; width: auto; margin: 0; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; font-size: 12px; }
html.bs-plan-open { overflow: hidden; overscroll-behavior: none; }

/* tooltip nad planem salu - tooltip.js ho vklada primo do body, styl z tooltip.css se prebije */
body > .tooltip[id^="tooltipbox_"] { box-sizing: border-box; width: auto; max-width: min(280px, calc(100vw - 24px)); padding: 12px 16px; border: 0; border-left: 4px solid var(--accent, #dfc05b); border-radius: 14px; background: var(--paper, #fff); color: var(--ink, #191816); box-shadow: 0 14px 34px -10px rgba(14, 13, 11, .45), 0 0 0 1px rgba(14, 13, 11, .08); font-family: 'Open Sans', sans-serif; font-size: 13px; line-height: 1.5; pointer-events: none; z-index: 90100; }
body > .tooltip[id^="tooltipbox_"]::first-line { font-weight: 700; }
