@font-face {
  font-family: "Rijksmuseum";
  src: url("./www.rijksmuseum.nl/statics/fonts/Rijksmuseum-Normal.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Rijksmuseum";
  src: url("./www.rijksmuseum.nl/statics/fonts/Rijksmuseum-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --museum-grey: #40474f;
  --museum-grey-dark: #40474f;
  --museum-grey-light: rgba(225, 225, 225, 0.4);
  --museum-orange: #cc4c28;
  --museum-text: #f7f7f4;
  --museum-muted: #c2ccce;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--museum-grey);
  color: var(--museum-text);
  font-family: "Rijksmuseum", "Arial Narrow", Arial, sans-serif;
  font-size: 17.4px;
  line-height: 1.375;
}

a { color: inherit; }
button, input { font: inherit; }
button { border-radius: 0; }

.ticket-hero {
  position: relative;
  height: 298px;
  overflow: hidden;
  background: #151515;
}

.ticket-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ticket-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.08) 65%, rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.ticket-nav {
  position: relative;
  z-index: 2;
  width: 100vw;
  max-width: none;
  height: 90px;
  margin: 0;
  padding: 20px 5.5vw;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 17.4px;
  line-height: 1.375;
}

.ticket-nav a,
.ticket-menu-button {
  border: 0;
  background: transparent;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.ticket-nav a:hover { text-decoration: underline; }

.ticket-menu-button {
  width: 28px;
  height: 28px;
  padding: 3px 0;
  display: grid;
  align-content: center;
  gap: 5px;
}

.ticket-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.ticket-search {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  overflow: hidden;
  text-indent: -999px;
}

.ticket-search::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  left: 1px;
  top: 1px;
  border: 3px solid #fff;
  border-radius: 50%;
}

.ticket-search::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 3px;
  left: 14px;
  top: 15px;
  background: #fff;
  transform: rotate(45deg);
  transform-origin: left center;
}

.ticket-nav__spacer { margin-left: auto; }
.ticket-nav__cta {
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: var(--museum-orange) !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: color 0.5s, background-color 0.5s, opacity 0.5s;
}

.ticket-nav__cta:hover,
.ticket-nav__cta:focus-visible { background: #000 !important; }

.ticket-menu {
  position: absolute;
  z-index: 4;
  top: 78px;
  left: max(20px, 5.5vw);
  width: min(340px, calc(100% - 40px));
  padding: 24px;
  background: #0b0d0f;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.35);
}

.ticket-menu[hidden] { display: none; }
.ticket-menu a { display: block; padding: 9px 0; color: #fff; }

.ticket-progress-wrap { overflow-x: auto; background: var(--museum-grey); }
.ticket-progress {
  max-width: 1280px;
  min-width: 780px;
  margin: 0 auto;
  padding: 31.296875px 0 0;
  display: grid;
  grid-template-columns: 150px 240px 155px 1fr;
  list-style: none;
}

.ticket-progress li {
  padding: 0;
  color: #798087;
  font-size: 23px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticket-progress li[aria-current="step"] { color: #fff; }

.ticket-benefits {
  padding: 60px max(24px, 5.5556%);
  background: var(--museum-grey);
}

.ticket-benefits h1,
.ticket-shop h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 17.4px;
  font-weight: 700;
  line-height: 1.375;
  text-transform: uppercase;
}

.ticket-benefits h1,
.ticket-benefits ul,
.ticket-shop h2 { width: min(863px, 100%); }

.ticket-benefits ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--museum-muted);
  font-size: 21.808px;
  line-height: 1.263;
}

.ticket-benefits li { position: relative; padding: 0 0 0 35px; }
.ticket-benefits li + li { margin-top: 10px; }
.ticket-benefit-icon {
  position: absolute;
  left: 0;
  top: 8px;
  width: 13px;
  height: 11px;
  color: #fff;
}

.ticket-shop {
  padding: 60px max(24px, 5.5556%);
  background: #343b42;
}

.ticket-table { width: min(863px, 100%); }
.ticket-table__head,
.ticket-card {
  display: grid;
  grid-template-columns: calc(64% + 3.6px) 22% minmax(0, 1fr);
  column-gap: 0;
  align-items: center;
}

.ticket-table__head { min-height: 52px; font-size: 17.4px; font-weight: 700; }
.ticket-table__head span:first-child { visibility: hidden; }
.ticket-table__head span:nth-child(2),
.ticket-table__head span:nth-child(3) { text-align: center; }
.ticket-card { min-height: 76px; padding: 12px 0; }
.ticket-card + .ticket-card { margin-top: 2px; }
.ticket-card:has(details) { min-height: 120px; }
.ticket-card h3 {
  margin: 0;
  color: var(--museum-muted);
  font-size: 21.808px;
  font-weight: 400;
  line-height: 1.15;
}

.ticket-card__price { display: block; margin-top: 1px; color: #fff; font-size: 17.4px; }
.ticket-card details { margin-top: 0; }
.ticket-card summary {
  width: max-content;
  color: #fff;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17.4px;
  text-decoration: underline;
}

.ticket-card summary::marker { content: ""; }
.ticket-card summary::-webkit-details-marker { display: none; }
.ticket-card summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.35s ease;
}

.ticket-card details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }

.ticket-card details p { max-width: 520px; margin: 10px 0 0; color: var(--museum-muted); font-size: 15px; }
.ticket-quantity {
  display: grid;
  grid-template-columns: 50px 40px 50px;
  align-items: center;
  padding-left: 48px;
}
.ticket-quantity button {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 2px;
  background: var(--museum-grey-light);
  color: #000;
  cursor: pointer;
  padding: 0;
  transition: color 0.5s, background-color 0.5s, opacity 0.5s;
}

.ticket-quantity button:hover,
.ticket-quantity button:active {
  background: #000;
  color: #fff;
}

.ticket-quantity button:disabled {
  opacity: 0.3;
  cursor: default;
}

.ticket-quantity button:disabled:hover,
.ticket-quantity button:disabled:active {
  background: var(--museum-grey-light);
  color: #000;
}

.ticket-quantity button svg {
  display: block;
  width: 10px;
  max-height: 10px;
  margin: auto;
  fill: currentColor;
}
.ticket-quantity input {
  width: 40px;
  height: 50px;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: center;
  appearance: textfield;
}

.ticket-quantity input::-webkit-inner-spin-button { appearance: none; }
.ticket-card__subtotal,
.ticket-total strong { color: #fff; font-size: 17.4px; font-weight: 400; }
.ticket-card__subtotal { padding-left: 48px; }
.ticket-total {
  width: min(863px, 100%);
  min-height: 80px;
  margin-top: 16px;
  display: grid;
  grid-template-columns: calc(64% + 3.6px) 22% minmax(0, 1fr);
  column-gap: 0;
  align-items: center;
  color: var(--museum-muted);
  font-size: 21px;
}

.ticket-total strong { grid-column: 3; padding-left: 48px; }
.ticket-note {
  margin: 0;
  padding: 50px max(24px, 5.5556%);
  background: var(--museum-grey);
}

.ticket-note p { margin: 0; font-size: 16px; }
.ticket-order-bar {
  padding: 24px max(24px, 5.5556%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #252b30;
  animation: ticket-order-in 0.35s ease both;
}

.ticket-order-bar[hidden] { display: none; }

@keyframes ticket-order-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.ticket-order-bar__summary { display: flex; gap: 36px; }
.ticket-order-bar__summary span { color: var(--museum-muted); }
.ticket-order-bar__summary strong { display: block; color: #fff; font-size: 22px; }
.ticket-continue {
  min-width: 190px;
  min-height: 54px;
  border: 0;
  border-radius: 2px;
  background: var(--museum-orange);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  transition: color 0.5s, background-color 0.5s, opacity 0.5s;
}

.ticket-continue:not(:disabled):hover,
.ticket-continue:not(:disabled):active { background: #000; }

.ticket-continue:disabled { background: #60676d; color: #c4c8cb; cursor: default; }
.ticket-footer {
  padding: 68px max(24px, 5.5556%);
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.8fr;
  gap: 56px;
  background: #000;
}

.ticket-footer h2 { margin: 0 0 12px; font-size: 16px; text-transform: uppercase; }
.ticket-footer p { margin: 0; }
.ticket-footer nav a { display: block; margin: 0 0 15px; }
.ticket-footer__donate {
  display: inline-flex !important;
  min-height: 50px;
  padding: 0 28px;
  align-items: center;
  justify-content: center;
  background: #343434;
  border-radius: 2px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.5s, background-color 0.5s, opacity 0.5s;
}

.ticket-footer__donate:hover,
.ticket-footer__donate:focus-visible { background: #fff; color: #000; }

.ticket-dialog { width: min(560px, calc(100vw - 32px)); padding: 0; border: 0; background: #fff; color: #111; }
.ticket-dialog::backdrop { background: rgba(0, 0, 0, 0.72); }
.ticket-dialog__body { padding: 34px; }
.ticket-dialog h2 { margin: 0 0 14px; font-size: 28px; text-transform: uppercase; }
.ticket-dialog p { line-height: 1.5; }
.ticket-payment-form { display: grid; gap: 10px; margin-top: 24px; }
.ticket-payment-form label { font-weight: 700; }
.ticket-payment-form input {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  border: 2px solid #777;
  border-radius: 0;
  padding: 10px 12px;
  background: #fff;
  color: #111;
  font: inherit;
}
.ticket-payment-form input:focus { border-color: #111; outline: 2px solid #111; outline-offset: 2px; }
.ticket-payment-error { min-height: 24px; margin: 0; color: #b42318; font-weight: 700; }
.ticket-dialog__actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 8px; }
.ticket-dialog button {
  min-width: 140px;
  min-height: 48px;
  border: 0;
  background: #252b30;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}
.ticket-dialog .ticket-dialog__cancel { background: #e5e5e5; color: #111; }
.ticket-dialog .ticket-dialog__pay { background: var(--museum-orange); }
.ticket-dialog .ticket-dialog__cancel:hover,
.ticket-dialog .ticket-dialog__cancel:focus-visible { background: #ccc; }
.ticket-dialog .ticket-dialog__pay:hover,
.ticket-dialog .ticket-dialog__pay:focus-visible { background: #000; }

@media (max-width: 1328px) { .ticket-nav { padding-inline: 24px; } }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .ticket-hero { height: 280px; }
  .ticket-hero__image { object-position: 52% center; }
  .ticket-nav { height: 90px; padding: 20px; gap: 26px; }
  .ticket-nav__primary, .ticket-nav__secondary { display: none; }
  .ticket-nav__spacer { margin-left: auto; }
  .ticket-nav__cta { min-height: 50px; padding: 0 20px; white-space: nowrap; }
  .ticket-progress-wrap { overflow-x: visible; }
  .ticket-progress {
    width: 100%;
    min-width: 0;
    padding: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
  }
  .ticket-progress li { padding: 0; font-size: 16px; line-height: 1.25; white-space: normal; }
  .ticket-benefits { padding: 54px 21px 43px; }
  .ticket-benefits h1 { max-width: 330px; line-height: 1.4; }
  .ticket-benefits ul { font-size: 18px; }
  .ticket-benefits li { padding-left: 31px; }
  .ticket-shop { padding: 49px 21px 50px; }
  .ticket-shop h2 { margin-bottom: 23px; }
  .ticket-table__head, .ticket-card { grid-template-columns: minmax(120px, 1fr) 133px 64px; column-gap: 10px; }
  .ticket-table__head { min-height: 44px; }
  .ticket-table__head span:nth-child(2) { text-align: left; }
  .ticket-card { min-height: 105px; align-items: start; padding: 12px 0; }
  .ticket-card:has(details) { min-height: 125px; }
  .ticket-card h3 { font-size: 18px; line-height: 1.3; }
  .ticket-card__price, .ticket-card summary, .ticket-card__subtotal { font-size: 15px; }
  .ticket-quantity { grid-template-columns: 44px 35px 44px; padding-left: 0; }
  .ticket-quantity button { width: 44px; height: 50px; }
  .ticket-quantity input { width: 35px; }
  .ticket-card__subtotal { padding-top: 14px; padding-left: 0; text-align: right; }
  .ticket-total { grid-template-columns: minmax(120px, 1fr) 133px 64px; column-gap: 10px; }
  .ticket-total strong { padding-left: 0; text-align: right; }
  .ticket-note { padding: 44px 21px 90px; }
  .ticket-order-bar { padding: 18px 21px; align-items: stretch; flex-direction: column; }
  .ticket-order-bar__summary { justify-content: space-between; }
  .ticket-continue { width: 100%; }
  .ticket-footer { padding: 58px 21px; grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 420px) {
  .ticket-nav { gap: 18px; }
  .ticket-nav__cta { padding-inline: 15px; font-size: 15px; }
  .ticket-table__head { display: none; }
  .ticket-card {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) 115px;
    grid-template-areas:
      "info subtotal"
      "info quantity";
    column-gap: 12px;
    row-gap: 8px;
    align-items: start;
    padding: 18px 0;
  }
  .ticket-card:has(details) { min-height: 0; }
  .ticket-card > div:first-child { grid-area: info; min-width: 0; }
  .ticket-card summary { width: auto; overflow-wrap: anywhere; }
  .ticket-quantity {
    grid-area: quantity;
    grid-template-columns: 40px 35px 40px;
    justify-self: end;
    padding-left: 0;
  }
  .ticket-quantity button { width: 40px; height: 44px; }
  .ticket-quantity input { width: 35px; height: 44px; }
  .ticket-card__subtotal {
    grid-area: subtotal;
    justify-self: end;
    padding: 2px 0 0;
    text-align: right;
  }
  .ticket-total {
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
  }
  .ticket-total strong { grid-column: 2; padding-left: 0; text-align: right; }
  .ticket-dialog__body { padding: 24px; }
  .ticket-dialog__actions { flex-direction: column-reverse; }
  .ticket-dialog button { width: 100%; min-width: 0; }
}

/* Multi-step ticket checkout */
[data-booking-panel][hidden] { display: none; }
.ticket-booking { min-height: 720px; padding-bottom: 104px; }
.ticket-progress button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  text-transform: inherit;
  text-align: left;
}
.ticket-progress li.is-complete { color: #b6bdc2; }
.ticket-progress li.is-complete button { cursor: pointer; }
.ticket-progress li.is-complete button:hover,
.ticket-progress li.is-complete button:focus-visible { color: #fff; text-decoration: underline; }
.ticket-progress button:disabled { opacity: 1; }

.ticket-section-inner {
  width: min(1280px, 100%);
  margin: 0 auto;
}
.ticket-options,
.ticket-details,
.ticket-summary { padding: 54px max(24px, 5.5556%) 64px; background: var(--museum-grey); }
.ticket-options h1,
.ticket-details h1,
.ticket-summary h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 28px;
  font-weight: 400;
}
.ticket-options p,
.ticket-details p { max-width: 760px; margin: 0; }
.ticket-eyebrow {
  margin: 0 0 20px !important;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.ticket-calendar { width: min(900px, 100%); margin-top: 42px; }
.ticket-calendar__toolbar {
  min-height: 54px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.ticket-calendar__toolbar strong { text-align: center; font-size: 18px; }
.ticket-calendar__toolbar button {
  width: 48px;
  height: 48px;
  border: 0;
  background: #343b42;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}
.ticket-calendar__toolbar button:not(:disabled):hover,
.ticket-calendar__toolbar button:not(:disabled):focus-visible { background: #000; }
.ticket-calendar__toolbar button:disabled { opacity: 0.35; cursor: default; }
.ticket-calendar__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.ticket-calendar__month h3 {
  margin: 0 0 14px;
  font-size: 16px;
  text-transform: uppercase;
}
.ticket-calendar__days { display: grid; grid-template-columns: repeat(7, minmax(38px, 1fr)); gap: 4px; }
.ticket-calendar__weekday {
  min-height: 34px;
  display: grid;
  place-items: center;
  color: var(--museum-muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.ticket-calendar__blank { min-height: 44px; }
.ticket-calendar__day {
  min-width: 0;
  min-height: 44px;
  border: 0;
  background: #4a525b;
  color: #fff;
  cursor: pointer;
}
.ticket-calendar__day:not(:disabled):hover,
.ticket-calendar__day:not(:disabled):focus-visible { background: #252b30; }
.ticket-calendar__day[aria-pressed="true"] { background: #202327; font-weight: 700; }
.ticket-calendar__day:disabled { background: transparent; color: #747b82; cursor: default; }

.ticket-times { width: min(900px, 100%); margin-top: 38px; }
.ticket-times h2 { margin: 0 0 12px; font-size: 16px; }
.ticket-times__grid { display: grid; grid-template-columns: repeat(8, minmax(82px, 1fr)); }
.ticket-times__grid button {
  min-height: 52px;
  border: 0;
  border-right: 2px solid #343b42;
  background: #4a525b;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
}
.ticket-times__grid button:hover,
.ticket-times__grid button:focus-visible { background: #252b30; }
.ticket-times__grid button[aria-pressed="true"] { background: #202327; font-weight: 700; }

.ticket-addons { padding: 48px max(24px, 5.5556%); background: #454d56; }
.ticket-addons .ticket-section-inner { width: min(1280px, 100%); }
.ticket-table__head--addons,
.ticket-extra {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: calc(64% + 3.6px) 22% minmax(0, 1fr);
  align-items: center;
}
.ticket-table__head--addons span:first-child { visibility: visible; text-transform: uppercase; }
.ticket-extra { min-height: 100px; padding: 12px 0; }
.ticket-extra h2 {
  margin: 0;
  color: var(--museum-muted);
  font-size: 21.808px;
  font-weight: 400;
  line-height: 1.15;
}
.ticket-extra details { margin-top: 0; }
.ticket-extra summary {
  width: max-content;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  cursor: pointer;
  text-decoration: underline;
}
.ticket-extra summary::marker { content: ""; }
.ticket-extra summary::-webkit-details-marker { display: none; }
.ticket-extra summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.ticket-extra details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.ticket-extra details p { max-width: 560px; margin: 6px 0 0; color: var(--museum-muted); font-size: 15px; }

.ticket-donation { padding: 44px max(24px, 5.5556%) 64px; background: #343b42; }
.ticket-donation h2 { margin: 0; font-size: 18px; text-transform: uppercase; }
.ticket-donation p { margin: 0 0 14px; }
.ticket-donation__choices { display: grid; grid-template-columns: repeat(5, minmax(100px, 125px)); gap: 3px; }
.ticket-donation__choices button {
  min-height: 52px;
  border: 0;
  background: #4a525b;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
}
.ticket-donation__choices button:hover,
.ticket-donation__choices button:focus-visible { background: #252b30; }
.ticket-donation__choices button[aria-pressed="true"] { background: #202327; font-weight: 700; }
.ticket-form-error,
.ticket-payment-error { min-height: 26px; margin: 20px 0 0 !important; color: #fff0eb; font-weight: 700; }

.ticket-details,
.ticket-summary { min-height: 500px; }
.ticket-details .ticket-section-inner,
.ticket-summary .ticket-section-inner { width: min(1100px, 100%); }
.ticket-details .ticket-payment-form { width: min(900px, 100%); margin-top: 48px; gap: 9px; }
.ticket-details .ticket-payment-form label { font-size: 16px; font-weight: 400; }
.ticket-details .ticket-payment-form input {
  min-height: 56px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid #aeb6bb;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 21px;
}
.ticket-details .ticket-payment-form input:focus { border-color: #fff; outline: 0; }
.ticket-details .ticket-payment-form p { margin-top: 12px; color: var(--museum-muted); font-size: 15px; }

.ticket-summary__list { width: min(900px, 100%); margin: 38px 0 0; }
.ticket-summary__list div {
  display: grid;
  grid-template-columns: minmax(180px, 32%) 1fr;
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid #606870;
}
.ticket-summary__list dt { color: var(--museum-muted); }
.ticket-summary__list dd { margin: 0; color: #fff; }
.ticket-summary__list .ticket-summary__total { border-bottom: 0; font-size: 23px; font-weight: 700; }

.ticket-order-bar {
  position: fixed;
  z-index: 20;
  right: 24px;
  bottom: 18px;
  width: min(760px, calc(100vw - 48px));
  padding: 12px;
  justify-content: flex-end;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
}
.ticket-order-bar__summary { margin-left: auto; }
.ticket-order-bar__summary span { font-size: 14px; }
.ticket-order-bar__summary strong { font-size: 17px; }
.ticket-order-bar__summary strong span { color: inherit; font-size: inherit; }
.ticket-back {
  min-height: 50px;
  margin-right: auto;
  padding: 0 18px;
  border: 0;
  background: #40474f;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}
.ticket-back:hover,
.ticket-back:focus-visible { background: #000; }
.ticket-back[hidden] { display: none; }

@media (max-width: 900px) {
  .ticket-calendar__grid { gap: 24px; }
  .ticket-times__grid { grid-template-columns: repeat(4, minmax(82px, 1fr)); gap: 3px; }
  .ticket-order-bar { right: 12px; bottom: 12px; width: calc(100vw - 24px); }
}

@media (max-width: 760px) {
  .ticket-booking { padding-bottom: 120px; }
  .ticket-options,
  .ticket-details,
  .ticket-summary,
  .ticket-addons,
  .ticket-donation { padding-left: 21px; padding-right: 21px; }
  .ticket-calendar__grid { grid-template-columns: 1fr; }
  .ticket-calendar__month:nth-child(2) { display: none; }
  .ticket-calendar__days { grid-template-columns: repeat(7, minmax(32px, 1fr)); }
  .ticket-times__grid { grid-template-columns: repeat(2, minmax(82px, 1fr)); }
  .ticket-table__head--addons,
  .ticket-extra { grid-template-columns: minmax(120px, 1fr) 133px 64px; column-gap: 10px; }
  .ticket-extra h2 { font-size: 18px; }
  .ticket-donation__choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticket-donation__choices button:last-child { grid-column: 1 / -1; }
  .ticket-summary__list div { grid-template-columns: 1fr; gap: 5px; }
  .ticket-order-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 1.15fr);
    gap: 8px 12px;
    align-items: stretch;
    padding: 8px;
  }
  .ticket-order-bar__summary {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    margin-left: 0;
    gap: 12px;
  }
  .ticket-order-bar__summary strong { font-size: 15px; }
  .ticket-back {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding-inline: 8px;
    font-size: 13px;
  }
  .ticket-continue { grid-column: 2; grid-row: 1 / span 2; min-height: 88px; }
}

@media (max-width: 420px) {
  .ticket-table__head--addons { display: none; }
  .ticket-extra {
    grid-template-columns: minmax(0, 1fr) 115px;
    grid-template-areas:
      "info subtotal"
      "info quantity";
    gap: 8px 12px;
    align-items: start;
    padding: 18px 0;
  }
  .ticket-extra > div:first-child { grid-area: info; min-width: 0; }
  .ticket-extra .ticket-quantity { grid-area: quantity; justify-self: end; }
  .ticket-extra .ticket-card__subtotal { grid-area: subtotal; justify-self: end; }
  .ticket-calendar__toolbar { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .ticket-calendar__toolbar strong { font-size: 15px; }
}

/* Source-faithful navigation control */
.ticket-menu-button {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  padding: 0;
  display: block;
  background-color: transparent;
  background-image: url("./www.rijksmuseum.nl/WebStatic/Images/Icons/menuburger.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 23px;
}
.ticket-menu-button[aria-expanded="true"] {
  background-image: url("./www.rijksmuseum.nl/WebStatic/Images/Icons/close.svg");
  background-size: 18px 18px;
}
.ticket-menu-button span { display: none; }
.ticket-search { width: 44px; height: 44px; }
.ticket-search::before { left: 7px; top: 7px; }
.ticket-search::after { left: 20px; top: 21px; }

/* Visit type selector shown before the calendar */
.ticket-visit-options {
  width: min(1000px, 100%);
  margin: 38px 0 6px;
  padding: 0;
  border: 0;
}
.ticket-visit-options legend {
  margin-bottom: 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}
.ticket-visit-option {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  width: 100%;
  padding: 13px 10px;
  cursor: pointer;
  transition: background-color .25s ease;
}
.ticket-visit-option:hover { background: #343b42; }
.ticket-visit-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.ticket-visit-option__marker {
  position: relative;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .38);
}
.ticket-visit-option input:checked + .ticket-visit-option__marker::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
}
.ticket-visit-option input:focus-visible + .ticket-visit-option__marker { outline: 2px solid #fff; outline-offset: 3px; }
.ticket-visit-option strong {
  display: block;
  color: var(--museum-muted);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
}
.ticket-visit-option small { display: block; margin-top: 2px; color: #fff; font-size: 15px; }

/* Full footer structure from the main site */
.ticket-footer {
  padding: 60px max(24px, 5.5556%);
  display: block;
  background: #000;
}
.ticket-footer ul { margin: 0; padding: 0; list-style: none; }
.ticket-footer nav a { margin: 0; }
.ticket-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.25fr;
  gap: 52px;
  align-items: start;
}
.ticket-footer h2 { margin: 0 0 10px; font-size: 16px; text-transform: uppercase; }
.ticket-footer p { margin: 0; color: var(--museum-muted); font-size: 21px; line-height: 1.3; }
.ticket-footer__links a {
  display: block;
  width: max-content;
  min-height: 44px;
  margin: 0;
  padding-top: 8px;
  text-decoration: none;
}
.ticket-footer__links a:hover,
.ticket-footer__links a:focus-visible,
.ticket-footer__legal a:hover,
.ticket-footer__legal a:focus-visible { text-decoration: underline; }
.ticket-footer__support-row { display: flex; align-items: center; gap: 34px; }
.ticket-footer__donate {
  display: inline-flex !important;
  min-width: 160px;
  min-height: 50px;
  margin: 0;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  background: #343434;
  border-radius: 2px;
  font-weight: 700;
  text-decoration: none;
}
.ticket-footer__donate:hover,
.ticket-footer__donate:focus-visible { background: #fff; color: #000; }
.ticket-footer__anbi { height: 50px; opacity: .6; transition: opacity .25s ease; }
.ticket-footer__anbi:hover,
.ticket-footer__anbi:focus-visible { opacity: 1; }
.ticket-footer__anbi img { display: block; width: auto; height: 50px; }
.ticket-footer__socials { display: flex; gap: 2px; margin-top: 20px; }
.ticket-footer nav.ticket-footer__socials a { width: 44px; height: 44px; display: grid; place-items: center; opacity: 1; transition: opacity .25s ease; }
.ticket-footer__socials a:hover,
.ticket-footer__socials a:focus-visible { opacity: .5; }
.ticket-footer__socials img { width: 20px; height: 20px; object-fit: contain; }
.ticket-footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  gap: 40px;
  align-items: end;
  margin-top: 58px;
}
.ticket-footer__partners { display: flex; align-items: flex-end; gap: 34px; min-width: 0; }
.ticket-footer__partner { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 18px; opacity: .72; }
.ticket-footer__partner span { flex-basis: 100%; font-size: 12px; text-transform: uppercase; }
.ticket-footer__partner img { width: auto; height: 25px; max-width: 155px; object-fit: contain; object-position: left center; }
.ticket-footer__partner--ministry img { height: 50px; max-width: 185px; }
.ticket-footer__partner--wide img { max-width: 115px; }
.ticket-footer__legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px 28px; }
.ticket-footer__legal a { min-height: 32px; color: rgba(255,255,255,.72); text-decoration: none; font-size: 14px; }

@media (max-width: 900px) {
  .ticket-footer__top { grid-template-columns: 1fr 1fr; }
  .ticket-footer__support { grid-column: 1 / -1; }
  .ticket-footer__bottom { grid-template-columns: 1fr; }
  .ticket-footer__legal { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .ticket-visit-options { margin-top: 30px; }
  .ticket-visit-option { padding: 12px 0; }
  .ticket-visit-option:hover { background: transparent; }
  .ticket-visit-option strong { font-size: 18px; }
  .ticket-footer { padding: 54px 21px; }
  .ticket-footer__top { grid-template-columns: 1fr; gap: 34px; }
  .ticket-footer__support { grid-column: auto; }
  .ticket-footer__bottom { margin-top: 50px; }
  .ticket-footer__partners { flex-wrap: wrap; gap: 28px; }
  .ticket-footer__partner--ministry { flex-basis: 100%; }
  .ticket-footer__legal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; }
}

@media (max-width: 420px) {
  .ticket-footer__support-row { gap: 20px; }
  .ticket-footer__donate { min-width: 140px; padding-inline: 18px; }
  .ticket-footer__partners { display: grid; grid-template-columns: 1fr 1fr; }
  .ticket-footer__partner--ministry,
  .ticket-footer__partner--wide { grid-column: 1 / -1; }
  .ticket-footer__legal { grid-template-columns: 1fr; }
}
