/* ============ Vasa+Vrak booking flow ============ */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  background: #2e2b27;
  color: #15293a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header ---------- */
.site-header {
  background: #2e2b27;
  color: #fff;
  padding: 26px 20px;
  text-align: center;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 21px;
  letter-spacing: 1.5px;
  font-weight: 500;
}
.logo .heart { width: 38px; height: 32px; }

/* ---------- Layout ---------- */
.page {
  flex: 1;
  display: flex;
  justify-content: center;
}
.content-wrap {
  flex: 1;
  max-width: 920px;
  background: #f1ede7;
  display: flex;
  flex-direction: column;
}
.content { padding: 56px 90px 30px; flex: 1; }

/* ---------- Title ---------- */
h1.page-title {
  font-size: 44px;
  text-align: center;
  color: #15293a;
  margin: 0 0 18px;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.subtitle {
  text-align: center;
  font-size: 19px;
  color: #2a3a47;
  margin: 0 0 36px;
}
.subtitle.hidden-empty { margin: 0 0 12px; }

/* ---------- Filter button ---------- */
.filter-wrap { position: relative; text-align: center; margin-bottom: 26px; }
.filter-btn {
  background: #ece7df;
  border: 1px solid #cdc4b3;
  border-radius: 4px;
  padding: 13px 30px;
  font-size: 16px;
  cursor: pointer;
  font-family: inherit;
  color: #15293a;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 240px;
  justify-content: center;
}
.filter-btn:hover { background: #e3ddd2; }
.filter-btn .cal-emoji { font-size: 18px; }

/* ---------- Calendar popup ---------- */
.cal-popup {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  padding: 18px;
  width: 320px;
  z-index: 20;
  font-family: 'Cormorant Garamond', Georgia, serif;
}
.cal-popup.hidden { display: none; }
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cal-nav {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #15293a;
  padding: 4px 12px;
  line-height: 1;
}
.cal-nav:hover { background: #f1ede7; border-radius: 3px; }
.cal-title { font-size: 17px; color: #15293a; text-transform: capitalize; }
.cal-title .year { color: #2c5d8b; margin-left: 4px; }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}
.cal-dow {
  font-size: 12px;
  color: #2c5d8b;
  font-weight: 600;
  padding: 8px 0 6px;
}
.cal-day {
  padding: 10px 0;
  font-size: 15px;
  border-radius: 3px;
  cursor: pointer;
  color: #15293a;
}
.cal-day.past {
  color: #b8b4ad;
  font-style: italic;
  cursor: default;
}
.cal-day.today {
  border: 2px solid #2c5d8b;
  background: #fdf6c3;
  font-weight: 700;
}
.cal-day:not(.past):hover { background: #efeae0; }
.cal-clear {
  text-align: center;
  margin-top: 12px;
  color: #2c5d8b;
  cursor: pointer;
  font-size: 16px;
  padding: 8px;
}
.cal-clear:hover { background: #f6f3ee; border-radius: 3px; }

/* ---------- Date list ---------- */
.date-list { list-style: none; padding: 0; margin: 0; }
.date-row {
  background: #fff;
  border: 1px solid #eae6df;
  border-radius: 3px;
  margin-bottom: 12px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 140px 1fr 110px;
  align-items: center;
  gap: 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.date-row .day-block .day {
  font-weight: bold;
  font-size: 17px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #15293a;
  line-height: 1.2;
}
.date-row .day-block .full {
  font-size: 15px;
  color: #2a3a47;
  margin-top: 4px;
  line-height: 1.5;
}
.date-row .venue { font-size: 17px; color: #15293a; }

.btn-buy, .btn-checkout {
  background: #9a8c5e;
  color: #fff;
  border: none;
  padding: 11px 26px;
  font-size: 15px;
  border-radius: 2px;
  cursor: pointer;
  letter-spacing: 0.4px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
.btn-buy:hover, .btn-checkout:hover { background: #84784f; }

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin: 20px 0 8px;
}
.pagination button {
  width: 44px;
  height: 44px;
  border: 1px solid #d8d2c5;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  border-radius: 2px;
  color: #15293a;
  font-family: inherit;
}
.pagination button:hover { background: #f6f3ee; }
.pagination button.active {
  background: #9a8c5e;
  color: #fff;
  border-color: #9a8c5e;
  border-bottom: 3px solid #2c8ea5;
}

/* ---------- Ticket selection view ---------- */
.venue-title {
  font-size: 40px;
  text-align: center;
  margin: 0 0 12px;
  color: #15293a;
  font-weight: 500;
}
.date-range {
  text-align: center;
  font-size: 19px;
  margin: 0 0 32px;
  color: #15293a;
}
.ticket-list { list-style: none; padding: 0; margin: 0; }
.ticket-row {
  background: #fff;
  border: 1px solid #eae6df;
  border-radius: 3px;
  padding: 18px 22px;
  margin-bottom: 14px;
  display: grid;
  align-items: center;
  gap: 16px;
}
.ticket-row > * { min-width: 0; }
.ticket-row.with-thumb { grid-template-columns: 88px minmax(0,1fr) auto 130px; }
.ticket-row.no-thumb   { grid-template-columns: minmax(0,1fr) auto 130px; }

.ticket-thumb {
  width: 88px;
  height: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  background: #15293a;
  padding: 2px;
}
.thumb-cell {
  background: #d4853a;
  color: #fff;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2px;
  line-height: 1.1;
}
.thumb-cell.vrak { background: #e85a3a; }
.thumb-cell.vasa { background: #f1ede7; color: #15293a; font-style: italic; font-weight: 500; }
.thumb-cell.vikings { background: #1a3340; }
.thumb-cell.deep { background: #2c5066; }

.ticket-info h3 {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 500;
  color: #15293a;
}
.ticket-info p {
  margin: 0;
  font-size: 15px;
  color: #4a5a67;
  line-height: 1.45;
  font-family: 'Cormorant Garamond', Georgia, serif;
}
.ticket-info .more-info {
  display: inline-block;
  margin-top: 8px;
  color: #2c8ea5;
  text-decoration: underline;
  font-size: 15px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}
.ticket-info .more-info:hover { color: #1a6b80; }
.ticket-price {
  font-size: 22px;
  font-weight: 400;
  white-space: nowrap;
  text-align: right;
  font-family: 'Cormorant Garamond', Georgia, serif;
  padding-right: 4px;
  min-width: 70px;
}
.qty-select {
  position: relative;
  width: 130px;
  justify-self: end;
}
.qty-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  background: #fff;
  border: 1px solid #cdc4b3;
  padding: 9px 30px 9px 14px;
  font-size: 15px;
  border-radius: 2px;
  cursor: pointer;
  font-family: inherit;
  color: #15293a;
  box-sizing: border-box;
}
.qty-select::after {
  content: '▾';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 12px;
  color: #15293a;
}

.ticket-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0 10px;
}
.btn-prev {
  background: #fff;
  border: 1px solid #cdc4b3;
  padding: 11px 28px;
  cursor: pointer;
  font-size: 15px;
  border-radius: 2px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #15293a;
}
.btn-prev:hover { background: #f6f3ee; }

/* ---------- Checkout view (cart cards + info form combined) ---------- */
.cart-title, .info-title, .thanks-title {
  font-size: 38px;
  text-align: center;
  margin: 0 0 28px;
  color: #15293a;
  font-weight: 500;
}
.info-title { margin-top: 38px; }

.cart-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
.cart-card {
  background: #fff;
  border: 1px solid #eae6df;
  border-radius: 3px;
  padding: 20px 26px;
}
.cart-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #cdc4b3;
}
.cart-name-main { font-weight: 700; font-size: 20px; color: #15293a; }
.cart-name-sub  { font-size: 14px; color: #4a5a67; margin-top: 4px; font-family: 'Helvetica Neue', Arial, sans-serif; }
.cart-name-sub.ticket-type { margin-top: 8px; color: #15293a; font-size: 15px; }

.cart-card-prices {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cart-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  color: #15293a;
  gap: 16px;
}
.cart-price-row .label { color: #4a5a67; font-weight: 500; }
.cart-price-row .value { white-space: nowrap; }
.cart-price-row.total {
  font-weight: 700;
  font-size: 18px;
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid #eee;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.qty-btn {
  background: #ece7df;
  border: none;
  width: 38px;
  height: 38px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 2px;
  color: #15293a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.qty-btn:hover { background: #ddd6c8; }
.qty-val {
  background: #f1ede7;
  min-width: 50px;
  height: 38px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 500;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
.qty-btn.qty-remove {
  background: #fff;
  border: 1px solid #ddd6c8;
  margin-left: 4px;
}

.cart-grand {
  background: #fff;
  border: 1px solid #15293a;
  border-radius: 3px;
  padding: 18px 26px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
.cart-grand-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  color: #4a5a67;
  gap: 16px;
}
.cart-grand-row .value { white-space: nowrap; color: #15293a; }
.cart-grand-row.main {
  font-size: 22px;
  font-weight: 700;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid #cdc4b3;
  color: #15293a;
}

.cart-gift {
  text-align: right;
  margin: 6px 0 16px;
  color: #2c5d8b;
  font-size: 15px;
  cursor: pointer;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: none;
  border: none;
  display: block;
  margin-left: auto;
  padding: 6px 0;
}
.cart-gift:hover { text-decoration: underline; }
.cart-gift .arrow { color: #9a8c5e; margin-left: 4px; font-size: 10px; }

.info-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 24px 0 12px;
  gap: 12px;
  flex-wrap: wrap;
}
.thanks-actions {
  display: flex;
  justify-content: center;
  margin: 24px 0 12px;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-checkout[disabled] {
  background: #c8c1ad;
  cursor: not-allowed;
}

.cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: #4a5a67;
  font-style: italic;
  background: #fff;
  border: 1px solid #eae6df;
  border-radius: 3px;
}

/* ---------- Information form ---------- */
.info-form { background: transparent; }
.info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  margin-bottom: 18px;
}
.info-row.row-zip-phone {
  grid-template-columns: 220px 1fr;
}
.info-field { display: flex; flex-direction: column; gap: 6px; }
.info-field label {
  font-size: 15px;
  color: #2c5d8b;
  font-weight: 500;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
.info-field label .required { color: #2c5d8b; margin-left: 2px; }
.info-field input {
  padding: 11px 14px;
  font-size: 16px;
  border: none;
  border-bottom: 1px solid #cdc4b3;
  background: #f6f3ee;
  font-family: inherit;
  color: #15293a;
  border-radius: 0;
}
.info-field input:focus {
  outline: none;
  border-bottom-color: #2c5d8b;
  background: #fff;
}
.info-field input.error {
  border-bottom: 2px solid #c0392b;
  background: #fbecea;
}

.stay-calm-box {
  background: #e3edf4;
  padding: 16px 22px;
  border-radius: 2px;
  font-size: 16px;
  line-height: 1.5;
  color: #15293a;
  margin: 14px 0 24px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  max-width: 540px;
}
.stay-calm-box strong { font-weight: 700; }

.info-checkboxes {
  border-top: 1px solid #cdc4b3;
  padding-top: 18px;
  margin-top: 12px;
}
.info-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  cursor: pointer;
  font-size: 15px;
  color: #2c5d8b;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.4;
}
.info-check input[type=checkbox] {
  width: 22px;
  height: 22px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #2c5d8b;
  cursor: pointer;
}
.info-check input[type=checkbox].error {
  outline: 2px solid #c0392b;
  outline-offset: 1px;
}
.info-check a { color: #2c5d8b; text-decoration: underline; }
.info-check a:hover { color: #1a4669; }

/* ---------- Thanks view ---------- */
.thanks-box {
  background: #fff;
  border-radius: 3px;
  padding: 48px 40px;
  text-align: center;
  border: 1px solid #eae6df;
}
.thanks-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  background: #9a8c5e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
}
.thanks-message {
  font-size: 19px;
  color: #4a5a67;
  margin: 0 0 24px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.5;
}
.thanks-summary {
  background: #f6f3ee;
  padding: 20px 24px;
  margin: 22px auto;
  max-width: 480px;
  border-radius: 2px;
  text-align: left;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.summary-row.summary-total {
  font-weight: 700;
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid #cdc4b3;
  font-size: 18px;
}

/* ---------- Cart bar ---------- */
.cart-bar {
  background: #e9e5dd;
  padding: 22px 20px;
  text-align: center;
  font-size: 17px;
  color: #4a5a67;
  font-family: 'Cormorant Garamond', Georgia, serif;
}
.cart-bar em { font-style: italic; }
.cart-icon { display: inline-block; margin: 0 4px; font-size: 20px; vertical-align: middle; }

/* ---------- Footer ---------- */
.site-footer {
  background: #2e2b27;
  color: #fff;
  padding: 38px 28px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 920px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-left { display: flex; flex-direction: column; gap: 20px; }
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
}
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.btn-cancel {
  background: #fff;
  color: #15293a;
  border: 1px solid #fff;
  padding: 9px 26px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 2px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  align-self: flex-start;
}
.btn-cancel:hover { background: #f1ede7; }

/* ---------- Language switcher ---------- */
.lang-switcher { position: relative; }
.lang-btn {
  background: #fff;
  border: 1px solid #fff;
  padding: 9px 16px 9px 14px;
  cursor: pointer;
  font-size: 15px;
  border-radius: 2px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #15293a;
}
.lang-btn:hover { background: #f1ede7; }
.lang-btn .globe {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #15293a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}
.lang-btn .arrow { font-size: 10px; }
.lang-menu {
  position: absolute;
  bottom: calc(100% + 6px);
  right: 0;
  background: #fff;
  list-style: none;
  padding: 16px 8px 16px 0;
  margin: 0;
  min-width: 210px;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.18);
  border-radius: 2px;
  z-index: 30;
}
.lang-menu.hidden { display: none; }
.lang-menu .lang-header {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #777;
  margin: 0 0 10px;
  padding-left: 22px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
.lang-menu li:not(.lang-header) { margin: 0; }
.lang-menu a {
  color: #15293a;
  text-decoration: none;
  padding: 8px 22px;
  display: block;
  border-left: 3px solid transparent;
  font-size: 17px;
  font-family: 'Cormorant Garamond', Georgia, serif;
}
.lang-menu li.active a {
  font-weight: 700;
  border-left-color: #9a8c5e;
}
.lang-menu a:hover { background: #f6f3ee; }

/* ---------- "More information" modal ---------- */
.info-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.info-modal.hidden { display: none; }
.info-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(46, 43, 39, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.info-content {
  position: relative;
  background: #fff;
  max-width: 720px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 56px 56px 48px;
  border-radius: 4px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.3);
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
.info-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #15293a;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
.info-close:hover { background: #f1ede7; }
.info-body {
  font-size: 17px;
  line-height: 1.6;
  color: #15293a;
  white-space: pre-wrap;
}

.hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 740px) {
  .content { padding: 36px 22px 22px; }
  h1.page-title { font-size: 32px; }
  .venue-title { font-size: 28px; }
  .cart-title, .info-title, .thanks-title { font-size: 28px; }
  .date-range { font-size: 16px; }
  .date-row { grid-template-columns: 1fr auto; gap: 14px; }
  .date-row .venue { display: none; }
  .ticket-row.with-thumb,
  .ticket-row.no-thumb {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ticket-thumb { width: 80px; height: 64px; }
  .pagination button { width: 38px; height: 38px; font-size: 14px; }
  .footer-inner { flex-direction: column; }
  .info-content { padding: 56px 26px 32px; }

  .cart-card { padding: 16px 18px; }
  .cart-card-top { flex-direction: column; align-items: stretch; }
  .qty-controls { align-self: flex-start; }

  .info-row,
  .info-row.row-zip-phone {
    grid-template-columns: 1fr;
  }
  .thanks-box { padding: 32px 20px; }
}
