/* BestCruise partner page (/partners): page components on top of hark.css.
   Geist is self-hosted (SIL Open Font License 1.1, see fonts/OFL.txt); Latin subset only,
   Greek text uses the system font. No third-party font requests. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/geist-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/geist-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/geist-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.x-lang { flex: none; display: flex; border-radius: var(--r-pill); background: var(--fill-segment); }
.x-lang button { border: 0; background: none; cursor: pointer; padding: 8px 12px; border-radius: var(--r-pill); font: var(--type-label); color: var(--text-secondary-on); }
.x-lang button:hover { color: var(--text-primary-on); }
.x-lang button[aria-pressed="true"] { background: var(--fill-primary-on); color: var(--text-primary); }
.x-lang :focus-visible { outline-color: var(--fill-primary-on); }
@media (max-width: 599px) { .x-lang button { min-height: var(--tap); } }
#toolkit [hidden] { display: none !important; }
.x-panel { display: grid; gap: 12px; align-content: start; padding: 22px 24px; border-radius: var(--r-m); background: var(--fill-tertiary); }
.x-panel h3 { font: var(--type-heading); margin: 0; }
.x-label { font: var(--type-label); font-weight: var(--weight-medium); color: var(--text-primary); }
.x-help { font: var(--type-small); color: var(--text-secondary); margin: 0; }
.x-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.x-input { flex: 1 1 260px; min-width: 0; min-height: var(--tap); padding: 8px 12px; border-radius: var(--r-s); border: 1px solid var(--stroke-primary); background: var(--fill-primary-on); color: var(--text-primary); font: var(--type-body); }
.x-input:focus-visible { outline: 2px solid var(--fill-primary); outline-offset: 1px; }
.x-input[aria-invalid="true"] { border-color: var(--fill-system-red); }
textarea.x-input { flex-basis: 100%; min-height: 120px; resize: vertical; line-height: 1.5; }
.x-go { min-height: var(--tap); padding: 8px 16px; border: 0; border-radius: var(--r-s); background: var(--fill-primary); color: var(--text-primary-on); font: var(--type-label); font-weight: var(--weight-medium); cursor: pointer; }
.x-go:hover { opacity: 0.88; }
#toolkit button.btn { cursor: pointer; }
.x-err { display: flex; gap: 8px; align-items: baseline; margin: 0; font: var(--type-small); color: var(--text-primary); }
.x-err::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--fill-system-red); transform: translateY(-1px); }
.x-status { min-height: 1.4em; margin: 0; font: var(--type-small); color: var(--text-secondary); }
.x-qr { margin: 0; justify-self: center; }
.x-qr img { display: block; width: min(100%, 280px); aspect-ratio: 1; image-rendering: pixelated; background: #fff; border-radius: var(--r-s); }
.x-out { margin-top: 16px; }
.x-card { margin: 16px auto 0; max-width: 380px; overflow: hidden; text-align: center; border-radius: var(--r-m); border: 1px solid var(--stroke-primary); background: #fff; color: #1d1d1f; }
.x-card > img:first-child { display: block; width: 100%; height: 150px; object-fit: cover; }
.x-card__body { display: grid; gap: 6px; justify-items: center; padding: 18px 20px 22px; }
.x-card__title { margin: 0; font: var(--type-heading); }
.x-card__sub { margin: 0; font: var(--type-small); color: #5c5c60; }
.x-card__qr { display: block; width: 62%; aspect-ratio: 1; margin: 8px 0 2px; image-rendering: pixelated; }
.x-card__scan { margin: 0; font: var(--type-label); font-weight: var(--weight-medium); }
.x-card__url { margin: 0; font: var(--type-small); color: #5c5c60; }
.x-more { margin-top: 16px; }
#join [hidden] { display: none !important; }
#join .x-panel { margin-top: 16px; gap: 20px; }
.x-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 20px; }
.x-field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.x-field--wide { grid-column: 1 / -1; }
.x-field .x-input { width: 100%; }
select.x-input { cursor: pointer; }
.x-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 6px; }
.x-fieldset legend { padding: 0; margin-bottom: 6px; }
.x-choice { display: flex; gap: 10px; align-items: center; min-height: var(--tap); font: var(--type-body); color: var(--text-primary); cursor: pointer; }
.x-choice input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--fill-primary); cursor: pointer; }
.x-choice--top { align-items: flex-start; padding-top: 10px; }
.x-choice--top input { margin-top: 1px; }
.x-choice input[aria-invalid="true"] { outline: 2px solid var(--fill-system-red); outline-offset: 2px; }
.x-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
#join button.btn { cursor: pointer; }
/* Application form: honeypot, sending state, error and confirmation */
.x-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#ap-form { position: relative; }
.x-go[disabled] { opacity: 0.6; cursor: progress; }
.x-alert { display: grid; gap: 6px; padding: 14px 16px; border-radius: var(--r-s); border: 1px solid var(--stroke-primary); border-left: 4px solid var(--fill-system-red); background: var(--fill-primary-on); font: var(--type-body); color: var(--text-primary); }
.x-alert:focus-visible { outline: 2px solid var(--fill-primary); outline-offset: 2px; }
.x-alert p { margin: 0; }
.x-alert__head { font: var(--type-body-strong); }
.x-alert__fallback { font: var(--type-small); color: var(--text-secondary); }
#join .x-done { gap: 10px; }
.x-done:focus-visible { outline: 2px solid var(--fill-primary); outline-offset: 2px; }
.x-done p { margin: 0; }
.x-done__head { display: flex; align-items: center; gap: 10px; font: var(--type-heading); color: var(--text-primary); }
.x-done__mark { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--fill-system-green); position: relative; }
.x-done__mark::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.x-done__lead { font: var(--type-body); max-width: 60ch; }
/* Hero calls to action */
.hero__cta { margin-top: 6px; }
.hero__cta .btn { min-height: var(--tap); padding-inline: 18px; font-weight: var(--weight-medium); }
.hero__cta .btn--primary { background: var(--hero-text); color: #1d1d1f; border-color: transparent; }
.hero__cta .btn--glass { background: var(--hero-glass); color: var(--hero-text); border-color: var(--hero-glass-stroke); -webkit-backdrop-filter: var(--hark-blur); backdrop-filter: var(--hark-blur); }
.hero__cta .btn--glass:hover { box-shadow: inset 0 0 0 100px rgb(245 245 247 / 0.12); }
@media print {
  @page { size: A6; margin: 6mm; }
  body.x-printing { background: #fff; }
  body.x-printing > :not(.page), body.x-printing .page > :not(main), body.x-printing main > :not(#toolkit), body.x-printing #toolkit > :not(.x-card) { display: none !important; }
  body.x-printing .page, body.x-printing main, body.x-printing #toolkit { margin: 0 !important; padding: 0 !important; }
  body.x-printing .x-card { display: block !important; margin: 0 auto; max-width: none; border: 0; border-radius: 0; break-inside: avoid; }
  body.x-printing .x-card > img:first-child { height: 34mm; }
}
    

:where(.page) img { height: auto; }

/* Skip link, top bar back to the main site, legal footer */
.x-skip { position: absolute; left: 12px; top: -60px; z-index: 60; padding: 10px 16px; border-radius: var(--r-pill); background: var(--fill-primary); color: var(--text-primary-on); font: var(--type-label); text-decoration: none; }
.x-skip:focus { top: 12px; }
.x-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; font: var(--type-small); color: var(--text-secondary); }
.x-brand { font: var(--type-label); font-weight: var(--weight-bold); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-primary); text-decoration: none; }
.x-brand span { margin-left: 0.4em; font-weight: var(--weight-regular); letter-spacing: 0.04em; color: var(--text-secondary); }
.x-top a:not(.x-brand) { color: var(--text-secondary); }
.x-top a:hover { color: var(--text-primary); }
.x-legal { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.x-legal a, .x-legal button { color: var(--text-secondary); font: inherit; }
.x-legal button { border: 0; padding: 0; background: none; text-decoration: underline; cursor: pointer; }
.x-legal a:hover, .x-legal button:hover { color: var(--text-primary); }
@media (max-width: 599px) { .x-legal a, .x-legal button, .x-top a { display: inline-flex; align-items: center; min-height: var(--tap); } }
[data-partners-nojs] { margin-top: 16px; }

/* Price descriptions and live adult fare (filled by /assets/site.js from the booking calendar) */
.breakdown dd { white-space: normal; text-align: right; }
.breakdown dd .adult-price, .breakdown dd [data-price-value] { display: grid; justify-items: end; gap: 2px; white-space: normal; text-align: right; }
.breakdown dd .adult-price [hidden] { display: none !important; }
.breakdown dd .adult-price-catalogue { font-weight: var(--weight-regular); font-size: var(--size-caption); color: var(--text-secondary); }
.breakdown dd .adult-price a { font-weight: var(--weight-medium); }

/* Cookie choices (markup and behaviour shared with the rest of the site) */
.cookie-panel { position: fixed; z-index: 50; left: 22px; bottom: 22px; box-sizing: border-box; width: min(520px, calc(100% - 44px)); max-height: calc(100vh - 44px); max-block-size: calc(100dvh - 44px); overflow: auto; padding: 22px; border-radius: var(--r-m); border: 1px solid var(--stroke-primary); background: var(--fill-primary-on); color: var(--text-primary); box-shadow: var(--hark-shadow); }
.cookie-panel[hidden] { display: none; }
.cookie-panel h2 { margin: 0 0 8px; font: var(--type-heading); }
.cookie-panel h3 { margin: 20px 0 12px; font: var(--type-body-strong); }
.cookie-panel p { margin: 0 0 16px; font: var(--type-small); color: var(--text-secondary); }
.cookie-panel p a { color: var(--text-primary); }
.cookie-panel #cookie-status { font: var(--type-small); }
.cookie-panel #cookie-status:empty { display: none; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-panel .button { flex: 1 1 140px; min-width: 0; min-height: var(--tap); padding: 10px 12px; border: 1px solid var(--text-primary); border-radius: var(--r-s); background: transparent; color: var(--text-primary); font: var(--type-label); cursor: pointer; white-space: normal; overflow-wrap: anywhere; }
.cookie-panel .button:hover { background: var(--fill-tertiary); }
.cookie-panel fieldset { min-width: 0; margin: 16px 0; padding: 0; border: 0; }
.cookie-panel legend { margin-bottom: 8px; font: var(--type-label); }
.cookie-panel label { display: block; padding: 12px 0; border-top: 1px solid var(--stroke-secondary); font: var(--type-small); cursor: pointer; }
.cookie-panel label span { display: block; margin: 6px 0 0 28px; color: var(--text-secondary); }
.cookie-panel input { width: 18px; height: 18px; margin: 0 8px 0 0; vertical-align: middle; accent-color: var(--fill-primary); }
.cookie-panel button:focus-visible, .cookie-panel input:focus-visible, .cookie-panel h3:focus { outline: 3px solid var(--text-primary); outline-offset: 3px; }
@media (max-width: 599px) {
  .cookie-panel { left: 12px; bottom: 12px; width: calc(100% - 24px); max-height: calc(100vh - 24px); max-block-size: calc(100dvh - 24px); padding: 16px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-actions [data-cookie-preferences] { grid-column: 1 / -1; }
  .cookie-panel label span { margin-left: 0; }
}
@media print { .cookie-panel, .x-skip { display: none !important; } }
