@font-face {
  font-display: swap;
  font-family: 'mg';
  font-style: normal;
  font-weight: normal;
  src: url('mg.woff2') format('woff2'),
       url('mg.woff') format('woff');
}

@font-face {
  font-display: swap;
  font-family: 'Barlow';
  font-style: normal;
  font-weight: normal;
  src: url('barlow.ttf') format('truetype');
}

/* Winter Garden 2027: the Mystic Garden 2026 layout (MG26) in Winter Garden purple.
   Flat cream page, #482683 for text and buttons, #9781af ticket cards with #fffaf5 text. */
:root {
  --btn-theme-bg: #482683;
  --btn-theme-hover-bg: #361d62;
  --btn-secondary-bg: #482683;
  --btn-secondary-hover-bg: #361d62;
  --btn-text-color: #fffaf5;
  --text-secondary: #482683;
  --surface-bg: #fffaf5;
  --surface-color: #482683;
}

body, h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow', sans-serif;
}

/* Mystic Garden display font only for the step menu, page titles and ticket titles.
   The ticket-selection page's title is a bare <h2> without a class, hence "#custom-page h2". */
#menu,
.page-title,
#custom-page h2,
.ticket-title {
  font-family: 'mg', sans-serif;
}

input {
  font-family: sans-serif;
}

body {
  background-color: #fffaf5;
  background-image: url('logo-small.webp');
  background-size: 50px auto;
  background-position: 8px 8px;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: #482683;
}

/* Below 900px the container is full-width, so the fixed corner mark lands on top of the
   wordmark logo (seen at 375px). The wordmark already contains the mark, so drop it there. */
@media (max-width: 899px) {
  body {
    background-image: none;
  }
}

/* narrow layout */
.container {
  max-width: 506px;
}

.logo {
  background-image: url('logo.webp');
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
  max-width: 100%;
  height: 60px;
  display: block;
}

.shop-header {
  background: none;
}

.official-ticketshop {
  display: none;
}

.shop-powered-by a {
  color: #aaa;
  font-size: 60%;
}

#shop-name {
  display: none;
}

#menu {
  border: 2px solid black;
  border-radius: 0;
}

.page-title {
  font-size: 2em;
}

.ticket {
  color: #fffaf5;
  border: 0;
  background: #9781af;
}

.ticket-title {
  background-color: #fffaf5;
  color: #482683;
  display: inline-block;
  align-self: flex-start;
  padding: 3px 6px;
}

/* "More info" button: cream block with magenta text, like the ticket title */
.btn-popup-open,
.btn-popup-open:hover {
  background-color: #fffaf5;
  color: #482683;
  border: 0;
}

.btn-ticket,
.btn-edit {
  height: auto;
  width: auto;
  padding: .375rem .75rem;
  color: #fffaf5;
}

/* Every button in this theme is square, including variants without their own override
   (like the cookie bar's "Reject all"). */
.btn {
  border-radius: 0;
}

.btn-primary,
.btn-primary:hover,
.btn-ticket-min,
.btn-ticket-min:hover {
  border: 0;
}

.btn-next-step,
.btn-next-step:hover {
  border: 0;
  background-color: #482683;
  padding: 1em;
  text-decoration: none;
  color: #fffaf5;
}

/* Outline buttons ("Or proceed directly to checkout", lost-order "Back"): match .btn-next-step */
.btn-outline-primary {
  padding: .75em;
}

.event-description a {
  line-height: 5em;
}

.event-description div:has(> a) {
  text-align: center;
}

input.form-control,
select.form-control {
  border: 1px solid black;
  border-radius: 0;
}

#voucher {
  background: white;
  color: black;
}

/* Open sub-page accordion: a lighter tint of the ticket-card color (client screenshot). */
.accordion-button:not(.collapsed) {
  background-color: #a593be;
  color: #fffaf5;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(151, 129, 175, 0.25);
}
