.custom-navbar {
  z-index: 10000;
}
.tv-loading-screen {
  z-index: 10000000000;
}
.splide__arrows.splide__arrows--ltr button {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  width: 32px !important;
}
.wte-change-type-wrapper {
  display: none;
}
.wpte-booking .wpte-bf-btn-wrap button {
  position: relative;
  overflow: hidden;
  background-color: #006523 !important;
  color: #ffffff !important;
  animation: bth-booking-button-breathe 2.2s ease-in-out infinite;
  box-shadow: 0 10px 24px rgba(0, 101, 35, 0.24);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}
.wpte-booking .wpte-bf-btn-wrap button:hover,
.wpte-booking .wpte-bf-btn-wrap button:focus {
  background-color: #075d37 !important;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 14px 30px rgba(0, 101, 35, 0.34);
  animation-play-state: paused;
}
@keyframes bth-booking-button-breathe {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 10px 24px rgba(0, 101, 35, 0.24),
      0 0 0 0 rgba(0, 101, 35, 0.24);
  }
  50% {
    transform: scale(1.035);
    box-shadow:
      0 14px 30px rgba(0, 101, 35, 0.34),
      0 0 0 12px rgba(0, 101, 35, 0);
  }
}
.wpte-booking .wpte-bf-btn-wrap button::after {
  content: "";
  position: absolute;
  top: -35%;
  left: -55%;
  width: 42%;
  height: 170%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transform: skewX(-22deg);
  animation: bth-booking-button-shine 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes bth-booking-button-shine {
  0%,
  42% {
    left: -55%;
    opacity: 0;
  }
  52% {
    opacity: 1;
  }
  72%,
  100% {
    left: 115%;
    opacity: 0;
  }
}
.wte-booking-summary h5 {
  text-transform: capitalize !important;
}
.total-amount .price .total-text,
.total-amount .price .wpte-currency-code.currency,
.total-amount .price .wpte-price.amount {
  font-family: "Lexend" !important;
  font-weight: 600 !important;
}
.itinerary.has-bullets .itinerary-row::before,
.wte-trip-itinerary-v2.has-bullets .itinerary-row::before {
  left: -30px !important;
}
#faq-tabs {
  padding: 12px 16px !important;
}
.wp-travel-engine-faq-tab-content {
  gap: 0px !important;
}
.faq-title {
  font-size: 18px !important;
}
.faq-content.show {
  padding-top: 6px !important;
}

@media screen and (max-width: 1024px) {
  .wp-block-columns:not(.is-not-stacked-on-mobile)
    > .wp-block-column[style*="flex-basis"] {
    z-index: 1000;
  }
  .wp-block-wptravelenginetripblocks-booking .wpte_price-toggle-btn-mb {
    display: none !important;
  }
  .wpte-tabs-container.bth-mobile-tabs-expanded
    .tab-content.bth-mobile-tab-open {
    display: block !important;
  }
  .wpte-tabs-container.bth-mobile-tabs-expanded .tab-content[hidden] {
    display: none !important;
  }
  .wpte-tabs-container.bth-mobile-tabs-expanded .nav-tab.nav-tab-active::after {
    transform: translateY(-50%) rotate(180deg);
  }
  .wpte-block_tab-container.bth-mobile-tabs-expanded
    .wp-block-wptravelenginetripblocks-tab-content.bth-mobile-tab-open {
    display: block !important;
  }
  .wpte-block_tab-container.bth-mobile-tabs-expanded
    .wp-block-wptravelenginetripblocks-tab-content[hidden] {
    display: none !important;
  }
  .wpte-block_tab-container.bth-mobile-tabs-expanded
    .wpte-block_tab-button.active::after {
    transform: translateY(-50%) rotate(180deg);
  }
  .itinerary-row.active .itinerary-content.show,
  .faq-row .faq-content.show {
    display: block !important;
  }
}

@media screen and (max-width: 767px) {
  .wp-block-wptravelenginetripblocks-booking .wpte-booking-inner-wrapper {
    padding: 16px 24px !important;
  }
  .wpte-booking p.has-text-align-center {
    margin-top: 10px !important;
  }
  .--trip-block {
    margin-top: 28px !important;
  }
  .--block-left h2,
  .--related-tour h2 {
    font-size: 22px !important;
  }
  .--related-tour h2 {
    margin-bottom: 24px !important;
  }
  .wte-title-duration {
    width: fit-content !important;
    min-width: unset !important;
  }
  .wte-title-duration .duration {
    padding: 0 20px !important;
  }
  .wte-title-duration .days {
    padding: 0 12px !important;
  }
  .--wp-tab ul li {
    border-radius: 4px !important;
    overflow: hidden !important;
  }
  .--wp-tab ul li button {
    font-family: "Lexend" !important;
  }
  .--wp-tab ul li button::after {
    width: 12px !important;
  }

  .--block-left h3 {
    font-size: 20px !important;
    margin-top: 32px !important;
  }
  .--block-left h4 {
    font-size: 18px !important;
    margin-top: 32px !important;
    font-weight: 600 !important;
    font-family: "Lexend" !important;
  }
  .wte-popup-sidebar {
    padding-bottom: 0px !important;
  }
  .faq-title {
    font-size: 16px !important;
  }
}

@media screen and (max-width: 767px) {
  .wpte-gblock-wrapper .wpte-trip-header-wrap .wpte-trip-title a,
  .wpte-gblock-wrapper .wpte-trip-price-wrap ins {
    font-size: 20px !important;
  }
  .--related-tour
    .category-grid.wte-d-flex.wte-col-3.wpte-trip-list-wrapper.columns-3 {
    flex-wrap: nowrap !important;
    overflow-x: scroll;
  }
  .--related-tour
    .category-grid.wte-d-flex.wte-col-3.wpte-trip-list-wrapper.columns-3
    .wpte-trip-single {
    width: 100% !important;
    max-width: 400px !important;
    min-width: 85vw !important;
  }
}

@media screen and (max-width: 576px) {
  .--related-tour
    .category-grid.wte-d-flex.wte-col-3.wpte-trip-list-wrapper.columns-3 {
    gap: 12px;
  }
  .--related-tour
    .category-grid.wte-d-flex.wte-col-3.wpte-trip-list-wrapper.columns-3
    .wpte-trip-single {
    width: 100% !important;
    max-width: 80vw !important;
    min-width: unset !important;
  }
}

/* ONLY SHOW FIRST PRICE (ADULT PRICE) */
.wpte-bf-price-wrap .wpte-bf-price {
  display: none !important;
}

/* Tampilkan hanya .wpte-bf-price pertama */
.wpte-bf-price-wrap .wpte-bf-price:first-of-type {
  display: block !important;
}

.wte-booking-pc-counter input[type="number"] {
  -moz-appearance: textfield;
  cursor: text;
}

.wte-booking-pc-counter input[type="number"]::-webkit-outer-spin-button,
.wte-booking-pc-counter input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.bth-pax-min-error {
  background: #fff3f3;
  border: 1px solid #f3b7b7;
  border-radius: 6px;
  color: #9f1d1d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 14px;
  padding: 10px 12px;
}
.bth-trip-hotel-price {
  margin: 32px 0;
  display: block !important;
  width: 100%;
}

.tab-content > .bth-trip-hotel-price {
  flex: 0 0 100%;
}

.bth-trip-hotel-price__title {
  margin: 0 auto 14px;
  font-size: clamp(24px, 1.5rem + ((1vw - 3.2px) * 0.8), 32px);
  line-height: 1.25;
  color: #1a1a1a;
  max-width: 870px;

  font-style: normal;
  font-weight: 500;
  line-height: 1.4;
}

.bth-trip-hotel-price__scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #fff;
  max-width: 870px;
  margin: 0 auto;
}

.bth-trip-hotel-name {
  width: 200px;
}

.bth-trip-hotel-price__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  margin: 0;
}

.bth-trip-hotel-price__table th,
.bth-trip-hotel-price__table td {
  padding: 13px 16px;
  border-bottom: 1px solid #edf0f2;
  text-align: left;
  font-size: 14px;
  line-height: 1.45;
}

.bth-trip-hotel-price__table th {
  background: #1a5f3f;
  color: #fff;
  font-weight: 700;
}

.bth-trip-hotel-price__table td:first-child {
  color: #1f2937;
  font-weight: 700;
}

.bth-trip-hotel-price__table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 768px) {
  .bth-trip-hotel-price {
    margin: 24px 0;
  }

  .bth-trip-hotel-price__title {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .wpte-block_tab-container .wpte-block_tab {
    display: none !important;
  }
  .--block-left h3,
  .bth-trip-hotel-price__title {
    font-size: 24px !important;
    margin-top: 0px !important;
  }
}
