/* The booking side of the tour page's box (src/booking/box.js). Sizes and colours follow the old booking form. */
.ggd-tp-booking { width: 381px; max-width: 100%; margin: 0 auto; }
.ggd-bk { margin: 0; font-family: var(--ggd-font, inherit); }
.ggd-bk__card { background: #fff; border: 1px solid #e8e8e8; border-radius: 10px; box-shadow: 0 6px 24px rgba(0, 0, 0, .12); padding: 16px; display: flex; flex-direction: column; }

/* ----- participants ----- */
.ggd-bk__people { display: flex; flex-wrap: wrap; gap: 8px 4%; margin: 0 0 10px; }
.ggd-bk__kind { margin: 0; flex: 1 1 100%; font-size: 13px; line-height: 1.4; color: #666; }
.ggd-bk__kind label { display: block; margin: 0 0 4px; font-size: 16px; color: #333; }
.ggd-bk__people--pair .ggd-bk__kind { flex: 0 0 48%; }
.ggd-bk__people--rows .ggd-bk__kind { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ggd-bk__people--rows .ggd-bk__kind label { margin: 0; flex: 1 1 auto; line-height: 1.3; }
.ggd-bk__note { display: block; font-size: 12px; font-weight: normal; color: #8a8a8a; line-height: 1.3; }
.ggd-bk__step { display: inline-flex; align-items: stretch; width: 100%; max-width: 180px; border: 1px solid #e3e3e3; border-radius: 6px; overflow: hidden; background: #fff; }
.ggd-bk__people--rows .ggd-bk__step { flex: 0 0 118px; width: 118px; }
.ggd-bk .ggd-bk__step button { flex: 0 0 36px; width: 36px; min-width: 36px; height: 36px; padding: 0; margin: 0; border: 0; border-radius: 0; background: #fff; color: #555; font: inherit; font-size: 18px; line-height: 1; cursor: pointer; box-shadow: none; touch-action: manipulation; }
.ggd-bk .ggd-bk__step button:hover, .ggd-bk .ggd-bk__step button:focus { background: #fff; color: #555; }
.ggd-bk .ggd-bk__step button:active { background: #f7f7f7; }
.ggd-bk .ggd-bk__step button[disabled] { color: #d8d8d8; cursor: default; }
.ggd-bk .ggd-bk__step input { flex: 1 1 auto; width: 100%; min-width: 0; height: 36px; margin: 0; padding: 0; text-align: center; border: 0; border-inline: 1px solid #e3e3e3; border-radius: 0; background: #fff; color: #333; font: inherit; font-size: 16px; font-weight: 500; box-shadow: none; -moz-appearance: textfield; appearance: textfield; }
.ggd-bk__step input::-webkit-inner-spin-button, .ggd-bk__step input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.ggd-bk__step button:focus-visible, .ggd-bk__step input:focus-visible { outline: 2px solid #2271b1; outline-offset: -2px; }

/* passengers folded under one row (EasyRider) */
.ggd-bk__fold, .ggd-bk__timepick { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; flex: 1 1 100%; }
.ggd-bk__foldlabel, .ggd-bk__timelabel { color: #666; }
.ggd-bk__foldnote { display: block; font-size: 12px; color: #8a8a8a; line-height: 1.3; }
.ggd-bk .ggd-bk__foldbtn, .ggd-bk .ggd-bk__timebtn { border: 1px solid #e3e3e3; background: #fff; color: #444; border-radius: 6px; height: 36px; padding: 0 12px; font: inherit; font-size: 14px; line-height: 1; cursor: pointer; white-space: nowrap; box-shadow: none; }
.ggd-bk .ggd-bk__foldbtn:hover, .ggd-bk .ggd-bk__foldbtn:focus-visible, .ggd-bk .ggd-bk__timebtn:hover, .ggd-bk .ggd-bk__timebtn:focus-visible { border-color: #bbb; background: #fff; color: #444; outline: none; }
.ggd-bk--open .ggd-bk__foldbtn { border-color: transparent; color: #8a8a8a; padding: 0 4px; }
.ggd-bk--fold .ggd-bk__kind--passenger { display: none; }
.ggd-bk--fold.ggd-bk--open .ggd-bk__kind--passenger { display: flex; }
.ggd-bk__kind--passenger > label { padding-inline-start: 14px; color: #444; }
.ggd-bk__timepick { flex-wrap: wrap; margin: 12px 0 0; }
.ggd-bk__timebtns { display: flex; gap: 8px; }
.ggd-bk .ggd-bk__timebtn { min-width: 72px; }
.ggd-bk .ggd-bk__timebtn.is-selected { border-color: #1a8a4a; background: #e8f5ee; color: #14683a; font-weight: 600; }
.ggd-bk .ggd-bk__timebtn.is-unavail { opacity: .45; text-decoration: line-through; }
.ggd-bk__timemsg { flex-basis: 100%; font-size: 12px; color: #b3261e; margin: 0; }
.ggd-bk--timebuttons .ggd-bk__times { display: none; }

/* ----- the calendar ----- */
.ggd-bk__cal { margin: 0; }
.ggd-bk__calhead { display: flex; align-items: center; justify-content: space-between; background: #f1f3f5; padding: 6px; border-radius: 6px 6px 0 0; }
.ggd-bk__month { flex: 1 1 auto; text-align: center; color: #2b2b2b; font-weight: 700; font-size: 16px; }
.ggd-bk .ggd-bk__nav { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 4px; background: #f1f3f5; color: #4b5563; font: inherit; font-size: 22px; font-weight: 700; line-height: 1; cursor: pointer; box-shadow: none; }
.ggd-bk .ggd-bk__nav:hover, .ggd-bk .ggd-bk__nav:focus { background: #e3e6ea; color: #4b5563; }
.ggd-bk .ggd-bk__nav[disabled] { opacity: .3; cursor: default; background: #f1f3f5; }
.ggd-bk__prev::before { content: "‹"; }
.ggd-bk__next::before { content: "›"; }
[dir="rtl"] .ggd-bk__prev::before { content: "›"; }
[dir="rtl"] .ggd-bk__next::before { content: "‹"; }
.ggd-bk__grid { width: 100%; margin: 0; border-collapse: separate; border-spacing: 2px; table-layout: fixed; min-height: 232px; }
.ggd-bk__grid th { padding: 6px 0; font-size: 13px; font-weight: 600; color: #6b7280; text-align: center; }
.ggd-bk table.ggd-bk__grid thead:first-child tr:first-child th, .ggd-bk table.ggd-bk__grid thead tr th, .ggd-bk table.ggd-bk__grid tbody tr td { border: 0; } /* the theme rules a line over every table's first row */
.ggd-bk__grid td { padding: 0; text-align: center; border: 0; }
.ggd-bk .ggd-bk__grid tbody > tr > td, .ggd-bk .ggd-bk__grid tbody > tr:hover > td, .ggd-bk .ggd-bk__grid thead th { background: none; } /* the theme stripes every table */
.ggd-bk__grid td > span, .ggd-bk .ggd-bk__grid td > button { display: block; width: 100%; margin: 0; padding: 6px 0; border: 0; border-radius: 4px; font: inherit; font-size: 14px; line-height: 20px; text-align: center; box-shadow: none; }
.ggd-bk__grid td > span { color: #b8bcc2; background: #f6f7f8; }
.ggd-bk__grid td.is-other > span { background: none; color: transparent; }
.ggd-bk .ggd-bk__grid td > button { background: #239e57; color: #fff; cursor: pointer; }
.ggd-bk .ggd-bk__grid td > button:hover, .ggd-bk .ggd-bk__grid td > button:focus { background: #1b7f45; color: #fff; }
.ggd-bk .ggd-bk__grid td.is-picked > button { background: #111827; color: #fff; }
.ggd-bk__grid td.is-full > span { background: #c0392b; color: #fff; }
.ggd-bk__grid td.is-today > span, .ggd-bk__grid td.is-today > button { box-shadow: inset 0 0 0 2px rgba(17, 24, 39, .35); }
.ggd-bk--wait .ggd-bk__grid { opacity: .5; }

/* ----- the hour, the price, the button ----- */
.ggd-bk__times { margin: 10px 0 0; }
.ggd-bk__hint { margin: 0; font-size: 14px; color: #666; }
.ggd-bk__times ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ggd-bk .ggd-bk__times li button { border: 1px solid #d5d8dc; background: #fff; color: #333; border-radius: 6px; padding: 8px 14px; font: inherit; font-size: 15px; line-height: 1.2; cursor: pointer; box-shadow: none; direction: ltr; }
.ggd-bk .ggd-bk__times li button:hover, .ggd-bk .ggd-bk__times li button:focus { border-color: #1a8a4a; background: #fff; color: #333; }
.ggd-bk .ggd-bk__times li button.is-selected { border-color: #1a8a4a; background: #e8f5ee; color: #14683a; font-weight: 600; }
.ggd-bk__times small { font-size: 12px; color: #777; }
.ggd-bk__one { display: flex; align-items: baseline; gap: .4em; margin: 4px 0 0; font-size: 16px; line-height: 1.4; }
.ggd-bk__one span { color: #555; unicode-bidi: plaintext; }
.ggd-bk__one b { font-weight: 700; color: #222; direction: ltr; unicode-bidi: isolate; }
.ggd-bk__cost { margin: 12px 0 0; padding: 10px 12px; background: #f6f7f8; border-radius: 6px; font-size: 16px; color: #333; }
.ggd-bk__cost strong { font-weight: 700; color: #111; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.ggd-bk__error { margin: 12px 0 0; padding: 10px 12px; background: #fdf0ef; border-radius: 6px; font-size: 14px; line-height: 1.5; color: #b3261e; }
.ggd-bk .ggd-bk__go { display: block; width: 100%; margin: 14px 0 0; padding: 10px 24px; border: 1.6px solid var(--ggd-text, #1b2330); border-radius: 20px; background: var(--ggd-primary, #ffae16); color: var(--ggd-text, #1b2330); font-family: var(--ggd-font, inherit); font-size: 16px; font-weight: 500; line-height: 1.5; cursor: pointer; }
.ggd-bk .ggd-bk__go[disabled] { opacity: .5; cursor: not-allowed; }

@media (min-width: 1025px) {
  #ggd-panel-booking .ggd-bk__card { padding-top: 12px; padding-bottom: 12px; }
  #ggd-panel-booking .ggd-bk__people { margin-bottom: 6px; }
  #ggd-panel-booking .ggd-bk__step button, #ggd-panel-booking .ggd-bk__step input { height: 32px; }
  #ggd-panel-booking .ggd-bk__calhead { padding-top: 4px; padding-bottom: 4px; }
  #ggd-panel-booking .ggd-bk__grid { min-height: 196px; }
  #ggd-panel-booking .ggd-bk__grid th { padding: 3px 0; }
  #ggd-panel-booking .ggd-bk__grid td > span, #ggd-panel-booking .ggd-bk__grid td > button { padding: 2px 0; }
}
@media (max-width: 767px) {
  .ggd-bk .ggd-bk__step button { flex-basis: 38px; width: 38px; height: 42px; color: #8a8a8a; }
  .ggd-bk .ggd-bk__step input { height: 42px; }
  .ggd-bk__step { border-radius: 8px; }
}
