/* Tour details & group tour details */

/* Header */
.tp-td-star-off {
  color: #d9d9d9 !important;
}
.tp-tour-details-wishlist .tp-td-wishlist-toggle.active,
.tp-tour-details-wishlist .tp-td-wishlist-toggle.active svg path {
  color: var(--tp-theme-1);
  stroke: var(--tp-theme-1);
}
.tp-tour-details-wishlist .tp-td-wishlist-toggle.active svg path {
  fill: var(--tp-theme-1);
}
.tp-td-group-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tp-td-group-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(253, 70, 33, 0.08);
  color: var(--tp-common-black);
  font-size: 14px;
}
.tp-td-group-meta span i {
  color: var(--tp-theme-1);
}

/* Gallery */
.tp-td-slide-img {
  height: 560px;
  object-fit: cover;
}
.tp-td-thumb-img {
  height: 132.5px;
  object-fit: cover;
}
.tp-tour-gallery-thumb .tp-tour-media-meta a {
  width: auto;
  min-width: 50px;
  padding: 0 14px;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
}
@media (max-width: 1199.98px) {
  .tp-td-slide-img {
    height: 460px;
  }
  .tp-td-thumb-img {
    height: 107.5px;
  }
}
@media (max-width: 991.98px) {
  .tp-td-slide-img {
    height: 380px;
  }
  .tp-tour-gallery-7-thumb {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .tp-tour-gallery-7-thumb .tp-tour-gallery-thumb {
    margin-bottom: 0;
  }
  .tp-td-thumb-img {
    height: 90px;
  }
  .tp-tour-gallery-thumb .tp-tour-media-meta {
    left: 8px;
    bottom: 8px;
  }
  .tp-tour-gallery-thumb .tp-tour-media-meta a {
    height: 34px;
    min-width: 34px;
    padding: 0 8px;
    font-size: 12px;
  }
}
@media (max-width: 575.98px) {
  .tp-td-slide-img {
    height: 260px;
  }
  .tp-td-thumb-img {
    height: 64px;
  }
}

/* Places */
.tp-td-place-img {
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
}

/* Brochure card */
.tp-td-brochure-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  border: 1px dashed rgba(253, 70, 33, 0.4);
  border-radius: 16px;
  background: #fff8f7;
}
.tp-td-brochure-info {
  display: flex;
  align-items: center;
  gap: 16px;
}
.tp-td-brochure-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tp-common-white);
  color: var(--tp-theme-1);
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.tp-td-brochure-info h4 {
  font-size: 18px;
  margin-bottom: 4px;
}
.tp-td-brochure-info p {
  color: var(--tp-grey-1);
  font-size: 15px;
}
.tp-td-brochure-card .tp-btn {
  white-space: nowrap;
}
@media (max-width: 767.98px) {
  .tp-td-brochure-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Included / extra */
.tp-td-list-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tp-common-black);
  margin-bottom: 12px;
}

/* Itinerary */
.tp-td-guide-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 4px 4px;
  border-radius: 50px;
  background: rgba(253, 70, 33, 0.08);
  border: 1px solid rgba(253, 70, 33, 0.25);
  font-size: 13px;
  font-weight: 600;
  color: var(--tp-theme-1);
}
.tp-td-guide-pill img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
.tp-td-guide-feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: #fff8f7;
  border: 1.5px dashed rgba(253, 70, 33, 0.4);
}
.tp-td-guide-feature h5 {
  font-size: 17px;
}
.tp-tour-itinerary-slider-arrow button.tp-td-itinerary-next {
  left: auto;
  right: 30px;
}
.tp-td-stop-time {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 50px;
  background: rgba(7, 21, 22, 0.06);
  font-size: 13px;
  font-weight: 500;
  color: var(--tp-grey-1);
  vertical-align: middle;
}

/* Host */
.tp-td-host-card {
  padding: 16px;
  border-radius: 12px;
  background: var(--tp-common-white);
  border: 1.5px solid #eaeaea;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.tp-td-host-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--tp-theme-1);
  flex: 0 0 auto;
}
.tp-td-host-avatar-lg {
  width: 72px;
  height: 72px;
}
.tp-td-host-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(253, 70, 33, 0.1);
  color: var(--tp-theme-1);
  font-size: 11px;
  font-weight: 700;
}
.tp-td-host-badge-solid {
  background: var(--tp-theme-1);
  color: var(--tp-common-white);
}
.tp-td-host-name {
  font-size: 16px;
  font-weight: 700;
}
.tp-td-host-name a,
.tp-td-hosted-card h4 a {
  color: var(--tp-common-black);
}
.tp-td-host-name a:hover,
.tp-td-hosted-card h4 a:hover {
  color: var(--tp-theme-1);
}
.tp-td-host-location {
  font-size: 13px;
  color: var(--tp-grey-1);
}
.tp-td-host-location i {
  color: var(--tp-theme-1);
}
.tp-td-host-footer {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #eaeaea;
  font-size: 13px;
  color: var(--tp-grey-1);
}
.tp-td-host-footer a {
  font-weight: 700;
  color: var(--tp-theme-1);
}
.tp-td-hosted-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(7, 21, 22, 0.1);
}
.tp-td-hosted-card h4 {
  font-size: 20px;
}
.tp-td-hosted-card p {
  color: var(--tp-grey-1);
  line-height: 1.7;
}
.tp-td-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tp-td-tags span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 50px;
  background: rgba(7, 21, 22, 0.05);
  font-size: 13px;
  color: var(--tp-common-black);
}
.tp-td-tags span i {
  color: var(--tp-theme-1);
}

/* Alerts */
.tp-td-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
}
.tp-td-alert-success {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
}
.tp-td-alert-error {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
}
.tp-td-field-error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #dc2626;
}

/* Reviews */
.tp-td-review-initials {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(253, 70, 33, 0.1);
  color: var(--tp-theme-1);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
}
.tp-td-review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--tp-grey-1);
}
.tp-td-review-verified {
  color: #059669;
}
.tp-td-reply-box {
  margin-top: 12px;
  padding: 14px 16px;
  border-left: 3px solid var(--tp-theme-1);
  border-radius: 0 10px 10px 0;
  background: #fff8f7;
}
.tp-td-reply-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tp-common-black);
}
.tp-td-reply-head em {
  font-style: normal;
  font-weight: 400;
  color: var(--tp-grey-1);
  margin-left: 4px;
}
.tp-td-reply-box p {
  font-size: 14px;
}
.tp-td-star-picker {
  display: flex;
  align-items: center;
  gap: 4px;
}
.tp-td-star-picker button {
  font-size: 22px;
  color: #d9d9d9;
  line-height: 1;
  transition: color 0.2s ease;
}
.tp-td-star-picker button.active,
.tp-td-star-picker button:hover {
  color: #ffb21d;
}
.tp-td-star-picker-label {
  margin-left: 10px;
  font-size: 14px;
  color: var(--tp-grey-1);
}

/* Booking sidebar */
/* The booking form is taller than most viewports, so a sticky sidebar would hide its submit button. */
.tp-booking-5-sidebar-wrap {
  position: static;
}
#tour-booking {
  scroll-margin-top: 90px;
}
.tp-booking-sidebar-5-form .tp-booking-wrap {
  display: block;
  padding: 0;
  border-radius: 0;
}
.tp-td-private-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(253, 70, 33, 0.1);
  color: var(--tp-theme-1);
  font-size: 12px;
  font-weight: 700;
}
.tp-booking-quantity .tp-td-qty-btn {
  position: absolute;
  top: 11px;
  left: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tp-common-black);
  transition: all 0.3s ease-out;
}
.tp-booking-quantity .tp-td-qty-plus {
  left: auto;
  right: 14px;
}
.tp-booking-quantity .tp-td-qty-btn:hover {
  background-color: var(--tp-common-black);
  color: var(--tp-common-white);
}
.tp-booking-quantity .tp-input[readonly] {
  cursor: default;
}
.tp-td-guest-fields {
  padding-top: 20px;
  border-top: 1px dashed rgba(7, 21, 22, 0.15);
}
.tp-td-guest-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--tp-grey-1);
}
.tp-td-guest-note a {
  color: var(--tp-theme-1);
  text-decoration: underline;
}
.tp-review-input .tp-label small,
.brochure-modal-content .tp-label small {
  font-weight: 400;
  color: var(--tp-grey-1);
}
.tp-td-message {
  min-height: 90px;
  resize: vertical;
}
.tp-td-estimate {
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8f8f8;
  border: 1px solid #eaeaea;
  font-size: 14px;
}
.tp-td-estimate strong {
  font-size: 18px;
  color: var(--tp-theme-1);
  white-space: nowrap;
}
.tp-td-estimate-hint {
  margin-top: 4px;
  font-size: 12px;
  color: var(--tp-grey-1);
}
.tp-td-guarantees {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.tp-td-guarantees li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--tp-grey-1);
}
.tp-td-guarantees li:not(:last-child) {
  margin-bottom: 8px;
}
.tp-td-guarantees li i {
  color: var(--tp-theme-1);
  font-size: 16px;
}
.tp-td-inquiry h4 {
  font-size: 18px;
  margin-bottom: 8px;
}
.tp-td-inquiry p {
  color: var(--tp-grey-1);
}
.tp-td-booking-success {
  text-align: center;
}
.tp-td-booking-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  font-size: 44px;
}
.tp-td-booking-success h4 {
  font-size: 20px;
  margin-bottom: 8px;
}
.tp-td-booking-success p {
  font-size: 14px;
  color: var(--tp-grey-1);
}
.tp-td-summary {
  text-align: left;
  margin: 16px 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8f8f8;
  border: 1px solid #eaeaea;
}
.tp-td-summary h6 {
  font-size: 14px;
  margin-bottom: 8px;
}
.tp-td-summary h6 i {
  color: var(--tp-theme-1);
}
.tp-td-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
}
.tp-td-summary > div:not(:last-child) {
  border-bottom: 1px solid #eaeaea;
}
.tp-td-summary > div span {
  color: var(--tp-grey-1);
}
.tp-td-summary > div strong {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}
.tp-td-summary-price {
  color: var(--tp-theme-1);
}
.tp-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid rgba(7, 21, 22, 0.2);
  color: var(--tp-common-black);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}
.tp-btn-outline:hover {
  border-color: var(--tp-theme-1);
  color: var(--tp-theme-1);
}

/* Group tour seats */
.tp-td-seats {
  margin-bottom: 25px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8f8f8;
  border: 1px solid #eaeaea;
}
.tp-td-seats-head {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
}
.tp-td-seats-head strong {
  color: var(--tp-common-black);
}
.tp-td-seats-bar {
  height: 6px;
  border-radius: 6px;
  background: #e5e5e5;
  overflow: hidden;
}
.tp-td-seats-bar span {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: var(--tp-theme-1);
}
.tp-td-seats p {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--tp-grey-1);
}
.tp-td-price-rows {
  list-style: none;
  margin: 0 0 25px;
  padding: 0;
}
.tp-td-price-rows li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid #eaeaea;
}
.tp-td-price-rows li span {
  color: var(--tp-grey-1);
}
.tp-td-price-rows li strong {
  font-size: 20px;
  color: var(--tp-common-black);
}
.tp-td-price-rows li small {
  font-size: 13px;
  font-weight: 400;
  color: var(--tp-grey-1);
}

/* Brochure modal */
.brochure-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(7, 21, 22, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.brochure-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.brochure-modal-content {
  width: 100%;
  max-width: 460px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--tp-common-white);
  box-shadow: 0 25px 50px -12px rgba(7, 21, 22, 0.25);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}
.brochure-modal-overlay.active .brochure-modal-content {
  transform: scale(1);
}
.brochure-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid #f0f0f0;
}
.brochure-modal-header h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 20px;
  margin: 0 0 4px;
}
.brochure-modal-header h3 i {
  color: var(--tp-theme-1);
}
.brochure-modal-header p {
  margin: 0;
  font-size: 14px;
  color: var(--tp-grey-1);
}
.brochure-modal-close {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f3f3;
  color: var(--tp-common-black);
  font-size: 18px;
  line-height: 1;
}
.brochure-modal-close:hover {
  background: var(--tp-theme-1);
  color: var(--tp-common-white);
}
.brochure-modal-body {
  padding: 20px 24px 24px;
}
.tp-td-required {
  color: #ef4444;
}
.tp-td-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--tp-grey-1);
  cursor: pointer;
}
.tp-td-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--tp-theme-1);
}
.brochure-privacy-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--tp-grey-1);
}
#brochureSuccessMessage {
  text-align: center;
  padding: 8px 0;
}
#brochureSuccessMessage h4 {
  font-size: 18px;
  margin-bottom: 6px;
}
#brochureSuccessMessage p {
  font-size: 14px;
  color: var(--tp-grey-1);
  margin-bottom: 16px;
}

/* Share modal */
.tp-td-share-modal .modal-content {
  border: 0;
  border-radius: 20px;
  padding: 8px;
}
.tp-td-share-title {
  color: var(--tp-grey-1);
}
.tp-td-share-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.tp-td-share-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #eaeaea;
  color: var(--tp-common-black);
  font-weight: 500;
}
.tp-td-share-links a i {
  font-size: 20px;
  color: var(--tp-theme-1);
}
.tp-td-share-links a:hover {
  border-color: var(--tp-theme-1);
}
.tp-td-share-copy .tp-input {
  flex: 1;
  min-width: 0;
}
.tp-td-share-copy .tp-btn {
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .tp-booking-5-sidebar-wrap {
    margin-left: 0;
    margin-top: 20px;
  }
}
