/* Laravel integration styles layered on top of the Diskovar theme (main.css) */

.tp-header-locale-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--tp-ff-inter);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  color: var(--tp-common-white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50px;
  padding: 10px 16px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.tp-header-option .tp-header-contact a {
  white-space: nowrap;
}

.tp-header-locale-btn i {
  font-size: 16px;
}

.tp-header-locale-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--tp-common-white);
}

.tp-header-four.header-sticky .tp-header-locale-btn {
  color: var(--tp-common-black);
  border-color: rgba(0, 0, 0, 0.15);
}

.tp-header-four.header-sticky .tp-header-locale-btn:hover {
  color: var(--tp-theme-1);
  background: transparent;
  border-color: var(--tp-theme-1);
}

.tp-header-locale-icon {
  width: 25px;
  height: 25px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  color: var(--tp-common-white);
  background: transparent;
  border: 1.4px solid currentColor;
  border-radius: 50px;
  transition: color 0.3s;
}

.tp-header-four.header-sticky .tp-header-locale-icon {
  color: var(--tp-common-black);
}

.tp-header-four.header-sticky .tp-header-locale-icon:hover {
  color: var(--tp-theme-1);
}

.tp-header-four .tp-header-toogle {
  border-color: rgba(255, 255, 255, 0.45);
}

.tp-header-four.header-sticky .tp-header-toogle {
  border-color: rgba(7, 21, 22, 0.15);
}

.tp-header-four.header-sticky .tp-header-toogle span {
  background: var(--tp-common-black);
}

.tp-header-four.header-sticky .tp-header-toogle:hover span {
  background: var(--tp-theme-1);
}

.tp-offcanvas-locale-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 15px;
  color: var(--tp-common-black);
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50px;
  padding: 10px 18px;
  transition: color 0.3s, border-color 0.3s;
}

.tp-offcanvas-locale-btn:hover {
  color: var(--tp-theme-1);
  border-color: var(--tp-theme-1);
}

.tp-header-login ul li .tp-header-logout-btn {
  background: none;
  border: 0;
  padding: 0;
  font-size: 14px;
  color: var(--tp-common-black);
}

.tp-header-login ul li .tp-header-logout-btn:hover {
  color: var(--tp-theme-1);
}

.tp-header-login ul li .tp-header-logout-btn i {
  margin-right: 3px;
}

/* City autocomplete inside theme search forms */
.tp-hero-4-form .city-ac-wrap,
.tp-header-search .city-ac-wrap {
  position: static;
}

.tp-hero-4-form form,
.tp-header-search form {
  position: relative;
}

.tp-hero-4-form .city-ac-dropdown {
  text-align: left;
}

/* Laravel paginator rendered with Bootstrap markup */
.tp-pagination-laravel .pagination {
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.tp-pagination-laravel .page-link {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  border: 1px solid var(--tp-border-1);
  color: var(--tp-common-black);
}

.tp-pagination-laravel .page-item.active .page-link {
  background-color: var(--tp-theme-1);
  border-color: var(--tp-theme-1);
  color: var(--tp-common-white);
}

.tp-empty-state {
  padding: 48px 24px;
  border: 1px dashed var(--tp-border-1);
  border-radius: 16px;
  text-align: center;
  color: var(--tp-grey-1);
}

.tp-empty-state i {
  display: block;
  font-size: 36px;
  color: var(--tp-theme-1);
  margin-bottom: 12px;
}

.tp-line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tp-line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tp-object-cover {
  object-fit: cover;
}

.tp-team-thumb .tp-team-photo {
  aspect-ratio: 4 / 5;
}

.tp-team-meta {
  font-size: 14px;
  color: var(--tp-grey-1);
}

/* Guide / operator card */
.tp-guide-card {
  display: flex;
  flex-direction: column;
  background: var(--tp-common-white);
  border: 1px solid rgba(7, 21, 22, 0.08);
  border-radius: 18px;
  padding: 12px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.tp-guide-card:hover {
  box-shadow: 0 18px 40px rgba(7, 21, 22, 0.1);
  transform: translateY(-4px);
}

[class*="col-"] > .tp-guide-card {
  height: calc(100% - 30px);
}

.swiper-slide > .tp-guide-card {
  height: calc(100% - 10px);
}

.tp-guide-card .tp-team-thumb {
  border-radius: 14px;
  margin-bottom: 14px !important;
}

.tp-guide-card .tp-team-photo {
  aspect-ratio: 5 / 4;
  object-position: center 20%;
}

.tp-guide-card-media {
  display: block;
  position: relative;
}

.tp-guide-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(7, 21, 22, 0) 30%, rgba(7, 21, 22, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tp-guide-card-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 40px;
  background: var(--tp-common-white);
  color: var(--tp-common-black);
  font-size: 14px;
  font-weight: 600;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.tp-guide-card:hover .tp-guide-card-overlay {
  opacity: 1;
}

.tp-guide-card:hover .tp-guide-card-overlay-btn {
  transform: translateY(0);
}

.tp-guide-badge {
  position: absolute;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(7, 21, 22, 0.15);
  pointer-events: none;
}

.tp-guide-badge-featured {
  left: 14px;
  background: var(--tp-theme-1);
  color: var(--tp-common-white);
}

.tp-guide-badge-verified {
  right: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: #16a34a;
}

.tp-guide-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 8px 8px;
}

.tp-guide-card-body .tp-team-subtitle {
  align-self: flex-start;
  font-size: 13px;
  padding: 6px 12px;
}

.tp-guide-card-title {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tp-guide-card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin-bottom: 14px;
}

.tp-guide-card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tp-guide-card-meta .is-wide {
  grid-column: 1 / -1;
}

.tp-guide-card-meta i {
  flex-shrink: 0;
}

.tp-guide-card-meta strong {
  color: var(--tp-common-black);
}

.tp-guide-card-btn {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 16px;
  border: 1px solid rgba(7, 21, 22, 0.12);
  border-radius: 40px;
  font-size: 15px;
  font-weight: 500;
  color: var(--tp-common-black);
  transition: all 0.3s ease;
}

.tp-guide-card-btn:hover,
.tp-guide-card:hover .tp-guide-card-btn {
  background: var(--tp-theme-1);
  border-color: var(--tp-theme-1);
  color: var(--tp-common-white);
}

.tp-blog-thumb .tp-blog-photo {
  aspect-ratio: 16 / 11;
}

.tp-tour-thumb .image img {
  width: 100%;
  aspect-ratio: 4 / 3;
}

/* Equal-height tour cards inside grid columns (mb-50 is on the card itself) */
[class*="col-"] > .tp-tour-item {
  height: calc(100% - 50px);
  display: flex;
  flex-direction: column;
}

.tp-tour-item .tp-tour-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tp-tour-item .tp-tour-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.tp-tour-item .tp-tour-footer {
  margin-top: auto;
}

.tp-tour-item .tp-tour-btn {
  flex-shrink: 0;
}

.tp-tour-item .tp-tour-btn .tp-btn-sm {
  white-space: nowrap;
}

.tp-tour-item .tp-tour-price {
  min-width: 0;
}

.tp-tour-item .tp-tour-bottom-price {
  display: flex;
  align-items: baseline;
  column-gap: 4px;
  white-space: nowrap;
}

/* Home hero search */
.tp-booking-7-form .tp-booking-col-1 {
  width: 560px;
}
.tp-booking-7-form .tp-booking-col-1 .tp-input {
  padding-right: 140px;
}
@media (max-width: 991px) {
  .tp-booking-7-form .tp-booking-col-1 {
    width: 100%;
  }
}
.tp-booking-7-form .tp-booking-location-list {
  width: 380px;
  max-width: 100%;
  padding: 8px;
  border: 1px solid rgba(7, 21, 22, 0.08);
  border-radius: 14px;
  box-shadow: 0 14px 36px -14px rgba(7, 21, 22, 0.28);
}
.tp-booking-7-form .tp-booking-location-inner {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}
.tp-booking-7-form .tp-booking-location-suggested {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 10px 4px;
  margin-bottom: 2px;
}
.tp-booking-7-form #heroDestinationList {
  margin: 0;
  padding: 0;
}
.tp-booking-7-form .tp-booking-location-list ul li.tp-hero-suggest-item {
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background-color 0.15s ease;
}
.tp-booking-7-form .tp-booking-location-list ul li.tp-hero-suggest-item:hover,
.tp-booking-7-form .tp-booking-location-list ul li.tp-hero-suggest-item.is-active {
  background: #fff4f2;
}
.tp-booking-7-form .tp-booking-location-list ul li.tp-hero-suggest-item.is-empty {
  cursor: default;
  background: transparent;
}
.tp-hero-suggest-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f3f5f7;
  color: var(--tp-grey-1, #5f556a);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.tp-hero-suggest-item:hover .tp-hero-suggest-icon,
.tp-hero-suggest-item.is-active .tp-hero-suggest-icon {
  background: #ffffff;
  color: var(--tp-theme-1, #FD4621);
}
.tp-hero-suggest-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tp-hero-suggest-title {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--tp-common-black, #071516);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tp-hero-suggest-title mark {
  padding: 0;
  background: none;
  color: inherit;
  font-weight: 700;
}
.tp-hero-suggest-meta {
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--tp-grey-1, #5f556a);
}

/* Policy pages */
.tp-policy-toc {
  position: sticky;
  top: 120px;
  padding: 24px;
  border: 1px solid rgba(7, 21, 22, 0.08);
  border-radius: 18px;
  background: var(--tp-common-white);
  max-height: calc(100vh - 150px);
  overflow-y: auto;
}

.tp-policy-toc-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 14px;
}

.tp-policy-toc ol {
  margin: 0;
  padding-left: 20px;
}

.tp-policy-toc li {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--tp-grey-1);
}

.tp-policy-toc a {
  color: var(--tp-text-body, #4b5563);
  transition: color 0.2s;
}

.tp-policy-toc a:hover {
  color: var(--tp-theme-1);
}

.tp-policy-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 30px;
  padding: 8px 16px;
  border-radius: 40px;
  background: rgba(253, 70, 33, 0.08);
  color: var(--tp-theme-1);
  font-size: 14px;
  font-weight: 500;
}

.tp-policy-content section {
  scroll-margin-top: 120px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(7, 21, 22, 0.08);
}

.tp-policy-content section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.tp-policy-content h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 14px;
}

.tp-policy-content p,
.tp-policy-content li {
  font-size: 16px;
  line-height: 1.75;
}

.tp-policy-content p:last-child {
  margin-bottom: 0;
}

.tp-policy-content ul {
  margin: 0 0 16px;
  padding-left: 22px;
  list-style: disc;
}

.tp-policy-content ul li {
  margin-bottom: 8px;
}

.tp-policy-content ul li::marker {
  color: var(--tp-theme-1);
}

.tp-policy-content strong {
  color: var(--tp-common-black);
}

.tp-policy-content a {
  color: var(--tp-theme-1);
}

.tp-policy-content a:hover {
  text-decoration: underline;
}

.tp-policy-content a.tp-btn,
.tp-policy-content a.tp-btn:hover {
  color: var(--tp-common-white);
  text-decoration: none;
}

.tp-policy-list-cols {
  columns: 2;
  column-gap: 32px;
}

.tp-policy-list-cols li {
  break-inside: avoid;
}

.tp-policy-contact {
  margin: 4px 0 16px;
  padding: 22px 24px;
  border-radius: 16px;
  background: #f7f7f5;
  border-left: 4px solid var(--tp-theme-1);
}

.tp-policy-contact p {
  margin-bottom: 4px;
}

.tp-policy-contact span {
  color: var(--tp-common-black);
  font-weight: 500;
}

.tp-policy-contact-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--tp-common-black);
}

@media (max-width: 991px) {
  .tp-policy-toc {
    position: static;
    max-height: none;
  }
}

@media (max-width: 767px) {
  .tp-policy-list-cols {
    columns: 1;
  }

  .tp-policy-content h3 {
    font-size: 21px;
  }
}
