/* Shared count controls: direct entry plus 44px decrement/increment targets. */
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-count-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-count-row > label {
  margin: 0;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-count {
  display: grid;
  grid-template-columns: 44px 44px 44px;
  align-items: center;
  gap: 4px;
  flex: none;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-count input {
  appearance: textfield;
  -moz-appearance: textfield;
  box-sizing: border-box;
  width: 44px;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 4px 0;
  text-align: center;
  font-size: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #252f42;
  background: #fff;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-count input::-webkit-inner-spin-button,
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-count input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-count button {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #b8bfc7;
  border-radius: 50%;
  background: #fff;
  color: #252f42;
  font:
    400 24px/1 system-ui,
    sans-serif;
  display: grid;
  place-items: center;
  touch-action: manipulation;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-count button:hover:not(:disabled) {
  border-color: #14343d;
  background: #f5f7fa;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-count button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-count :focus-visible {
  outline: 3px solid #96b9f3;
  outline-offset: 2px;
}
#pca-multiday-booking .counts,
#pca-multiday-booking #vehicle-inputs {
  display: block;
}

/* Payment benefit is informational; confirmed totals and actions retain priority. */
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-booking-benefit {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  margin: 0 0 14px;
  background: #f6f7f9;
  border-radius: 10px;
  color: #252f42;
  font-size: 14px;
  line-height: 1.5;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-booking-benefit strong {
  font-size: 16px;
  font-weight: 600;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-booking-benefit span {
  color: #5b677a;
}

/* Read-only cancellation deadlines shared by desktop and the mobile sheet. */
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-booking-policy {
  margin: 12px 0 0;
  color: #5a6772;
  font-size: 14px;
  line-height: 19px;
  text-align: left;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-booking-policy__summary {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-booking-policy__summary strong {
  color: #14232d;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  display: block;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-booking-policy__check {
  color: #087b63;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}

/* The anchor focuses this non-interactive container; keep focus rings on its controls. */
.pca-booking-widget #pca-booking:focus {
  outline: none;
}

/* Shared review hierarchy: trip, inclusive group total, reassurance, booking actions. */
.pca-booking-widget .pca-booking-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
}
.pca-booking-widget .pca-booking-heading h2 {
  font: 700 24px/31px var(--font-display, 'Plus Jakarta Sans', sans-serif);
  letter-spacing: -0.4px;
  margin: 0;
  color: #14232d;
}
.pca-booking-widget .pca-booking-edit {
  border: 0;
  background: none;
  color: #14232d;
  text-decoration: underline;
  text-underline-offset: 3px;
  font:
    500 16px/1.4 Inter,
    sans-serif;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  cursor: pointer;
}
.pca-booking-widget .pca-booking-edit:disabled {
  opacity: 0.5;
  cursor: default;
}
.pca-booking-widget .pca-booking-edit:focus-visible {
  outline: 2px solid #14232d;
  outline-offset: 3px;
}
.pca-booking-widget :is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-booking-summary {
  display: flex;
  flex-direction: column;
  color: #14232d;
  font-size: 16px;
  line-height: 21px;
}
.pca-booking-widget :is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-booking-summary[hidden] {
  display: none;
}
.pca-booking-widget :is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-booking-summary p {
  font:
    400 16px/24px Inter,
    sans-serif !important;
  color: #5a6772;
  margin: 3px 0 0;
  letter-spacing: normal;
}
.pca-booking-widget
  :is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking)
  .pca-booking-summary
  [data-pca-review-when] {
  font-weight: 600 !important;
  color: #14232d;
}
.pca-booking-widget :is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-booking-summary__activity {
  margin: 0;
  border: 0;
  padding: 0;
}
.pca-booking-widget
  :is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking)
  .pca-booking-summary__activity
  > strong {
  font:
    600 16px/24px Inter,
    sans-serif;
  color: #14232d;
}
.pca-booking-widget .pca-booking-summary--itinerary [data-pca-review-group] {
  order: -1;
  margin-bottom: 14px;
}
.pca-booking-widget .pca-booking-summary--itinerary .pca-booking-summary__activity + .pca-booking-summary__activity {
  margin-top: 14px !important;
}
.pca-booking-widget
  :is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking).pca-booking-summary-mode
  :is(.pca-pilot__footer, .booking-footer) {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e4e7eb;
}
.pca-booking-widget
  :is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking).pca-booking-summary-mode
  #pca-pilot-total-caption {
  display: none;
}
.pca-booking-widget :is(#pca-saona-pilot, #pca-multiday-booking) :is(#pca-pilot-total-label, .total-label) {
  font:
    600 16px/24px Inter,
    sans-serif;
  color: #14232d;
}
.pca-booking-widget :is(#pca-saona-pilot, #pca-multiday-booking) :is(#pca-pilot-total, #package-total) {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}
.pca-booking-widget :is(#pca-saona-pilot, #pca-multiday-booking) .pca-total-amount {
  font: 700 24px/30px var(--font-display, 'Plus Jakarta Sans', sans-serif);
  letter-spacing: -0.4px;
  color: #14232d;
}
.pca-booking-widget :is(#pca-saona-pilot, #pca-multiday-booking) .pca-total-currency {
  display: inline;
  font:
    500 14px/20px Inter,
    sans-serif;
  letter-spacing: normal;
  color: #5a6772;
  vertical-align: baseline;
}
.pca-booking-widget :is(#pca-saona-pilot, #pca-multiday-booking) :is(.pca-pilot__edit, .edit) {
  color: #14232d;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pca-booking-widget :is(#pca-saona-pilot, #pca-multiday-booking) :is(#pca-pilot-breakdown, .price-details) {
  margin: 2px 0 14px;
  border: 0;
  padding: 0;
}
.pca-booking-widget :is(#pca-saona-pilot, #pca-multiday-booking) :is(#pca-pilot-breakdown, .price-details) > summary {
  display: block;
  min-height: 44px;
  padding: 8px 0;
  font:
    400 14px/20px Inter,
    sans-serif;
  color: #14232d;
  text-decoration: none;
}
.pca-booking-widget .pca-price-details-label {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pca-booking-widget [data-pca-fees-summary] {
  color: #5a6772;
}
.pca-booking-widget :is(#pca-pilot-breakdown, .price-details) > summary::before {
  content: none !important;
}
.pca-booking-widget
  :is(#pca-saona-pilot, #pca-multiday-booking)
  :is(#pca-pilot-pay-later, #pca-pilot-pay-now, #continue-checkout, #pay-now-instead) {
  box-sizing: border-box;
  min-height: 50px !important;
  height: auto;
  border-radius: 6px;
  font:
    600 16px/24px Inter,
    sans-serif;
  padding: 13px 12px;
  margin: 0;
  width: 100%;
}
.pca-booking-widget :is(#pca-saona-pilot, #pca-multiday-booking) .pca-overview-primary {
  background: #f48121 !important;
  border: 1px solid #f48121 !important;
  color: #14232d !important;
  box-shadow: none;
}
.pca-booking-widget :is(#pca-saona-pilot, #pca-multiday-booking) .pca-overview-primary:hover:not(:disabled) {
  background: #e8761a;
  border-color: #e8761a;
}
.pca-booking-widget :is(#pca-saona-pilot, #pca-multiday-booking) .pca-overview-secondary {
  background: #fff !important;
  border: 1px solid #4b6268 !important;
  color: #14232d !important;
  box-shadow: none;
}
.pca-booking-widget :is(#pca-saona-pilot, #pca-multiday-booking) .pca-payment-timing {
  border: 0;
  background: none;
  margin: 8px 0 14px;
  border-radius: 0;
  padding: 0;
  color: #5a6772;
  text-align: center;
  font:
    400 14px/20px Inter,
    sans-serif;
}
.pca-booking-widget :is(#pca-saona-pilot, #pca-multiday-booking) .pca-payment-timing strong {
  font:
    600 14px/20px Inter,
    sans-serif;
  color: #14232d;
}
.pca-booking-widget :is(#pca-saona-pilot, #pca-multiday-booking) .pca-booking-policy {
  margin: 0 0 16px;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  background: #eaf5ef;
  color: #28634e;
}
.pca-booking-widget :is(#pca-saona-pilot, #pca-multiday-booking) .pca-booking-policy__summary strong {
  font-size: 16px;
  line-height: 22px;
  color: #18563f;
}
.pca-booking-widget :is(#pca-saona-pilot, #pca-multiday-booking) [data-pca-cancel-summary] {
  font-size: 14px;
  line-height: 19px;
}
.pca-booking-widget .pca-summary-chevron {
  display: inline-block;
  flex: none;
  color: #14232d;
  vertical-align: middle;
  width: 16px;
  height: 16px;
}
.pca-booking-widget :is(#pca-pilot-breakdown, .price-details) .pca-summary-chevron {
  width: 12px;
  height: 12px;
  margin-left: 4px;
}

/* Announce refreshes accessibly without adding visible copy or changing layout. */
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-total-feedback {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-price-refreshing {
  visibility: hidden;
  pointer-events: none;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) :is(#pca-pilot-total, #package-total) {
  position: relative;
  min-width: 100px;
  min-height: 30px;
  justify-content: flex-end;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking)
  .pca-total-skeleton
  :is(#pca-pilot-total, #package-total) {
  color: transparent;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking)
  .pca-total-skeleton
  :is(#pca-pilot-total, #package-total)
  > * {
  visibility: hidden;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-total-skeleton #pca-pilot-total-caption {
  visibility: hidden;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking)
  .pca-total-skeleton
  :is(#pca-pilot-total, #package-total)::after {
  content: '';
  position: absolute;
  inset: 4px 0;
  background: linear-gradient(100deg, #e4e8ed 20%, #f5f7f9 45%, #e4e8ed 70%);
  background-size: 220% 100%;
  border-radius: 5px;
  animation: pca-total-shimmer 1.2s ease-in-out infinite;
}
@keyframes pca-total-shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking)
    .pca-total-skeleton
    :is(#pca-pilot-total, #package-total)::after {
    animation: none;
  }
}

/* Vehicle selection is shared by the single-tour and itinerary widgets. */
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-vehicles [hidden] {
  display: none;
}
.pca-vehicles__cards {
  display: grid;
  gap: 8px;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-vehicles__card {
  display: grid;
  gap: 4px;
  width: 100%;
  margin: 0;
  padding: 18px;
  border: 1px solid #d7e5e8;
  border-radius: 12px;
  background: #fff;
  color: #14343d;
  font: inherit;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-vehicles__card[aria-pressed='true'] {
  border-color: #2c805a;
  box-shadow: inset 0 0 0 1px #2c805a;
  background: #f1f8f4;
}

.pca-vehicles__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.pca-vehicles__card small,
.pca-vehicles [data-vehicle-message] {
  font-size: 16px;
  color: #4b6268;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) .pca-vehicles__action {
  display: inline-block;
  width: auto;
  min-height: 44px;
  margin: 0 12px 0 0;
  padding: 4px 0;
  border: 0;
  background: none;
  color: #213e4c;
  text-decoration: underline;
  font: inherit;
  cursor: pointer;
}
.pca-vehicles [data-driver-options] select {
  min-height: 44px;
  margin-left: 6px;
}
.pca-vehicles [data-vehicle-message]:empty {
  display: none;
}
.pca-vehicles :focus-visible {
  outline: 2px solid #324fbe;
  outline-offset: 2px;
}

/* A saved review stays a review during revalidation; only the total animates. */
.pca-booking-widget
  :is(#pca-saona-pilot, #pca-multiday-booking).pca-booking-restoring
  :is([data-pca-benefit], #live-state, #payment) {
  display: none !important;
}
.pca-booking-widget #pca-multiday-booking.pca-booking-restoring #live-main {
  display: block !important;
}
.pca-booking-widget .pca-booking-restoring :is(.pca-pilot__footer, .booking-footer) {
  min-height: var(--pca-restore-footer-height, 330px);
  box-sizing: border-box;
}
.pca-booking-widget
  .pca-booking-restoring
  :is(#pca-pilot-pay-now, #pca-pilot-pay-later, #continue-checkout, #pay-now-instead) {
  visibility: hidden;
  pointer-events: none;
}
.pca-booking-widget .pca-booking-restoring [data-pca-review-location][hidden] {
  display: block;
  min-height: 21px;
  visibility: hidden;
}
@media (max-width: 900px) {
  .pca-booking-widget .pca-booking-restoring.pca-mobile-open :is(.pca-pilot__footer, .booking-footer) {
    min-height: 330px;
    max-height: 60dvh;
  }
}

/* Optional compact combo presentation; supplier identities stay unchanged. */
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking).pca-compact-vehicles [data-vehicle-build] {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid #4b6268;
  border-radius: 6px;
  background: #fff;
  color: #14343d;
  text-decoration: none;
  text-align: center;
  font:
    700 16px/24px Inter,
    sans-serif;
}
.pca-compact-vehicles .pca-vehicles__card > span[hidden] {
  display: none;
}
.pca-compact-vehicles .pca-vehicles__card {
  overflow-wrap: anywhere;
}

:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking).pca-compact-vehicles
  .pca-vehicles__card[aria-pressed='true'] {
  border-color: #2c805a;
  box-shadow: inset 0 0 0 1px #2c805a;
  background: #f1f8f4;
}

/* Recommendation badge and decorative selected check retain aria-pressed semantics. */
.pca-vehicles__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.pca-vehicles__tag {
  border-radius: 24px;
  background: #eef8fb;
  padding: 3px 10px;
  font-size: 14px;
  font-weight: 700;
  color: #14343d;
}
.pca-vehicles__check {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #4b6268;
  background: white;
  color: white;
}
.pca-vehicles__check svg {
  width: 12px;
  height: 12px;
  visibility: hidden;
}
.pca-vehicles__card[aria-pressed='true'] .pca-vehicles__check {
  background: #2c805a;
  border-color: #2c805a;
}
.pca-vehicles__card[aria-pressed='true'] .pca-vehicles__check svg {
  visibility: visible;
}
:is(#pca-saona-pilot, #pca-multiday-booking, #pca-inquiry-booking) :is(.pca-vehicles__title, .pca-vehicles__price) {
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
  color: #14343d;
}
.pca-vehicles__head {
  align-items: center;
  gap: 8px;
}
.pca-count svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/* The payment summary on the review: the hold today, then the full payment. */
:is(#pca-saona-pilot, #pca-multiday-booking) .pca-payment-today {
  margin: 0;
  color: #14232d;
}
:is(#pca-saona-pilot, #pca-multiday-booking) .pca-payment-today[hidden],
:is(#pca-saona-pilot, #pca-multiday-booking) .pca-payment-lead[hidden],
:is(#pca-saona-pilot, #pca-multiday-booking) .pca-payment-note[hidden],
:is(#pca-saona-pilot, #pca-multiday-booking).pca-guided-open:not(.pca-sheet-review)
  :is(.pca-payment-today, .pca-payment-lead, .pca-payment-note) {
  display: none;
}
:is(#pca-saona-pilot, #pca-multiday-booking) .pca-payment-today__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0 12px;
  font:
    700 18px/26px 'Plus Jakarta Sans',
    Inter,
    sans-serif;
}
:is(#pca-saona-pilot, #pca-multiday-booking) .pca-payment-today__amount {
  white-space: nowrap;
}
:is(#pca-saona-pilot, #pca-multiday-booking) .pca-payment-today__sentence {
  margin-top: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d7e5e8;
  color: #4b6268;
  font:
    400 14px/20px 'Plus Jakarta Sans',
    Inter,
    sans-serif;
}
:is(#pca-saona-pilot, #pca-multiday-booking) .pca-payment-lead,
:is(#pca-saona-pilot, #pca-multiday-booking) .pca-payment-note {
  display: block;
  color: #14232d;
  font:
    700 16px/24px 'Plus Jakarta Sans',
    Inter,
    sans-serif;
}
:is(#pca-saona-pilot, #pca-multiday-booking) .pca-payment-note {
  color: #4b6268;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  flex: 0 0 100%;
}
/* Review only: a step reopened from Edit keeps its one-row footer and its "Total for …" line. */
:is(#pca-saona-pilot, #pca-multiday-booking).pca-guided-open.pca-sheet-review .pca-payment-row {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4px 12px;
}
:is(#pca-saona-pilot, #pca-multiday-booking).pca-guided-open.pca-sheet-review .pca-payment-row > div:first-child {
  flex: 1 1 150px;
  min-width: 0;
}
:is(#pca-saona-pilot, #pca-multiday-booking).pca-guided-open.pca-sheet-review
  .pca-payment-row
  :is(#pca-pilot-total, #package-total) {
  min-width: 0;
  margin-left: auto;
}
:is(#pca-saona-pilot, #pca-multiday-booking).pca-guided-open.pca-sheet-review .pca-payment-row--later {
  padding-top: 12px;
}
:is(#pca-saona-pilot, #pca-multiday-booking):not(.pca-guided-open) .pca-payment-party--aside,
:is(#pca-saona-pilot, #pca-multiday-booking).pca-sheet-review .pca-payment-party--aside {
  display: none;
}
:is(#pca-saona-pilot, #pca-multiday-booking) .pca-payment-row :is(#pca-pilot-total-label, #package-total-label) {
  font-weight: 400;
}
