/* E-shop oSpolek – barvy značky: modrá #0864A6, zelená #65A94B / #5D9A3B, šedomodrá #647789 */
:root {
  --brand: #0864a6;
  --brand-strong: #064f84;
  --brand-soft: #e3eff8;
  --green: #65a94b;
  --green2: #5d9a3b;
  --slate: #647789;
  --ink: #142231;
  --line: #e2e8ee;
  --bg: #f6f9fb;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, #e7f0f7, #fafcfd 40%, #eef6ea);
  min-height: 100vh;
  line-height: 1.55;
}
a {
  color: var(--brand-strong);
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
  padding: 16px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--brand);
  text-decoration: none;
}
.brand img {
  height: 40px;
  width: auto;
}
main {
  max-width: 860px;
  margin: 0 auto 40px;
  padding: 28px 28px 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 20px 50px -30px rgba(14, 42, 72, 0.35);
}
h1 {
  margin: 0 0 6px;
  font-size: 1.9rem;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 1.15rem;
}
.lead {
  color: var(--slate);
  margin-top: 0;
}
.muted {
  color: var(--slate);
}
.small {
  font-size: 0.85rem;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px 18px;
  margin: 18px 0;
}
legend {
  font-weight: 700;
  padding: 0 6px;
}
label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin: 8px 0;
}
.choice label {
  font-weight: 500;
  display: flex;
  gap: 8px;
  align-items: baseline;
}
input,
textarea {
  width: 100%;
  font: inherit;
  margin-top: 4px;
  padding: 9px 11px;
  border: 1px solid #cbd5df;
  border-radius: 10px;
  background: #fff;
}
input[type='radio'],
input[type='checkbox'] {
  width: auto;
  margin: 0;
  accent-color: var(--brand);
}
input[type='file'] {
  border: 0;
  padding: 0;
}
input:focus,
textarea:focus {
  outline: 2px solid var(--brand-soft);
  border-color: var(--brand);
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
}
.grid .wide {
  grid-column: 1 / -1;
}
.row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.row input {
  flex: 1;
}
.seats input {
  max-width: 120px;
  display: block;
}
.tag {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e6f2e1;
  color: #3f7a2a;
  font-weight: 700;
}
.price-box {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--brand-soft);
}
.price-box p {
  margin: 4px 0;
}
.total {
  font-size: 1.2rem;
}
.total b {
  color: var(--brand-strong);
}
button,
a.primary {
  font: inherit;
  font-weight: 700;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
}
button.primary,
a.primary {
  display: inline-block;
  margin-top: 10px;
  padding: 13px 24px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 20px -8px rgba(8, 100, 166, 0.7);
}
button.primary:hover,
a.primary:hover {
  background: var(--brand-strong);
}
button.primary:disabled {
  opacity: 0.6;
  cursor: wait;
}
button.secondary {
  padding: 9px 14px;
  margin-top: 4px;
  background: #fff;
  color: var(--brand-strong);
  border: 1px solid #cbd5df;
  white-space: nowrap;
}
.consent {
  font-weight: 500;
}
.consent input {
  margin-right: 8px;
}
.error {
  color: #b42318;
  background: #fef3f2;
  border-radius: 10px;
  padding: 10px 12px;
}
.note {
  background: #f1f6f4;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.92rem;
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.qr-pay {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.qr-pay svg {
  width: 190px;
  height: 190px;
}
dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  margin: 0;
}
dt {
  color: var(--slate);
}
dd {
  margin: 0;
  font-weight: 600;
}
.foot {
  text-align: center;
  font-size: 0.85rem;
  color: var(--slate);
  padding-bottom: 30px;
}
code {
  font-size: 0.85em;
}
@media (max-width: 640px) {
  main {
    border-radius: 0;
    padding: 20px 16px 28px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
.note.closed {
  background: #fff4e5;
  color: #6b3f00;
  margin: 10px 0 18px;
}
button.primary:disabled {
  background: #9fb4c6;
  box-shadow: none;
  cursor: not-allowed;
}
