/* Theme-owned presentation for the plugin checkout component. */
.ttt-booking-skin .ttt-checkout-preview {
  max-width: 980px;
  padding: 20px 24px;
}
.ttt-booking-skin .ttt-checkout-preview__mast {
  align-items: center;
  display: flex;
  gap: 24px;
}
.ttt-booking-skin .ttt-checkout-preview__mast h2 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  line-height: 1.2;
  margin: 0;
}
.ttt-booking-skin .ttt-checkout-preview__icon { flex: 0 0 auto; vertical-align: middle; }
.ttt-booking-skin .ttt-checkout-preview__edit-itinerary { gap: 8px; }
.ttt-booking-skin .ttt-checkout-preview__close:hover { background: #862c27; border-color: #862c27; color: #fff; }
.ttt-booking-skin .ttt-checkout-preview__close:focus-visible { outline: 3px solid #173832; outline-offset: 3px; }
.ttt-booking-skin .ttt-checkout-preview__close {
  background: #b23b32;
  border-color: #b23b32;
  color: #fff;
  min-height: 44px;
  min-width: 44px;
  flex: 0 0 auto;
  font-size: 1rem;
  gap: 10px;
  height: auto;
  padding: 10px 14px;
  position: static;
  width: auto;
}
.ttt-booking-skin .ttt-checkout-preview__summary {
  align-items: flex-start;
  border-bottom: 1px solid #c5b89f;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 8px;
  padding-bottom: 8px;
}
.ttt-booking-skin .ttt-checkout-preview__summary details { flex: 1; min-width: 0; }
.ttt-booking-skin .ttt-checkout-preview__summary summary {
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 700;
  min-height: 48px;
  padding: 12px 0;
}
.ttt-booking-skin .ttt-checkout-preview__summary .ttt-checkout-preview__itinerary { margin-top: 0; padding: 12px; }
.ttt-booking-skin .ttt-checkout-preview__edit-itinerary { flex: 0 0 auto; font-size: 0.875rem; padding: 10px 12px; }
.ttt-booking-skin .ttt-checkout-preview__progress { margin: 12px 0; }
.ttt-booking-skin .ttt-checkout-preview__progress ol { gap: 4px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ttt-booking-skin .ttt-checkout-preview__progress li { border-radius: 8px; color: #485a53; font-size: 0.875rem; min-width: 0; }
.ttt-booking-skin .ttt-checkout-preview__progress li > div,
.ttt-booking-skin .ttt-checkout-preview__progress li > button {
  flex-direction: column;
  gap: 4px;
  height: 100%;
  justify-content: center;
  min-height: 64px;
  padding: 6px 2px;
  text-align: center;
}
.ttt-booking-skin .ttt-checkout-preview__progress-number { flex: 0 0 24px; height: 24px; width: 24px; }
.ttt-booking-skin .ttt-checkout-preview__progress li.is-complete .ttt-checkout-preview__progress-number { background: #dcebe3; color: #12543e; }
.ttt-booking-skin .ttt-checkout-preview__progress li.is-complete strong { text-decoration: underline; text-underline-offset: 3px; }
.ttt-booking-skin .ttt-checkout-preview__progress li[aria-current="step"] { box-shadow: inset 0 -3px 0 var(--checkout-green); }
.ttt-booking-skin .ttt-checkout-preview .screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.ttt-booking-skin .ttt-checkout-preview__progress button:focus-visible,
.ttt-booking-skin .ttt-checkout-preview__summary summary:focus-visible { outline: 3px solid #12543e; outline-offset: -3px; }
.ttt-booking-skin .ttt-checkout-preview__heading { display: block; }
.ttt-booking-skin .ttt-checkout-preview__heading h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); line-height: 1.25; margin: 4px 0 8px; max-width: none; }
.ttt-booking-skin .ttt-checkout-preview__heading p { margin: 0; }
.ttt-booking-skin .ttt-checkout-preview__heading > span { font-size: 0.75rem; }
.ttt-booking-skin .ttt-checkout-preview__status:empty { display: none; }
.ttt-booking-skin .ttt-checkout-preview__grid { margin-top: 16px; }
.ttt-booking-skin .ttt-checkout-preview__quote h4 { font-size: 1.35rem; }
.ttt-booking-skin .ttt-checkout-preview__step { padding: 20px; }
@media (min-width: 600px) {
  .ttt-booking-skin .ttt-checkout-preview__progress li > div,
  .ttt-booking-skin .ttt-checkout-preview__progress li > button { flex-direction: row; gap: 8px; min-height: 48px; padding: 8px 4px; }
}
.ttt-booking-skin .ttt-checkout-preview__step {
  border-color: #c5b89f;
}
.ttt-booking-skin .ttt-checkout-preview__grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 46rem;
}
.ttt-booking-skin .ttt-checkout-preview__field input,
.ttt-booking-skin .ttt-checkout-preview__field textarea,
.ttt-booking-skin .ttt-checkout-preview__field select,
.ttt-booking-skin .ttt-checkout-preview__binding select,
.ttt-booking-skin .ttt-checkout-preview__offer-form input,
.ttt-booking-skin .ttt-checkout-preview__card {
  border: 2px solid #6f7b76;
  font-size: 1rem;
  min-height: 48px;
}
.ttt-booking-skin .ttt-checkout-preview__phone-control {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(14rem, 0.9fr) minmax(16rem, 1.1fr);
}
.ttt-booking-skin .ttt-checkout-preview__help,
.ttt-booking-skin .ttt-checkout-preview__field-error,
.ttt-booking-skin .ttt-checkout-preview__offer-status,
.ttt-booking-skin .ttt-checkout-preview__processing-help {
  font-size: 0.875rem;
  line-height: 1.45;
}
.ttt-booking-skin .ttt-checkout-preview__choice > label,
.ttt-booking-skin .ttt-checkout-preview__duplicate-warning label,
.ttt-booking-skin .ttt-checkout-preview__confirmation {
  min-height: 48px;
  padding: 10px 12px;
}
.ttt-booking-skin .ttt-checkout-preview__choice > label {
  border: 1px solid #b3a88f;
  border-radius: 10px;
  margin: 8px 8px 0 0;
}
.ttt-booking-skin .ttt-checkout-preview__choice input,
.ttt-booking-skin .ttt-checkout-preview__duplicate-warning input,
.ttt-booking-skin .ttt-checkout-preview__confirmation input {
  min-height: 20px;
  min-width: 20px;
}
.ttt-booking-skin .ttt-checkout-preview button,
.ttt-booking-skin .ttt-checkout-preview .ttt-rezdy-selector__button,
.ttt-booking-skin .ttt-checkout-preview__review-facts button,
.ttt-booking-skin .ttt-checkout-preview__review-guest button,
.ttt-booking-skin .ttt-checkout-preview__offer-toggle,
.ttt-booking-skin .ttt-checkout-preview__offer-applied button {
  min-height: 48px;
  min-width: 44px;
}
.ttt-booking-skin .ttt-checkout-preview__review-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ttt-booking-skin .ttt-checkout-preview__review-facts small,
.ttt-booking-skin .ttt-checkout-preview__review-guest small {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.ttt-booking-skin .ttt-checkout-preview__review-guests {
  background: #fff;
  border: 1px solid #c5b89f;
  border-radius: 12px;
  margin-top: 16px;
  padding: 16px;
}
.ttt-booking-skin .ttt-checkout-preview__review-guests h4 { margin: 0; }
.ttt-booking-skin .ttt-checkout-preview__review-guest {
  align-items: flex-start;
  border-top: 1px solid #d6cbb6;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 14px 0;
}
.ttt-booking-skin .ttt-checkout-preview__review-guest:first-of-type { border-top: 0; }
.ttt-booking-skin .ttt-checkout-preview__review-guest button {
  background: transparent;
  border: 0;
  color: #0f5f4a;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 10px;
  text-decoration: underline;
}
.ttt-booking-skin .ttt-checkout-preview__errors a {
  color: #7b211b;
  font-weight: 750;
}
.ttt-booking-skin .ttt-checkout-preview [aria-invalid="true"] {
  border-color: #9f2f26;
}
.ttt-booking-skin .ttt-checkout-preview input,
.ttt-booking-skin .ttt-checkout-preview select,
.ttt-booking-skin .ttt-checkout-preview textarea {
  scroll-margin-top: 120px;
}

@media (max-width: 600px) {
  .ttt-booking-skin .ttt-checkout-preview { padding-inline: 12px; }
  .ttt-booking-skin .ttt-checkout-preview__step { border-radius: 14px; padding: 12px; }
  .ttt-booking-skin .ttt-checkout-preview__guest-card,
  .ttt-booking-skin .ttt-checkout-preview__choice,
  .ttt-booking-skin .ttt-checkout-preview__binding,
  .ttt-booking-skin .ttt-checkout-preview__itinerary,
  .ttt-booking-skin .ttt-checkout-preview__quote,
  .ttt-booking-skin .ttt-checkout-preview__boundary,
  .ttt-booking-skin .ttt-checkout-preview__confirmations,
  .ttt-booking-skin .ttt-checkout-preview__trust { padding: 12px; }
  .ttt-booking-skin .ttt-checkout-preview__phone-control { grid-template-columns: minmax(0, 1fr); }
  .ttt-booking-skin .ttt-checkout-preview__review-facts { grid-template-columns: minmax(0, 1fr); }
  .ttt-booking-skin .ttt-checkout-preview__review-guest { align-items: stretch; flex-direction: column; gap: 4px; }
  .ttt-booking-skin .ttt-checkout-preview__review-guest button { align-self: flex-start; }
}

/* Persistent Custom planner presentation. */
:where(.ttt-booking-skin) .ttt-planner-action[hidden] { display: none !important; }
:where(.ttt-booking-skin) .ttt-planner-action { position: fixed; top: var(--ttt-action-top, 90px); z-index: 99; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; box-sizing: border-box; border: 1px solid #c4b4a6; border-radius: 8px; background: #fffaf3; box-shadow: 0 3px 12px #0002; }
:where(.ttt-booking-skin) .ttt-planner-action small { display: block; font-size: .75rem; }
:where(.ttt-booking-skin) .ttt-planner-action strong { font-size: 1rem; }
:where(.ttt-booking-skin) .ttt-planner-action button { flex-shrink: 0; }
:where(.ttt-booking-skin) .ttt-planner-action-reserved { padding-bottom: var(--ttt-action-height, 120px); }
:where(.ttt-booking-skin) [data-ttt-rezdy-selector] :is(input, button, select, summary, [data-ttt-errors]) { scroll-margin-top: calc(var(--ttt-action-top, 90px) + 110px); scroll-margin-bottom: 150px; }
:where(.ttt-booking-skin) .ttt-planner-disclosure { font-size: .85rem; }
:where(.ttt-booking-skin) .ttt-planner-meeting { margin-top: 1rem; }
:where(.ttt-booking-skin) .ttt-planner-meeting summary { cursor: pointer; padding-block: .7rem; font-weight: 700; }
@media (max-width: 768px) {
  :where(.ttt-booking-skin) .ttt-planner-action { top: auto; bottom: 0; border-radius: 8px 8px 0 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); flex-wrap: wrap; gap: 6px; }
  :where(.ttt-booking-skin) .ttt-planner-action button { width: 100%; }
  :where(.ttt-booking-skin) .ttt-planner-action-reserved { padding-bottom: var(--ttt-action-height, 170px); }
}

.ttt-booking-skin .ttt-booking-journey__itinerary { position: static; }
.ttt-booking-skin .ttt-booking-journey__mobile-summary { position: static; }

body.ttt-checkout-drawer-open:where(.ttt-booking-skin) .ttt-planner-action { display: none !important; }

/* Legacy plugin checkout markup; presentation remains owned by the theme. */
.ttt-booking-skin .ttt-checkout-preview__guest-identity { min-width: 0; overflow-wrap: anywhere; }
.ttt-booking-skin .ttt-checkout-preview__guest-identity p { margin: 0; }
.ttt-booking-skin .ttt-checkout-preview__guest-identity p + p { margin-top: 6px; }
.ttt-booking-skin .ttt-checkout-preview__guest-ticket { color: #46584f; font-size: .875rem; }
.ttt-booking-skin .ttt-checkout-preview__confirmation-links { padding-left: 1.25rem; }
.ttt-booking-skin .ttt-checkout-preview__confirmation-links a { display: inline-block; padding-block: 12px; overflow-wrap: anywhere; }
.ttt-booking-skin .ttt-checkout-preview__confirmation-links span { font-size: .875rem; }
.ttt-booking-skin .ttt-checkout-preview__step[data-checkout-step-panel="payment"] { overflow-wrap: anywhere; }

/* Explicit legacy theme resets; original extracted declarations above stay unchanged. */
.ttt-booking-skin .ttt-checkout-preview h2,
.ttt-booking-skin .ttt-checkout-preview h3,
.ttt-booking-skin .ttt-checkout-preview h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}
.ttt-booking-skin .ttt-checkout-preview__progress ol,
.ttt-booking-skin .ttt-checkout-preview__progress li {
  margin: 0;
  padding: 0;
  list-style: none;
}
