/* Round-trip summary, selected trip, return search, and compact lists */

.wk-te-round-trip-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1130px;
  margin: 0 auto 18px;
}

.wk-te-round-trip-summary > article {
  padding: 18px 20px;
  border: 1px solid #dbe5ee;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}

.wk-te-round-trip-summary > article.has-trip-image {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: 14px 18px;
  align-items: start;
}

.wk-te-round-trip-content {
  min-width: 0;
  padding-top: 0;
}

.wk-te-round-trip-summary .wk-te-round-trip-content > span,
.wk-te-round-trip-summary > article > span {
  display: inline-flex;
  margin-bottom: 6px;
  color: #52aaa2;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.wk-te-round-trip-summary .wk-te-round-trip-content > h2,
.wk-te-round-trip-summary > article > h2 {
  margin: 0 0 8px;
  color: #001b3f;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.wk-te-round-trip-summary .wk-te-round-trip-content > p,
.wk-te-round-trip-summary .wk-te-round-trip-content > small,
.wk-te-round-trip-summary .wk-te-round-trip-content > strong,
.wk-te-round-trip-summary > article > p,
.wk-te-round-trip-summary > article > small,
.wk-te-round-trip-summary > article > strong {
  display: block;
  margin: 0 0 6px;
  color: #315176;
}

.wk-te-round-trip-summary .wk-te-round-trip-content > strong,
.wk-te-round-trip-summary > article > strong {
  display: inline-flex;
  align-items: center;
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid #cfe3f5;
  border-radius: 7px;
  background: #f7fcfc;
  color: #001b3f;
  font-size: 14px;
  font-weight: 700;
}

.wk-te-round-trip-summary .wk-te-round-trip-content > strong:before,
.wk-te-round-trip-summary > article > strong:before {
  content: "\f073";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  color: #008f84;
  border-radius: 5px;
  background: #e9fbf8;
  font-family: FontAwesome;
  font-size: 12px;
}

.wk-te-round-trip-gallery {
  width: 100%;
  margin: 0;
}

.wk-te-round-trip-gallery button {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

.wk-te-round-trip-gallery button:focus {
  outline: 2px solid #49a8a2;
  outline-offset: 2px;
}

.wk-te-round-trip-gallery-main {
  width: 100%;
}

.wk-te-round-trip-gallery-main img {
  display: block;
  width: 100%;
  height: 142px;
  border: 1px solid #dbe5ee;
  border-radius: 9px;
  object-fit: cover;
  cursor: zoom-in;
}

.wk-te-round-trip-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.wk-te-round-trip-thumbs button {
  width: 48px;
  height: 40px;
}

.wk-te-round-trip-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid #dbe5ee;
  border-radius: 5px;
  object-fit: cover;
  cursor: zoom-in;
}

.wk-te-round-trip-gallery img[src$=".svg"] {
  padding: 18px;
  background: #f2faf9;
  object-fit: contain;
}

.wk-te-round-trip-summary .wk-te-route-map {
  grid-column: 1 / -1;
  height: 180px;
  margin-top: 14px;
  border-radius: 7px 7px 0 0;
}

.wk-te-round-trip-summary .wk-te-route-map + .wk-te-trip-location-grid {
  grid-column: 1 / -1;
  margin-top: 0;
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.wk-te-round-trip-summary .wk-te-trip-location-grid article {
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 4px 8px;
  min-height: 62px;
  padding: 9px 10px;
}

.wk-te-round-trip-summary .wk-te-trip-location-grid span {
  font-size: 10px;
}

.wk-te-round-trip-summary .wk-te-trip-location-grid strong {
  grid-column: 1 / -1;
  margin-top: 1px;
  font-size: 11px;
  line-height: 1.25;
}

.wk-te-round-trip-summary .wk-te-trip-location-grid i {
  grid-row: auto;
  width: 21px;
  height: 21px;
  font-size: 11px;
}

.wk-te-round-booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 22px;
  align-items: start;
  max-width: 100%;
  margin: 0 auto;
}

.wk-te-round-booking-layout > main {
  min-width: 0;
  overflow: visible;
  padding-left: 18px;
  margin-left: -18px;
}

.wk-te-booking-steps--line {
  position: relative;
  max-width: 860px;
  margin-bottom: 22px;
  padding: 0;
  justify-content: space-between;
}

.wk-te-booking-steps--line:before {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  left: 24px;
  height: 2px;
  background: #cbd7e5;
  transform: translateY(-50%);
}

.wk-te-booking-steps--line span,
.wk-te-booking-steps--line a {
  position: relative;
  z-index: 1;
  min-width: 190px;
  justify-content: center;
  padding: 8px 14px;
}

.wk-te-booking-steps span.is-done,
.wk-te-booking-steps a.is-done {
  border-color: #52aaa2;
  background: #eefafa;
  color: #31958d;
}

.wk-te-booking-steps span.is-done b,
.wk-te-booking-steps a.is-done b {
  background: #31958d;
  color: #fff;
}

.wk-te-booking-steps--line span.is-active,
.wk-te-booking-steps--line a.is-active {
  border-color: #2f6fd6;
  background: #2f6fd6;
  color: #fff;
  box-shadow: 0 8px 18px rgba(47, 111, 214, 0.22);
}

.wk-te-selected-trip--rich {
  margin-right: 0;
  margin-left: 0;
  padding: 20px 22px;
  border-radius: 10px;
}

.wk-te-selected-trip--single {
  max-width: 1180px;
}

.wk-te-selected-trip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 0;
}

.wk-te-selected-trip-head > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 7px;
  background: #f1f5f9;
  color: #17355f;
  font-size: 13px;
  font-weight: 700;
}

.wk-te-selected-trip-head a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #49a8a2;
  border-radius: 8px;
  color: #0b7f78;
  font-weight: 700;
}

.wk-te-selected-trip-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-areas:
    "media info"
    "media details"
    "map map"
    "places places";
  gap: 12px 24px;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.wk-te-selected-trip-body > .wk-te-route-map {
  grid-area: map;
  height: 270px;
  margin-top: 12px;
  border-radius: 8px 8px 0 0;
}

.wk-te-selected-trip-body > .wk-te-trip-location-grid {
  grid-area: places;
}

.wk-te-selected-trip-body > .wk-te-trip-location-grid article {
  min-height: 78px;
  padding: 14px 16px;
}

.wk-te-selected-trip-body > .wk-te-trip-location-grid i {
  width: 26px;
  height: 26px;
  font-size: 14px;
}

.wk-te-selected-trip-body > .wk-te-trip-location-grid strong {
  margin-top: 5px;
  font-size: 16px;
}

.wk-te-selected-trip-body > .wk-te-trip-media {
  grid-area: media;
}

.wk-te-selected-trip-info {
  grid-area: info;
  min-width: 0;
}

.wk-te-selected-trip-body dl {
  grid-area: details;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.wk-te-selected-trip-body > .wk-te-trip-media .wk-te-trip-image,
.wk-te-selected-trip-body > .wk-te-trip-media .wk-te-trip-placeholder {
  height: 132px;
  border-radius: 8px;
}

.wk-te-selected-trip-body > .wk-te-trip-media .wk-te-trip-gallery img {
  height: 24px;
}

.wk-te-selected-trip-body > .wk-te-trip-media .wk-te-trip-gallery {
  margin-top: 8px;
}

.wk-te-selected-trip-body dl > div {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 62px;
  padding: 9px 12px;
  border: 1px solid #dde7f1;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 36, 61, 0.03);
}

.wk-te-selected-trip-body dl > div > i {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #008f84;
  border-radius: 50%;
  background: #eef8f7;
  font-size: 14px;
}

.wk-te-selected-trip-body dt {
  color: #6b7f98;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.wk-te-selected-trip-body dd {
  margin: 3px 0 0;
  color: #001b3f;
  font-size: 14px;
  font-weight: 700;
}

.wk-te-selected-trip-body dd small {
  display: block;
  margin-top: 3px;
  color: #5f7390;
  font-size: 11px;
  font-weight: 500;
}

.wk-te-section-help {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: none;
  margin: -2px 0 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f3f8ff;
  color: #6b7f98;
}

.wk-te-return-search {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px 12px;
  align-items: end;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid #dbe7f3;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 36, 61, 0.04);
}

.wk-te-return-search label {
  grid-column: 1 / -1;
  margin: 0;
  color: #173d6b;
  font-size: 13px;
  font-weight: 700;
}

.wk-te-return-search > div {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px;
}

.wk-te-return-search input[type="date"] {
  width: 100%;
  height: 42px;
  padding: 8px 12px;
  border: 1px solid #cfe0f0;
  border-radius: 6px;
  background: #fff;
  color: #001b3f;
  cursor: pointer;
  font-weight: 700;
}

.wk-te-return-search input[type="date"]:focus {
  border-color: #24aaa3;
  box-shadow: 0 0 0 3px rgba(36, 170, 163, 0.12);
  outline: 0;
}

.wk-te-return-search .wk-te-btn {
  min-width: 128px;
  height: 42px;
}

.wk-te-trip-list--compact {
  max-width: none;
  gap: 12px;
  overflow: visible;
}

.wk-te-trip-list--compact .wk-te-trip {
  position: relative;
  grid-template-columns: 118px minmax(0, 1fr) 128px;
  grid-template-areas:
    "media main action"
    "media times action";
  gap: 8px 14px;
  padding: 12px 14px;
  min-height: 0;
  border-radius: 10px;
  overflow: visible;
}

.wk-te-trip-list--compact .wk-te-trip-media {
  min-height: 0;
}

.wk-te-trip-list--compact .wk-te-trip-gallery {
  display: grid;
  gap: 4px;
  margin-top: 5px;
}

.wk-te-trip-list--compact .wk-te-trip-image,
.wk-te-trip-list--compact .wk-te-trip-placeholder {
  height: 72px;
  min-height: 72px;
  padding: 6px;
  border-radius: 8px;
  object-fit: contain;
  overflow: hidden;
}

.wk-te-trip-list--compact .wk-te-trip-gallery img {
  height: 22px;
}

.wk-te-trip-list--compact .wk-te-trip-placeholder i {
  font-size: 24px;
}

.wk-te-trip-list--compact .wk-te-trip-placeholder span {
  font-size: 11px;
}

.wk-te-trip-list--compact .wk-te-company-logo {
  width: 24px;
  height: 24px;
  padding: 4px;
}

.wk-te-trip-list--compact .wk-te-company {
  font-size: 12px;
  line-height: 1.15;
}

.wk-te-trip-list--compact .wk-te-seller-byline {
  margin: 2px 0 3px;
  font-size: 10px;
  line-height: 1.2;
}

.wk-te-trip-list--compact .wk-te-trip-main h3 {
  margin: 8px 0 3px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
}

.wk-te-trip-list--compact .wk-te-trip-main p {
  font-size: 12px;
}

.wk-te-trip-list--compact .wk-te-route-icon {
  width: 24px;
  height: 16px;
  margin: 0 4px;
  vertical-align: -2px;
}

.wk-te-trip-list--compact .wk-te-route-icon--go:before {
  color: #008f84;
  font-size: 17px;
  line-height: 16px;
}

.wk-te-trip-list--compact .wk-te-trip-plate {
  margin-top: 4px;
  padding: 3px 7px;
  font-size: 10px;
}

.wk-te-trip-list--compact .wk-te-trip-times {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
}

.wk-te-trip-list--compact .wk-te-trip-times div {
  min-width: 0;
  min-height: 42px;
  padding: 6px 7px;
  border: 1px solid #dde7f1;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 36, 61, 0.03);
  gap: 6px;
}

.wk-te-trip-list--compact .wk-te-trip-times div > i {
  display: inline-grid;
}

.wk-te-trip-list--compact .wk-te-trip-times strong {
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.2;
}

.wk-te-trip-list--compact .wk-te-trip-times span {
  margin-top: 2px;
  font-size: 10px;
}

.wk-te-trip-list--compact .wk-te-trip-action strong {
  margin-bottom: 8px;
  color: #001b3f;
  font-size: 18px;
}

.wk-te-trip-list--compact .wk-te-trip-action {
  align-self: stretch;
  display: flex;
  padding-left: 12px;
  border-left: 1px solid #d7e1ec;
  text-align: center;
}

.wk-te-trip-list--compact .wk-te-trip-action .wk-te-btn {
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  background: #008f84;
  box-shadow: 0 10px 18px rgba(0, 143, 132, 0.18);
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
}

.wk-te-trip-list--compact .wk-te-trip-action .wk-te-btn:hover {
  background: #52aaa2;
  color: #fff;
}

.wk-te-trip.is-selected {
  border-color: #52aaa2;
  background: #f1fffc;
  box-shadow: 0 14px 30px rgba(82, 170, 162, 0.18);
}

.wk-te-trip.is-selected:before {
  content: "\f00c";
  position: absolute;
  left: -15px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #31958d;
  color: #fff;
  font-family: FontAwesome;
  font-size: 12px;
}

.wk-te-btn--selected {
  border-color: #31958d !important;
  background: #31958d !important;
  color: #fff !important;
}

.wk-te-booking-summary {
  position: relative;
  top: auto;
  padding: 20px 22px;
  border: 1px solid #dbe5ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 36, 61, 0.06);
}

.wk-te-booking-summary h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #17355f;
  font-size: 20px;
  font-weight: 700;
}

.wk-te-booking-summary section {
  margin-bottom: 12px;
  padding: 16px 17px;
  border: 1px solid #dbe5ee;
  border-radius: 8px;
  background: #f8fbff;
}

.wk-te-booking-summary section:first-of-type {
  background: #f0fffb;
}

.wk-te-booking-summary section.is-muted {
  background: #f8fafc;
}

.wk-te-booking-summary section > span {
  display: block;
  margin-bottom: 9px;
  color: #31958d;
  font-size: 13px;
  font-weight: 700;
}

.wk-te-booking-summary h3 {
  margin: 0 0 7px;
  color: #001b3f;
  font-size: 16px;
}

.wk-te-booking-summary p,
.wk-te-booking-summary small {
  display: block;
  margin: 0;
  color: #315176;
  font-size: 13px;
}

.wk-te-price-breakdown {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e7edf4;
}

.wk-te-price-breakdown p,
.wk-te-price-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 7px 0;
  color: #315176;
  font-size: 14px;
}

.wk-te-price-breakdown div {
  padding-top: 9px;
  border-top: 1px solid #e7edf4;
  color: #001b3f;
  font-size: 20px;
  font-weight: 700;
}

.wk-te-summary-continue {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  border-radius: 8px;
  background: #008f84;
  box-shadow: 0 10px 20px rgba(0, 143, 132, 0.18);
  font-size: 13px;
}

button.wk-te-summary-continue[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.wk-te-summary-note {
  display: block;
  margin-top: 10px;
  color: #6b7f98;
  text-align: center;
}

.wk-te-trip p {
  margin: 0;
  color: #5f7390;
  font-size: 12px;
  line-height: 1.35;
}

.wk-te-trip-plate {
  display: inline-flex;
  margin-top: 10px;
  padding: 5px 9px;
  color: #10243d;
  border: 1px solid #dbe5ee;
  border-radius: 999px;
  background: #f4f7fa;
  font-size: 12px;
  font-weight: 700;
}

.wk-te-trip-places {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.wk-te-trip-places div {
  position: relative;
  min-height: 74px;
  padding: 12px 12px 12px 38px;
  border: 1px solid #dbe5ee;
  border-radius: 7px;
  background: #fbfcfd;
}

.wk-te-trip-places i {
  position: absolute;
  top: 14px;
  left: 14px;
  color: #49a8a2;
  font-size: 16px;
}
