:root {
  --brand: #0b11a0;
  --brand-hover: #14199c;
  --bg: #ffffff;
  --card-bg: #f1f1f4;
  --border: #e6e6ea;
  --row-border: #d8d8dc;
  --text: #111111;
  --muted: #4a4a4a;
  --disabled: #d8d8dc;
  --disabled-text: #9a9a9f;
  --link-orange: #cf7e1c;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Suisse Int\'l', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 36px;
  display: flex; align-items: center; gap: 28px;
  position: sticky; top: 0; z-index: 300;
}
.brand-logo {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--brand);
  font-size: 26px; font-weight: 700;
  letter-spacing: 2px; line-height: 1;
}
.nav-tabs { display: flex; align-items: center; gap: 6px; flex: 1; margin-left: 18px; }
.nav-tabs a {
  color: var(--brand);
  font-weight: 700;
  padding: 10px 22px; border-radius: 4px; font-size: 15px;
}
.nav-tabs a.active { background: var(--brand); color: #fff; }
.nav-tabs a:not(.active):hover { background: rgba(11,17,160,0.06); }
.topbar-right { display: flex; align-items: center; gap: 18px; color: var(--brand); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; color: var(--brand);
  position: relative;
}
.cart-badge {
  position: absolute; top: 0; right: 0;
  background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 4px; line-height: 1;
  border: 2px solid #fff; box-sizing: content-box;
}
.lang-switcher {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px; color: var(--brand);
}
.flag {
  width: 26px; height: 18px; border-radius: 2px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08); display: inline-block;
}
.flag.dk { background: #c8102e; position: relative; }
.flag.dk::before, .flag.dk::after { content: ''; position: absolute; background: #fff; }
.flag.dk::before { top: 7px; bottom: 7px; left: 0; right: 0; }
.flag.dk::after  { left: 8px; width: 3px; top: 0; bottom: 0; }
.flag.uk {
  background:
    linear-gradient(45deg, transparent 45%, #cf142b 45%, #cf142b 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, #cf142b 45%, #cf142b 55%, transparent 55%),
    linear-gradient(45deg, transparent 40%, #fff 40%, #fff 60%, transparent 60%),
    linear-gradient(-45deg, transparent 40%, #fff 40%, #fff 60%, transparent 60%),
    linear-gradient(#fff, #fff) 0 50% / 100% 35% no-repeat,
    linear-gradient(90deg, #fff, #fff) 50% 0 / 35% 100% no-repeat,
    linear-gradient(#cf142b, #cf142b) 0 50% / 100% 18% no-repeat,
    linear-gradient(90deg, #cf142b, #cf142b) 50% 0 / 18% 100% no-repeat,
    #012169;
}

main { max-width: 1180px; margin: 32px auto; padding: 0 28px; }

.event-hero {
  background: var(--card-bg);
  padding: 36px;
  border-radius: 4px;
  margin-bottom: 24px;
}
.event-hero > .page-title {
  font-size: 30px;
  margin: 0 0 24px;
  font-weight: 700;
}
.event-hero .grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 32px;
}
.event-hero img {
  width: 100%; height: 100%;
  max-height: 620px; object-fit: cover;
  border-radius: 2px; display: block;
}
.event-hero .text h2 {
  font-size: 26px; margin: 0 0 14px; font-weight: 700;
}
.event-hero .text p { margin: 0 0 12px; font-size: 16px; }
.event-hero .text h3 {
  font-size: 17px;
  margin: 22px 0 4px;
  font-weight: 700;
}
.event-hero .lang-note { margin-top: 18px; font-weight: 700; }

.selector-card,
.dates-card {
  background: var(--card-bg);
  padding: 28px 36px;
  border-radius: 4px;
  margin-bottom: 24px;
}
.selector-card h2,
.dates-card h2 {
  font-size: 22px; margin: 0 0 8px; font-weight: 700;
}

.ticket-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid var(--row-border); gap: 16px;
}
.ticket-row:last-of-type { border-bottom: 1px solid var(--row-border); }
.ticket-row .label { font-size: 16px; }
.ticket-row .right { display: flex; align-items: center; gap: 22px; }
.ticket-row .price { font-weight: 600; font-size: 15px; min-width: 96px; text-align: right; }

.qty { display: inline-flex; align-items: center; gap: 0; }
.qty button {
  width: 34px; height: 34px;
  border: 1.5px solid var(--brand);
  background: #fff; color: var(--brand);
  font-size: 18px; line-height: 1; cursor: pointer;
  border-radius: 4px; font-family: inherit;
}
.qty button:hover { background: rgba(11,17,160,0.04); }
.qty button:disabled { opacity: 0.4; cursor: not-allowed; background: #fff; }
.qty .count { min-width: 36px; text-align: center; font-weight: 700; font-size: 16px; padding: 0 6px; }

.totalrow {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 16px 0 4px;
}
.totalrow .label { font-size: 22px; font-weight: 700; }
.totalrow .value { font-size: 22px; font-weight: 700; }

.event-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 4px;
  border-top: 1px solid var(--row-border);
}
.event-row:first-of-type { border-top: 0; }
.event-date-block {
  text-align: center;
  background: var(--brand); color: #fff;
  padding: 10px 8px; width: 90px; border-radius: 2px;
}
.event-date-block .mon { display: block; font-size: 12px; letter-spacing: 0.1em; font-weight: 700; text-transform: uppercase; }
.event-date-block .day { display: block; font-size: 28px; line-height: 1; font-weight: 700; margin: 2px 0; }
.event-date-block .yr  { display: block; font-size: 13px; }
.event-info .when { font-size: 14px; margin-bottom: 4px; }
.event-info .title { font-size: 16px; font-weight: 700; }
.btn-buy-ticket {
  background: #e9e9ec; color: #9a9a9f;
  border: 1px solid #e9e9ec;
  padding: 12px 24px;
  font: inherit; font-weight: 700; font-size: 13px;
  letter-spacing: 0.05em;
  cursor: not-allowed;
  border-radius: 0;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.15s, color 0.15s, border 0.15s;
}
.btn-buy-ticket.active {
  background: var(--brand); color: #fff;
  border-color: var(--brand); cursor: pointer;
}
.btn-buy-ticket.active:hover { background: var(--brand-hover); }

footer { margin-top: 56px; background: #fff; }
.foot-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 56px 28px 32px;
  display: grid; grid-template-columns: 1.2fr 1fr 2fr 1.3fr; gap: 32px;
}
.foot-inner h4 { margin: 0 0 12px; font-size: 16px; font-weight: 700; }
.foot-inner p { margin: 0 0 8px; font-size: 14px; }
.foot-inner .legal p { margin-bottom: 14px; font-size: 15px; }
.foot-inner a.email { color: var(--link-orange); text-decoration: underline; }
.pay-bar {
  background: #ededed; padding: 18px 36px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.pay-icons { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.pay-icons svg, .pay-icons .pay-text { height: 22px; vertical-align: middle; }
.pay-icons .pay-text { font-weight: 800; font-size: 15px; line-height: 22px; letter-spacing: 0.05em; }
.powered { font-size: 13px; font-weight: 700; }

.hamburger {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--brand);
  width: 40px; height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

@media (max-width: 900px) {
  .topbar { padding: 12px 16px; gap: 12px; }
  .hamburger { display: inline-flex; }
  .topbar-right { margin-left: auto; gap: 14px; }

  .nav-tabs {
    position: fixed;
    top: 0;
    left: 0;
    width: min(80%, 320px);
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 80px 16px 24px;
    margin: 0;
    gap: 6px;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 200;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    overflow-y: auto;
  }
  .nav-tabs.open { transform: translateX(0); }
  .nav-tabs a {
    padding: 14px 22px;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
  }

  .nav-overlay { display: block; }
  .nav-overlay.open { opacity: 1; visibility: visible; }

  main { padding: 0 12px; margin: 16px auto; }
  .event-hero { padding: 18px; }
  .event-hero .grid { grid-template-columns: 1fr; gap: 18px; }
  .selector-card, .dates-card { padding: 18px; }
  .event-row { grid-template-columns: 80px 1fr; gap: 12px; padding: 14px 4px; }
  .event-row .event-actions { grid-column: 1 / -1; }
  .foot-inner { grid-template-columns: 1fr; padding: 28px 16px; }
  .pay-bar { padding: 14px 16px; }
}
