#tour-detail #program-detail-overview {
  scroll-margin-top: 110px;
}

#tour-detail .quick-booking-grid .transport-counter-field {
  display: grid !important;
  min-height: 54px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 10px;
  padding: 7px 10px;
  border-radius: 11px;
}

#tour-detail .quick-booking-grid .transport-counter-field .transport-booking-field-heading {
  min-height: 0;
  gap: 7px;
  font-size: 13px;
}

#tour-detail .quick-booking-grid .transport-counter-field .transport-booking-field-heading > svg {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
  padding: 5px;
}

#tour-detail .quick-booking-grid .transport-counter-field .transport-number-stepper {
  min-height: 36px;
  grid-template-columns: 32px 34px 32px;
}

html body #page-wrapper #tour-detail .quick-booking-grid .transport-counter-field .transport-number-stepper button {
  width: 30px !important;
  height: 30px !important;
  font-size: 20px !important;
}

html body #page-wrapper #tour-detail .quick-booking-grid .transport-counter-field .transport-number-stepper input {
  min-height: 34px;
  font-size: 19px !important;
}

#tour-detail .program-detail-vehicle-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 9px;
}

#tour-detail .program-detail-vehicle-heading-copy {
  min-width: 0;
}

#tour-detail .program-detail-vehicle-heading h2 {
  font-size: 19px;
  line-height: 1.35;
}

#tour-detail .program-detail-vehicle-heading p {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
}

#tour-detail .program-detail-vehicle-heading-meta {
  width: 100%;
  min-height: 34px;
  justify-content: space-between;
  gap: 8px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
}

#tour-detail .program-detail-vehicle-heading-meta > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

html body #page-wrapper #tour-detail .program-detail-vehicle-picker button.program-detail-vehicle-back {
  min-height: 30px;
  padding: 3px 2px;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--brand-primary) !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html body #page-wrapper #tour-detail .program-detail-vehicle-picker button.program-detail-vehicle-back:hover {
  border: 0 !important;
  background: transparent !important;
  color: var(--brand-accent) !important;
}

#tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

#tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card {
  position: relative;
  min-width: 0;
  min-height: 220px;
  gap: 5px;
  padding: 8px;
  border-radius: 12px;
  text-align: right;
}

#tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card.recommended,
#tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card.selected {
  border: 2px solid var(--brand-primary);
  box-shadow: 0 3px 12px rgba(125, 11, 84, .1);
}

#tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card .transport-vehicle-recommendation {
  position: absolute;
  z-index: 1;
  top: 6px;
  right: 6px;
  align-self: auto;
  max-width: calc(100% - 12px);
  padding: 3px 7px;
  border: 1px solid rgba(168, 12, 100, .14);
  background: rgba(255, 255, 255, .96);
  font-size: 9px;
  line-height: 1.3;
  box-shadow: 0 2px 7px rgba(49, 16, 71, .08);
}

#tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card .transport-vehicle-heading {
  align-items: stretch;
  gap: 5px;
  text-align: right;
}

#tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card .transport-vehicle-image,
#tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card .transport-vehicle-image-placeholder {
  display: grid;
  width: 100%;
  max-width: none;
  height: auto !important;
  aspect-ratio: 16 / 9;
  padding: 3px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand-soft);
  object-fit: contain !important;
  object-position: center;
}

#tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-image-placeholder svg {
  width: 48%;
  max-height: 62%;
  fill: #c9c5ce;
  stroke: #8b8292;
  stroke-width: 1.5;
}

#tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card .transport-vehicle-copy h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card .transport-vehicle-copy small {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card .transport-vehicle-capacity {
  min-height: 0;
  justify-content: flex-start;
  gap: 4px;
  font-size: 9px;
}

#tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card .transport-vehicle-capacity span {
  min-height: 23px;
  gap: 3px;
  padding: 3px 5px;
}

#tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card .transport-vehicle-capacity svg {
  width: 11px;
  height: 11px;
}

#tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card .transport-vehicle-price {
  min-height: 28px;
  justify-content: flex-start;
  margin-top: auto;
  padding-top: 4px;
  font-size: 9px;
}

#tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card .transport-vehicle-price b {
  font-size: 14px;
}

html body #page-wrapper #tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card button.transport-select-car-button {
  min-height: 32px;
  padding: 5px 6px;
  font-size: 10px;
  line-height: 1.3;
}

#tour-detail .program-detail-vehicle-picker .transport-vehicles-more-button {
  min-height: 38px;
  margin-top: 9px;
}

html body #page-wrapper #tour-detail .booking-card .program-detail-vehicle-picker .program-selected-vehicle-frame .transport-vehicle-image,
html body #page-wrapper #tour-detail .booking-card .program-detail-vehicle-picker .program-selected-vehicle-frame .transport-vehicle-image-placeholder {
  width: 100%;
  max-width: none;
  height: auto !important;
  aspect-ratio: 2 / 1;
  padding: 6px;
  border-radius: 12px;
  background: #f1f0f4;
  object-fit: contain !important;
}

html body #page-wrapper #tour-detail .booking-card .program-detail-vehicle-picker .program-selected-vehicle-frame .transport-vehicle-card {
  position: relative;
  gap: 10px;
  padding: 16px;
  border: 2px solid var(--brand-primary);
  border-radius: 18px;
  background: #fffafd;
  box-shadow: 0 0 0 3px rgba(168, 12, 100, .12), 0 10px 22px rgba(49, 16, 71, .06);
  text-align: right;
}

html body #page-wrapper #tour-detail .booking-card .program-detail-vehicle-picker .program-selected-vehicle-frame .transport-vehicle-recommendation {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: inline-flex;
  width: auto;
  align-self: auto;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(49, 16, 71, .12);
}

html body #page-wrapper #tour-detail .booking-card .program-detail-vehicle-picker .program-selected-vehicle-frame .transport-vehicle-heading {
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  text-align: right;
}

html body #page-wrapper #tour-detail .booking-card .program-detail-vehicle-picker .program-selected-vehicle-frame .transport-vehicle-copy {
  width: 100%;
  text-align: right;
}

html body #page-wrapper #tour-detail .booking-card .program-detail-vehicle-picker .program-selected-vehicle-frame .transport-vehicle-copy h3 {
  margin: 0 0 4px;
  font-size: 20px;
  line-height: 1.4;
}

html body #page-wrapper #tour-detail .booking-card .program-detail-vehicle-picker .program-selected-vehicle-frame .transport-vehicle-copy small {
  display: block;
  margin-top: 0;
  font-size: 13px;
  line-height: 1.6;
}

html body #page-wrapper #tour-detail .booking-card .program-detail-vehicle-picker .program-selected-vehicle-frame .transport-vehicle-capacity {
  min-height: 38px;
  justify-content: flex-start;
}

html body #page-wrapper #tour-detail .booking-card .program-detail-vehicle-picker .program-selected-vehicle-frame .transport-vehicle-price {
  min-height: 48px;
  margin-top: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

html body #page-wrapper #tour-detail .booking-card .program-detail-vehicle-picker .program-selected-vehicle-frame .transport-vehicle-price b {
  color: var(--brand-primary);
  font-size: 24px;
}

html body #page-wrapper #tour-detail .booking-card .program-detail-vehicle-picker .program-selected-vehicle-frame button.transport-select-car-button,
html body #page-wrapper #tour-detail.transport-detail-page .booking-card .program-detail-vehicle-picker .program-selected-vehicle-frame button.transport-select-car-button {
  min-height: 54px;
  padding: 10px 14px;
  border: 2px solid #163b2c !important;
  border-radius: 12px;
  background: #2e8b57 !important;
  color: #fff !important;
  font-size: 17px;
  font-weight: 700;
  opacity: 1 !important;
  cursor: default;
  box-shadow: none;
}

#tour-detail .booking-card-sticky-content > a.back-link[data-program-details-back] {
  display: block;
  width: fit-content;
  margin: 14px auto 0;
  padding: 4px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#tour-detail .booking-card-sticky-content > a.back-link[data-program-details-back]:hover {
  color: var(--brand-primary);
}

@media (max-width: 420px) {
  #tour-detail .quick-booking-grid .transport-counter-field {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 6px;
  }
}

@media (max-width: 700px) {
  #tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card .transport-vehicle-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
  }

  #tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card .transport-vehicle-image,
  #tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card .transport-vehicle-image-placeholder {
    width: 100%;
    max-width: 160px;
    aspect-ratio: 16 / 9;
    padding: 2px;
  }

  #tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card .transport-vehicle-copy {
    text-align: center;
  }

  #tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card {
    min-height: 205px;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #tour-detail { scroll-behavior: auto; }
}

@media (max-width: 700px) {
  html body #page-wrapper #tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card .transport-vehicle-recommendation {
    position: static;
    inset: auto;
    z-index: auto;
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-self: flex-start;
    box-sizing: border-box;
    margin: 0;
    padding: 3px 8px;
    border: 1px solid rgba(125, 11, 84, .12);
    border-radius: 999px;
    background: #f8f4f7;
    color: #7d0b54;
    font-size: clamp(9px, 2.4vw, 10px);
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
    box-shadow: none;
  }

  html body #page-wrapper #tour-detail .booking-card .program-detail-vehicle-picker .transport-vehicle-grid > .transport-vehicle-card button.transport-select-car-button {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 40px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: 5px 3px;
    font-size: clamp(9px, 2.9vw, 11px);
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}
.car-services-selected-state {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  padding: 14px 16px;
  border: 1px solid rgba(146, 0, 81, .2);
  border-radius: 14px;
  background: #fbf8fc;
  color: #311047;
}

.car-services-selected-state[hidden] {
  display: none;
}

.car-services-selected-state strong {
  color: #920051;
}

.car-services-selected-state span {
  color: #6e5b76;
  font-size: .92em;
}

#tour-detail .booking-card .tour-quick-booking[hidden],
#tour-detail .booking-card .tour-booking-toggle[hidden] {
  display: none !important;
}

/* Heading above the travellers and bags counters */
html body #page-wrapper #tour-detail .tour-quick-booking .quick-booking-heading{margin:0 0 4px!important;font-size:20px!important;font-weight:800!important;line-height:1.4!important;color:#321044!important}
html body #page-wrapper #tour-detail .tour-quick-booking .quick-booking-subtitle{margin:0 0 14px!important;font-size:14px!important;line-height:1.6!important;color:#6d5a73!important}
