/* Beatix – veřejný web. Tmavý vzhled s tyrkysovou z loga (#00adbc), písmo Poppins. */
:root {
  --bg: #050607;
  --card: #0b0e10;
  --card-hover: #10151a;
  --surface-2: #14191d;
  --border: #1c2328;
  --border-strong: #2a343b;
  --text: #f4f6f7;
  --soft: #c5cbd0;
  --muted: #8a9399;
  --accent: #00adbc;
  --accent-hover: #14c3d2;
  --accent-ink: #00191c;
  --accent-soft: rgba(0, 173, 188, .12);
  --danger: #ff6b7a;
  --ok: #3ddc97;
  --radius: 10px;
  --radius-lg: 14px;
  --container: 1200px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 Poppins, system-ui, -apple-system, 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }
::selection { background: var(--accent); color: #000; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 720px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: #000; padding: 8px 12px; z-index: 20; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.danger { color: var(--danger); }
.ok-text { color: var(--ok); font-weight: 600; }
.link { color: var(--accent); text-decoration: none; }
.link:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); text-decoration: none; font-size: 14px; font-weight: 500; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--soft); text-decoration: none; font-size: 14px; }
.back-link .icon { width: 18px; height: 18px; }
.back-link:hover { color: var(--accent); }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* ----- Hlavička a patička ----- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(5, 6, 7, .85);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 56px; min-height: 76px; }
.logo img { height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 36px; flex: 1; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--soft); transition: color .2s; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a.active { font-weight: 600; }
.header-tools { display: flex; gap: 4px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: transparent; color: #fff; cursor: pointer; text-decoration: none; position: relative;
  transition: background .2s, color .2s;
}
.icon-btn .icon { width: 22px; height: 22px; }
.menu-btn { display: none; }
@media (max-width: 760px) { .menu-btn { display: inline-grid; } }
.icon-btn:hover { background: rgba(255, 255, 255, .07); color: var(--accent); }
.icon-btn.copied::after {
  content: attr(data-tip); position: absolute; top: 100%; right: 0; margin-top: 6px; white-space: nowrap;
  background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 6px;
}

.site-main { flex: 1; padding: 0 0 80px; }

.site-footer { border-top: 1px solid var(--border); margin-top: auto; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 44px; padding-bottom: 32px; }
.footer-brand { display: grid; gap: 12px; max-width: 340px; }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { color: var(--muted); font-size: 14px; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; align-content: start; }
.footer-links a { color: var(--soft); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { color: #5c656b; font-size: 13px; padding-top: 18px; padding-bottom: 26px; border-top: 1px solid var(--border); }

/* ----- Tlačítka a formuláře ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border: 1px solid #fff; border-radius: var(--radius);
  background: #fff; color: #000; text-decoration: none;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: 0 8px 28px -10px rgba(0, 173, 188, .8); }
.btn-primary[disabled]:hover { background: var(--accent); box-shadow: none; }
.btn-outline { background: transparent; color: #fff; border-color: var(--border-strong); }
.btn-outline:hover { background: rgba(255, 255, 255, .05); color: #fff; border-color: #4a565e; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

input[type=text], input[type=email], input[type=tel], input[type=search], input[type=number], select {
  background: var(--card); border: 1px solid var(--border-strong); border-radius: var(--radius);
  min-height: 46px; padding: 0 14px; width: 100%; transition: border-color .2s, box-shadow .2s;
}
input::placeholder { color: #6b747a; }
input:focus, select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(0, 173, 188, .2); }
select { appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23fff' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
select option { background: var(--card); }
.select-sm { min-height: 38px; font-size: 14px; width: auto; padding-left: 12px; }

/* ----- Hero a vyhledávání ----- */
.hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--border); }
.hero-lights {
  position: absolute; inset: 0; z-index: -2;
  background:
    conic-gradient(from 200deg at 78% -10%, transparent 0deg, rgba(0, 173, 188, .32) 8deg, transparent 18deg, transparent 30deg, rgba(0, 173, 188, .22) 36deg, transparent 46deg, transparent 60deg, rgba(120, 220, 255, .18) 66deg, transparent 76deg),
    radial-gradient(60% 80% at 80% 0%, rgba(0, 173, 188, .35), transparent 70%),
    var(--bg);
}
.hero-image {
  position: absolute; top: 0; right: 0; bottom: 0; width: 62%; z-index: -1;
  background-size: cover; background-position: center;
  filter: saturate(110%) brightness(.8);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(0deg, transparent 0%, #000 35%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(0deg, transparent 0%, #000 35%);
  opacity: .75;
}
.hero-inner { padding-top: 88px; padding-bottom: 64px; }
.hero-title { font-weight: 700; font-size: clamp(38px, 5.6vw, 68px); line-height: 1.08; letter-spacing: -.01em; text-shadow: 0 2px 30px rgba(0, 0, 0, .6); }
.hero-sub { font-size: 18px; color: #e3e7ea; margin: 18px 0 30px; max-width: 460px; text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }

.search-bar { display: flex; max-width: 560px; background: #f1f4f5; border-radius: 12px; padding: 4px; box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .8); }
.search-field { flex: 1; display: flex; align-items: center; gap: 10px; padding-left: 14px; color: #3a4247; }
.search-field input {
  border: 0; background: transparent; color: #0b0e10; min-height: 46px; padding: 0; box-shadow: none !important; font-size: 15px;
}
.search-field input::placeholder { color: #5c656b; }
.search-submit {
  display: grid; place-items: center; width: 60px; border: 0; border-radius: 9px; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); transition: background .2s;
}
.search-submit:hover { background: var(--accent-hover); }
.search-submit .icon { width: 22px; height: 22px; }
.container > .search-bar { margin-bottom: 24px; }

.categories { display: flex; gap: 12px; overflow-x: auto; padding: 32px 0 6px; scrollbar-width: none; }
.categories::-webkit-scrollbar { display: none; }
.category {
  flex: 0 0 104px; display: grid; justify-items: center; gap: 8px; padding: 16px 8px 12px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; font-size: 13px; color: var(--soft); text-align: center;
  transition: border-color .2s, color .2s, background .2s;
}
.category .icon { width: 30px; height: 30px; color: var(--accent); }
.category span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category:hover { border-color: var(--border-strong); background: var(--card-hover); color: #fff; }
.category.active { border-color: var(--accent); background: var(--accent-soft); color: #fff; }

/* ----- Program ----- */
.section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin: 40px 0 18px; }
.section-heading { font-size: 28px; font-weight: 700; }
.section-heading .count { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 8px; vertical-align: middle; }
.section-tools { display: flex; align-items: center; gap: 20px; }

.month { margin-top: 26px; }
.month:first-of-type { margin-top: 0; }
.month-title { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.event-row {
  position: relative; display: grid; grid-template-columns: 172px minmax(0, 1fr) auto; align-items: stretch;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, background .2s, transform .2s;
}
.event-row:hover { border-color: #2c3a42; background: var(--card-hover); }
.event-row-thumb { position: relative; background: var(--surface-2); min-height: 112px; }
.event-row-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.event-row:hover .event-row-thumb img { transform: scale(1.05); }
.event-row-thumb .tag {
  position: absolute; left: 8px; bottom: 8px; font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink); padding: 2px 8px; border-radius: 5px;
}
.poster-fallback { display: grid; place-items: center; width: 100%; height: 100%; position: absolute; inset: 0; font-size: 44px; font-weight: 800; color: var(--accent);
  background: radial-gradient(circle at 30% 20%, rgba(0, 173, 188, .3), transparent 65%), #0d1114; }
.event-row-body { padding: 14px 18px; display: grid; gap: 4px; align-content: center; }
.event-row-title { font-size: 17px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; }
.event-row-title a { text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.event-row:hover .event-row-title a { color: var(--accent); }
.meta { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--soft); }
.meta .icon { width: 17px; height: 17px; margin-top: 2px; color: #a9b2b8; }
.more-dates { color: var(--accent); margin-left: 4px; }
.event-row-buy { display: grid; align-content: center; justify-items: end; gap: 10px; padding: 14px 16px 14px 0; }
.event-row-buy .btn { position: relative; z-index: 2; }
.from { font-size: 15px; font-weight: 600; white-space: nowrap; }

.organizer-head { display: flex; align-items: center; gap: 20px; margin: 36px 0 24px; }
.organizer-logo { width: 76px; height: 76px; object-fit: contain; background: #fff; border-radius: 14px; padding: 6px; }
.page-title { font-weight: 700; font-size: clamp(26px, 3.2vw, 36px); margin: 2px 0 6px; }
.empty { text-align: center; padding: 64px 0; color: var(--muted); display: grid; gap: 20px; justify-items: center; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.page { min-width: 44px; height: 44px; padding: 0 6px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: var(--radius); text-decoration: none; }
.page.current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.page.disabled { opacity: .3; }
a.page:hover { border-color: var(--accent); color: var(--accent); }

/* ----- Stránka akce ----- */
.container > .back-link { display: flex; width: max-content; margin: 28px 0 22px; }
.event-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.event-media {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2);
  border: 1px solid var(--border); isolation: isolate;
}
.event-media::before {
  content: ""; position: absolute; inset: -40px; z-index: -1;
  background: var(--img, none) center / cover no-repeat; filter: blur(40px) brightness(.6) saturate(130%);
}
.event-media img { width: 100%; height: 100%; object-fit: contain; }
.poster-fallback.big { font-size: 120px; }
.event-info-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; }
.pill { display: inline-block; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 7px; text-decoration: none; }
.pill:hover { background: var(--accent-hover); }
.event-info-head .share { margin-left: auto; }
.event-title { font-weight: 700; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.12; letter-spacing: -.01em; margin: 14px 0 20px; text-wrap: balance; }
.event-facts { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.event-facts li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: #e3e7ea; }
.event-facts .icon { width: 21px; height: 21px; margin-top: 2px; color: #b5bdc2; }
.event-price { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.event-cta { min-height: 50px; padding: 0 26px; }

.tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--border); margin: 44px 0 22px; overflow-x: auto; scrollbar-width: none; }
.tabs a { position: relative; padding: 12px 2px 14px; text-decoration: none; color: var(--soft); font-weight: 500; white-space: nowrap; }
.tabs a:hover { color: #fff; }
.tabs a.active { color: #fff; font-weight: 600; }
.tabs a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); }

.notice { background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--accent); padding: 16px 18px; border-radius: var(--radius); max-width: 760px; }
.notice-error { border-left-color: var(--danger); }
.notice .link { display: block; margin-top: 6px; }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.checkout-main { display: grid; gap: 28px; min-width: 0; }
.step { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.step legend { font-weight: 600; font-size: 17px; margin-bottom: 10px; padding: 0; }

.dates { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.date-option { position: relative; display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; background: var(--card); transition: border-color .2s, background .2s; }
.date-option:hover { border-color: var(--border-strong); }
.date-option input { position: absolute; opacity: 0; pointer-events: none; }
.date-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.date-option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.date-option.disabled { opacity: .4; cursor: not-allowed; }
.date-day { font-size: 13px; color: var(--soft); }
.date-time { font-size: 20px; font-weight: 700; }
.badge { display: inline-block; font-size: 12px; color: var(--muted); border: 1px solid var(--border-strong); border-radius: 999px; padding: 2px 10px; justify-self: start; }

.ticket-types { display: grid; gap: 10px; }
.ticket-types > .muted { margin-bottom: 2px; }
.ticket-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; padding: 14px 16px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s;
}
.ticket-row:hover { border-color: var(--border-strong); }
.ticket-row.has-qty { border-color: rgba(0, 173, 188, .5); }
.ticket-row.disabled { opacity: .45; }
.ticket-name { display: grid; gap: 2px; }
.ticket-name strong { font-weight: 600; font-size: 16px; }
.ticket-price { font-weight: 600; white-space: nowrap; }
.stepper { display: flex; align-items: center; border: 1px solid var(--border-strong); border-radius: 8px; overflow: hidden; }
.stepper button { width: 38px; height: 38px; background: transparent; border: 0; cursor: pointer; font-size: 18px; transition: color .2s, background .2s; }
.stepper button:hover { color: var(--accent); background: var(--accent-soft); }
.stepper input { width: 36px; min-height: 38px; border: 0; border-radius: 0; text-align: center; padding: 0; background: transparent; font-weight: 600; -moz-appearance: textfield; box-shadow: none !important; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.summary {
  position: sticky; top: 96px; display: grid; gap: 14px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px;
}
.summary-title { font-size: 18px; font-weight: 600; }
.summary-lines { list-style: none; margin: 0; padding: 0 0 12px; display: grid; gap: 8px; border-bottom: 1px solid var(--border); font-size: 13.5px; color: var(--soft); }
.summary-lines:empty::before { content: "Zatím nemáte nic vybráno."; color: var(--muted); }
.summary-lines li { display: flex; justify-content: space-between; gap: 12px; }
.summary-lines li span:last-child { white-space: nowrap; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.summary-total strong { font-size: 20px; }
.summary .btn { min-height: 50px; }
.summary > .btn:not([disabled])::after { content: "→"; font-size: 18px; line-height: 1; }
.trust { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: 13.5px; color: var(--soft); }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust .icon { width: 18px; height: 18px; color: #a9b2b8; }

.form-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.field-block { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.field-block:first-child { grid-column: 1 / -1; }
.field-block em { font-style: normal; color: #5c656b; }
.field-block input[aria-invalid=true] { border-color: var(--danger); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; color: var(--soft); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.form-error { background: rgba(255, 107, 122, .1); border: 1px solid var(--danger); color: #ffb8c0; border-radius: var(--radius); padding: 10px 12px; font-size: 14px; }

.description, .venue-section { margin-top: 56px; max-width: 790px; }
.description .section-heading, .venue-section .section-heading { font-size: 22px; margin-bottom: 14px; }
.prose { color: var(--soft); line-height: 1.8; font-size: 15.5px; }
.venue-card { display: grid; grid-template-columns: 200px 1fr; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.venue-visual {
  display: grid; place-items: center; min-height: 140px; color: var(--accent);
  background: radial-gradient(circle at 50% 40%, rgba(0, 173, 188, .35), transparent 65%),
              repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 22px),
              repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 22px), #0a1215;
}
.venue-visual .icon { width: 48px; height: 48px; filter: drop-shadow(0 0 12px rgba(0, 173, 188, .7)); }
.venue-body { padding: 18px 20px; display: grid; gap: 6px; align-content: center; }
.venue-body h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.venue-body .link-arrow { margin-top: 6px; }

/* ----- Objednávka, platba, vstupenky ----- */
.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 28px; display: grid; gap: 14px; margin-top: 48px; }
.status-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto; font-size: 28px; font-weight: 700; background: rgba(255, 255, 255, .06); color: var(--muted); }
.status-icon.ok { background: rgba(61, 220, 151, .14); color: var(--ok); }
.order-items { list-style: none; padding: 0; margin: 0; }
.order-items li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.order-items li div { display: grid; }
.order-items .muted { font-size: 13px; }
.order-total { font-size: 17px; border-bottom: 0 !important; }
.test-badge { justify-self: center; background: rgba(255, 216, 77, .12); color: #ffd84d; border-radius: 999px; padding: 4px 14px; font-size: 13px; font-weight: 600; }
.actions { display: grid; gap: 10px; }
.section-title { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.small-title { font-size: 15px; margin: 28px 0 10px; }

.tickets-head { display: grid; gap: 8px; justify-items: start; margin: 48px 0 24px; }
.tickets { display: grid; gap: 20px; margin-bottom: 20px; }
.ticket { background: #fff; color: #111; border-radius: 14px; overflow: hidden; break-inside: avoid; }
.ticket.invalid { opacity: .6; }
.ticket-head { background: #050607; color: #fff; padding: 18px 22px; border-bottom: 3px solid var(--accent); }
.ticket-head h2 { font-size: 20px; margin: 4px 0; }
.ticket-head .eyebrow { color: var(--accent); }
.ticket-body { display: flex; gap: 22px; padding: 22px; align-items: flex-start; }
.ticket .muted { color: #666; }
.qr { width: 180px; height: 180px; flex-shrink: 0; display: grid; place-items: center; }
.qr svg { width: 100%; height: 100%; }
.qr-invalid { color: #c62828; font-weight: 700; }
.ticket-details { display: grid; gap: 6px; }
.ticket-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 22px; font-weight: 700; letter-spacing: .12em; }
.ticket .ok-text { color: #1b8a4a; }
.ticket .link { color: #00808c; }

/* ----- Mapa sedadel ----- */
.seatmap { overflow: auto; background: #020303; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; -webkit-overflow-scrolling: touch; }
.seatmap-svg { display: block; width: 100%; height: auto; user-select: none; -webkit-user-select: none; }
.sm-stage { fill: #2a3035; }
.sm-stage-text { fill: #fff; font-size: .55px; font-weight: 700; letter-spacing: .1px; text-anchor: middle; dominant-baseline: central; }
.sm-frame { fill: none; stroke: #4a5056; stroke-width: .08; }
.sm-table { fill: #5c3a20; }
.sm-table-text { fill: #fff; font-size: .45px; font-weight: 700; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.sm-label { fill: #8a9399; font-size: .42px; font-weight: 700; text-anchor: middle; dominant-baseline: central; }
.sm-section { fill: #fff; font-size: .6px; }
.sm-seat { cursor: pointer; outline: none; }
.sm-seat rect { fill: var(--seat-color); transition: fill .15s; }
.sm-seat text { fill: #000; font-size: .38px; font-weight: 700; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
@media (hover: hover) { .sm-seat:not(.taken):hover rect { fill: #fff; } }
.sm-seat:focus-visible rect { stroke: #fff; stroke-width: .12; }
.sm-seat.selected rect { fill: #fff; stroke: var(--seat-color); stroke-width: .14; }
.sm-seat.taken { cursor: not-allowed; }
.sm-seat.taken rect { fill: #24282c; }
.sm-seat.taken text { fill: #4a5056; }
.seat-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0; font-size: 13px; color: var(--muted); }
.seat-legend li { display: flex; align-items: center; gap: 6px; }
.sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.sw.free { background: var(--accent); }
.sw.selected { background: #fff; }
.sw.taken { background: #24282c; border: 1px solid #3a4046; }
.selected-seats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.selected-seats:empty::before { content: "Zatím nemáte vybrané žádné místo."; color: var(--muted); font-size: 14px; }
.selected-seats li { display: grid; grid-template-columns: 1fr minmax(0, 270px) auto; gap: 10px; align-items: center; padding: 8px 10px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.selected-seats select { min-height: 40px; }
.selected-seats .remove { width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; border-radius: 50%; }
.selected-seats .remove:hover { color: var(--danger); background: rgba(255, 107, 122, .1); }
.ticket-seat { font-weight: 700; font-size: 17px; }

/* ----- Responzivita ----- */
@media (max-width: 1100px) {
  .event-list { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .header-inner { gap: 28px; }
  .main-nav { gap: 22px; }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .event-top { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 12px; min-height: 62px; }
  .logo img { height: 30px; }
  .header-inner { justify-content: space-between; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5, 6, 7, .97); border-bottom: 1px solid var(--border); padding: 8px 16px 14px;
  }
  .site-header.menu-open { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header.menu-open .main-nav { display: flex; background: var(--bg); box-shadow: 0 20px 40px rgba(0, 0, 0, .6); }
  .main-nav a { font-size: 16px; padding: 12px 4px; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a.active { color: var(--accent); }
  .header-tools { gap: 0; }
  .hero-image { width: 100%; opacity: .45; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 60%); mask-image: linear-gradient(0deg, transparent 0%, #000 60%); }
  .hero-inner { padding-top: 48px; padding-bottom: 36px; }
  .hero-sub { font-size: 16px; }
  .categories { padding-top: 22px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .category { flex-basis: 92px; }
  .section-head { margin-top: 30px; }
  .section-heading { font-size: 22px; }
  .event-row { grid-template-columns: 112px minmax(0, 1fr); }
  .event-row-thumb { grid-row: span 2; }
  .event-row-body { padding: 12px 14px 4px; }
  .event-row-title { font-size: 15.5px; }
  .meta { font-size: 13px; gap: 8px; }
  .event-row-buy { grid-template-columns: auto auto; justify-content: space-between; align-items: center; padding: 6px 14px 12px; }
  .event-row-buy .btn { min-height: 36px; padding: 0 14px; }
  .event-row-thumb .tag { display: none; }
  .ticket-row { grid-template-columns: 1fr auto; grid-template-areas: "name qty" "price qty"; gap: 2px 14px; }
  .ticket-row .ticket-name { grid-area: name; }
  .ticket-row .ticket-price { grid-area: price; color: var(--soft); font-size: 14px; }
  .ticket-row .stepper, .ticket-row > .badge { grid-area: qty; align-self: center; }
  .form-grid { grid-template-columns: 1fr; }
  .tabs { gap: 24px; margin-top: 32px; }
  .venue-card { grid-template-columns: 1fr; }
  .venue-visual { min-height: 100px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
  .ticket-body { flex-direction: column; align-items: center; text-align: center; }
  /* Na mobilu mapa v plné velikosti s posouváním (a přiblížením prsty). */
  .seatmap-svg { min-width: min(var(--min-width), 900px); }
  .selected-seats li { grid-template-columns: 1fr auto; }
  .selected-seats select { grid-column: 1 / -1; grid-row: 2; }
}

/* ----- Doprovodné stránky (O nás, Kontakt, Pro pořadatele, …) ----- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--border); padding: 28px 0 48px; }
.page-hero .back-link { display: flex; width: max-content; margin-bottom: 28px; }
.page-hero-title { font-size: clamp(34px, 5vw, 56px); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.page-hero-perex { font-size: 18px; color: #dde2e5; max-width: 640px; margin-top: 14px; }
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-content { padding-top: 40px; }
.prose-page { max-width: 760px; }
.prose h2 { font-size: 22px; font-weight: 700; color: #fff; margin: 32px 0 10px; }
.prose h3 { font-size: 18px; font-weight: 600; color: #fff; margin: 24px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 4px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); }
.prose strong { color: #fff; }
.prose > :first-child { margin-top: 0; }

.features { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; display: grid; gap: 8px; align-content: start; }
.feature h2 { font-size: 17px; font-weight: 600; margin-top: 6px; }
.feature p { color: var(--soft); font-size: 14px; }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.feature-icon .icon { width: 22px; height: 22px; }
.cta-band {
  margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  padding: 26px 28px; border-radius: var(--radius-lg); border: 1px solid rgba(0, 173, 188, .35);
  background: linear-gradient(120deg, rgba(0, 173, 188, .16), rgba(0, 173, 188, .03));
}
.cta-band h2 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 22px; }
.contact-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 16px; transition: border-color .2s; word-break: break-word; }
.contact-card:hover { border-color: var(--accent); }
.contact-card small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.company h2 { font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.company p { color: var(--soft); font-size: 14px; }
.socials { display: flex; gap: 6px; }
.socials .icon-btn { border: 1px solid var(--border-strong); }
.contact-form-wrap { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; scroll-margin-top: 96px; }
.contact-form { display: grid; gap: 16px; }
.contact-form h2, .form-done h2 { font-size: 20px; font-weight: 600; }
.contact-form .field-block.wide { grid-column: 1 / -1; }
.contact-form .btn { justify-self: start; }
textarea { background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 12px 14px; width: 100%; resize: vertical; font: inherit; color: inherit; min-height: 140px; }
textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(0, 173, 188, .2); }
textarea[aria-invalid=true], .field-block input[aria-invalid=true] { border-color: var(--danger); }
.field-block small.danger { font-size: 12.5px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 24px 0; }
.footer-contact { display: grid; gap: 2px; font-size: 14px; }
.footer-contact a { color: var(--soft); text-decoration: none; }
.footer-contact a:hover { color: var(--accent); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-hero { padding: 20px 0 32px; }
  .page-hero .back-link { margin-bottom: 18px; }
  .page-hero-perex { font-size: 16px; }
  .contact-form-wrap { padding: 18px; }
  .cta-band { padding: 20px; }
}

/* ----- Košík v hlavičce ----- */
.cart-wrap { position: relative; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.cart-wrap.bump .cart-count { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.mini-cart {
  display: none; position: absolute; top: calc(100% + 8px); right: -8px; width: 360px; max-width: calc(100vw - 24px); z-index: 20;
  background: var(--card); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 16px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .85);
}
.mini-cart::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; } /* most pro přejetí myší */
@media (hover: hover) {
  .cart-wrap:hover .mini-cart, .cart-wrap:focus-within .mini-cart { display: block; }
}
.cart-wrap.open .mini-cart { display: block; }
.checkout-page .mini-cart { display: none !important; }
.mini-cart-title { font-weight: 600; margin-bottom: 10px; }
.mini-cart-empty { color: var(--muted); font-size: 14px; text-align: center; padding: 10px 0; }
.mini-cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-height: 50vh; overflow: auto; }
.mini-cart-lines li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 24px; gap: 10px; align-items: center; }
.mini-thumb { width: 48px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-body { display: grid; min-width: 0; }
.mini-name { font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-name:hover { color: var(--accent); }
.mini-meta { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-price { font-size: 13px; font-weight: 600; white-space: nowrap; }
.mini-remove, .cart-remove {
  width: 24px; height: 24px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; font-size: 18px; line-height: 1;
}
.mini-remove:hover, .cart-remove:hover { color: var(--danger); background: rgba(255, 107, 122, .1); }
.mini-cart-foot { border-top: 1px solid var(--border); margin-top: 12px; padding-top: 12px; display: grid; gap: 10px; }
.mini-total { display: flex; justify-content: space-between; font-weight: 600; }

/* ----- Boční panel výběru na stránce akce ----- */
.summary .selected-seats li { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 8px; padding: 8px 10px; }
.summary .selected-seats .seat-name { font-size: 13.5px; font-weight: 500; }
.summary .selected-seats select { grid-column: 1 / -1; min-height: 38px; font-size: 14px; }
.summary .selected-seats .remove { width: 28px; height: 28px; font-size: 18px; }
.summary .selected-seats:empty::before { content: "Klepnutím vyberte místa v plánku sálu."; }
.sm-seat.incart { cursor: default; }
.sm-seat.incart rect { fill: transparent; stroke: var(--accent); stroke-width: .1; }
.sm-seat.incart text { fill: var(--accent); }
.sw.incart { background: transparent; border: 2px solid var(--accent); }
.added { display: grid; gap: 8px; padding: 12px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid rgba(0, 173, 188, .35); }
.added p { font-weight: 600; font-size: 14px; }
.added-check { color: var(--accent); }
.link-button { border: 0; background: none; color: var(--soft); cursor: pointer; font-size: 14px; padding: 4px; }
.link-button:hover { color: #fff; text-decoration: underline; }

/* ----- Pokladna ----- */
.checkout-page .container > .back-link { margin-bottom: 14px; }
.checkout-page .page-title { margin-bottom: 24px; }
.checkout-full { grid-template-columns: minmax(0, 1fr) 340px; }
.step-title { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.cart-events { display: grid; gap: 14px; }
.cart-event { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.cart-event-head { display: flex; gap: 14px; align-items: center; padding: 14px; border-bottom: 1px solid var(--border); }
.cart-thumb { width: 64px; height: 64px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-event-meta { display: grid; gap: 2px; min-width: 0; }
.cart-event-name { font-weight: 600; font-size: 16px; text-decoration: none; }
.cart-event-name:hover { color: var(--accent); }
.cart-rows { list-style: none; margin: 0; padding: 0; }
.cart-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 90px 28px; gap: 8px 16px; align-items: center;
  padding: 12px 14px; border-bottom: 1px solid var(--border);
}
.cart-row:last-child { border-bottom: 0; }
.cart-row-label { display: grid; }
.cart-row-total { text-align: right; white-space: nowrap; }
.cart-row.has-error { background: rgba(255, 107, 122, .06); }
.cart-row-error { grid-column: 1 / -1; color: var(--danger); font-size: 13.5px; }
.seat-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.seat-chip { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; padding: 3px 4px 3px 10px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface-2); }
.seat-chip button { width: 20px; height: 20px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; line-height: 1; }
.seat-chip button:hover { color: var(--danger); }
.seat-chip.taken { border-color: var(--danger); color: #ffb8c0; text-decoration: line-through; }
.customer-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; display: grid; gap: 14px; }
.checkout-main > section + section { margin-top: 8px; }
.order-subtotal { font-size: 14px; border-bottom: 0 !important; }
@media (max-width: 900px) {
  .checkout-full { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .mini-cart { display: none !important; }
  .cart-row { grid-template-columns: minmax(0, 1fr) auto 28px; }
  .cart-row .stepper, .cart-row .seat-chips { grid-column: 1 / 2; grid-row: 2; justify-self: start; justify-content: flex-start; }
  .cart-row-total { grid-column: 2; grid-row: 1; }
  .cart-remove { grid-column: 3; grid-row: 1; }
}
/* Odpočet držení míst v košíku */
.hold-note { font-size: 13px; color: var(--accent); font-weight: 500; }
.hold-note.expired { color: #ffd84d; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .no-print, .skip { display: none !important; }
  body { background: #fff; }
  .site-main { padding: 0; }
  .ticket { border: 1px solid #ccc; }
}
