/* Cable Car Departure Time — slot picker.
   Recreates the original .booking-times grid whose styling SingleFile tree-shook
   away. Colours/gradients taken from the live site's computed styles. */

/* Date picker */
.zs .booking-select .booking-datepicker-wrap {
  position: relative;
}
.zs .booking-select .zs-datepicker {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 44px 10px 12px;
  border: 2px solid #2d3a62;
  background: #fff;
  font-size: 16px;
  color: #333;
  line-height: 1.4;
  cursor: pointer;
}
.zs .booking-select .booking-datepicker-trigger {
  position: absolute;
  right: 0;
  top: 0;
  width: 44px;
  height: calc(100% - 8px);
  margin-bottom: 8px;
  border: 0;
  background: transparent;
  color: #2d3a62;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.zs .booking-select .booking-datepicker-trigger .zs-icon-calendar {
  font-size: 20px;
}

/* Calendar popup */
.zs .booking-datepicker-popup {
  display: block !important;
  position: absolute;
  left: 0;
  top: calc(100% - 4px);
  z-index: 300;
  width: 100%;
  min-width: 280px;
  max-width: 340px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  padding: 8px;
  box-sizing: border-box;
}
.zs .booking-datepicker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 4px 0;
}
.zs .booking-datepicker-title {
  font-weight: bold;
  color: #2d3a62;
  font-size: 15px;
}
.zs .booking-datepicker-nav {
  border: 0;
  background: transparent;
  color: #2d3a62;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 18px;
}
.zs .booking-datepicker-nav:disabled {
  opacity: 0.3;
  cursor: default;
}
.zs .booking-datepicker-calendar {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.zs .booking-datepicker-calendar th {
  font-size: 12px;
  font-weight: bold;
  color: #666;
  padding: 4px 0;
  text-align: center;
}
.zs .booking-datepicker-calendar td {
  padding: 2px;
  text-align: center;
}
.zs .booking-datepicker-day {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: bold;
  line-height: 32px;
  height: 32px;
  padding: 0;
  cursor: pointer;
  color: #2d3a62;
  border-radius: 2px;
}
.zs .booking-datepicker-day.availability-green {
  background: #6fb824;
  color: #fff;
}
.zs .booking-datepicker-day.availability-green:hover {
  background: #3c6313;
}
.zs .booking-datepicker-day.zs-ui-state-active {
  background: #2d3a62 !important;
  color: #fff;
}
.zs .booking-datepicker-day--disabled {
  color: #ccc;
  cursor: default;
}
.zs .booking-datepicker-empty {
  background: transparent;
}

.zs .booking-times ul.grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 0 -12px;
  padding: 0;
  list-style: none;
}
.zs .booking-times li.js-booking-clickable {
  width: 25%;
  padding: 12px 0 0 12px;
  box-sizing: border-box;
  list-style: none;
  cursor: pointer;
}
@media (max-width: 991px) {
  .zs .booking-times li.js-booking-clickable { width: 50%; }
}
@media (max-width: 480px) {
  .zs .booking-times li.js-booking-clickable { width: 100%; }
}

.zs .booking-times .timeslot {
  display: table;
  width: 100%;
  height: 44px;
  border: 2px solid #2d3a62;
  background: #fff;
  overflow: hidden;
  transition: background 0.15s ease;
}
.zs .booking-times .timeslot .time {
  display: table-cell;
  vertical-align: middle;
  padding-left: 12px;
  color: #2d3a62;
  font-weight: bold;
  white-space: nowrap;
}
.zs .booking-times .timeslot .time .zs-icon-clock { margin-right: 8px; }
.zs .booking-times .timeslot .available-tickets {
  display: table-cell;
  vertical-align: middle;
  width: 64px;
  text-align: center;
  color: #fff;
  padding: 0 8px 0 16px;
  font-weight: bold;
  background: linear-gradient(104deg, transparent, transparent 10px, #2d3a62 10px, #253051) !important;
}

/* hover + selected: whole slot goes navy */
.zs .booking-times li.js-booking-clickable:not(.disable):hover .timeslot,
.zs .booking-times li.js-booking-clickable.selected .timeslot,
.zs .booking-times li.js-booking-clickable.active .timeslot {
  background: #2d3a62;
}
.zs .booking-times li.js-booking-clickable:not(.disable):hover .time,
.zs .booking-times li.js-booking-clickable.selected .time,
.zs .booking-times li.js-booking-clickable.active .time {
  color: #fff;
}
.zs .booking-times li.js-booking-clickable:not(.disable):hover .available-tickets,
.zs .booking-times li.js-booking-clickable.selected .available-tickets,
.zs .booking-times li.js-booking-clickable.active .available-tickets {
  background: transparent !important;
  color: #fff;
}

/* sold-out / disabled */
.zs .booking-times li.js-booking-clickable.disable {
  cursor: not-allowed;
  pointer-events: none;
}
.zs .booking-times li.disable .timeslot {
  border-color: #e6e6e6;
  background: #f2f2f2;
}
.zs .booking-times li.disable .time { color: #a6a6a6; }
.zs .booking-times li.disable .available-tickets {
  color: #a6a6a6;
  background: linear-gradient(104deg, transparent, transparent 10px, #e6e6e6 10px, #dedede) !important;
}

/* PREV / NEXT pager — compact 50/50 split */
.zs .booking-next-prev {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  margin: 16px 0 0;
  padding: 0;
  gap: 8px;
  box-sizing: border-box;
}
.zs .booking-next-prev .previous,
.zs .booking-next-prev .next {
  flex: 1 1 50%;
  min-width: 0;
  max-width: 50%;
  box-sizing: border-box;
}
.zs .booking-next-prev .button {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 0;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  padding: 7px 10px;
  font-size: 12px;
  line-height: 18px;
  background: #2d3a62;
}
.zs .booking-next-prev .previous .button {
  background: #8890a6;
}
.zs .booking-next-prev .button:disabled {
  background: #c7cbd6;
  cursor: default;
}
.zs .booking-next-prev .button:not(:disabled):hover {
  opacity: 0.92;
}

.zs .booking-pager {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}
.zs .booking-pager button {
  border: 0;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #2d3a62;
  min-width: 180px;
  justify-content: center;
}
.zs .booking-pager button.prev { background: #8890a6; }
.zs .booking-pager button:disabled { background: #c7cbd6; cursor: default; }
