/* MDIX Travel Direktori — perbaikan audit template */

/* Logo mitra bawaan tema hanya kotak placeholder kosong: sembunyikan barisnya */
.tf-sw-partners {
  display: none !important;
}

/* Lencana App Store / Google Play sudah berganti logo MDIX ganda: sembunyikan */
.action-download {
  display: none !important;
}

/* Latar "fixed" tampil abu-abu di ponsel & tangkapan layar: buat ikut bergulir */
.banner-section,
.banner-section.banner-1,
.banner-section.banner-2 {
  background-attachment: scroll !important;
}

/* Teks hero gelap di atas foto terang: beri bayangan putih tipis agar tetap terbaca */
.slider-default .home-1 .box-title .h1,
.slider-default .home-1 .box-title p {
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.85), 0 0 2px rgba(255, 255, 255, 0.6);
}

/* Nomor telepon di footer nyaris tak terlihat (abu-abu di latar hitam) */
.footer .widget-box .h4 {
  color: #ffffff;
}
.slider-default .home-1 .box-title p {
  color: var(--heading-color);
  font-weight: 600;
}

/* ===== Ronde design-QA 2026-10-12 ===== */

/* Kontras AA: emas tema #DCA546 hanya 2,2:1 dengan putih → dipergelap untuk teks & tombol.
   Di atas latar gelap (footer) emas asli tetap dipakai karena justru lebih terang. */
:root {
  --primary-color: #8a5f14;
  --place-holder: #6f716f;
}
footer,
.footer {
  --primary-color: #dca546;
}

/* Subjudul hero memakai font "Inter" yang tidak dimuat (jatuh ke Arial) */
.slider-default .box-title p {
  font-family: "Outfit", sans-serif;
}

/* Baris "Paket tour terlaris" menonjol 5px ke kanan di ponsel (gutter row tanpa kolom) */
.flat-tab-recommend > .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.flat-tab-recommend > .row > * {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Tombol menu ponsel: area sentuh 44px */
.toggle-mobile {
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.close-btn {
  min-width: 44px;
  min-height: 44px;
}
/* Menu ponsel yang tertutup tidak boleh bisa difokus keyboard */
.mobile-menu {
  visibility: hidden;
  transition: left 0.4s ease, visibility 0s linear 0.4s;
}
.mobile-menu.active {
  visibility: visible;
  transition: left 0.4s ease, visibility 0s;
}

/* Masuk / Daftar: tinggi target sentuh ≥ 24px */
.wrap-login-menu .login a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 2px;
}

/* "Liburan Terbaik": foto dekoratif menutupi huruf → teks di atas, foto kecil disembunyikan di ponsel */
.tf-best-trip .tf-scroll-text .heading {
  position: relative;
  z-index: 2;
}
@media (max-width: 767px) {
  .tf-best-trip .tf-scroll-text .tag-2,
  .tf-best-trip .tf-scroll-text .tag-3 {
    display: none;
  }
}

/* Testimoni di ponsel: baris terlalu rapat */
@media (max-width: 767px) {
  .box-testimonial-item .description {
    line-height: 1.45;
  }
}

/* Kolom "Peserta" di form pencarian: teks rata kiri seperti kolom lain, tidak keluar kotak */
.wrap-search-link .guest-text,
.form-search .guest-text,
span.current.guest-text {
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Menu desktop di 992–1199px terlalu rapat (Hubungi Kami menempel ikon cari) */
@media (min-width: 992px) and (max-width: 1199px) {
  .header .menu-nav {
    gap: 18px !important;
  }
  .header .header-ct-right {
    padding-left: 20px;
  }
  .header .header-ct-right .wrap-login-menu {
    gap: 16px;
  }
  .header .header-ct-right .wrap-login-menu .heart {
    display: none;
  }
}

/* Link bawah footer di ponsel: tidak terpecah dua baris */
@media (max-width: 767px) {
  .footer .content-bottom .menu-bottom,
  .bottom-footer .menu-bottom {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px 20px;
    padding-right: 64px;
  }
  .bottom-footer .menu-bottom .item-bottom {
    white-space: nowrap;
    display: inline-flex;
    min-height: 32px;
    align-items: center;
  }
}

/* Bagian promo (Tentang Kami / Hubungi Kami): gambar mockup ponsel diganti foto biasa,
   jadi margin negatif yang membuatnya menutupi judul dinolkan */
.tf-promo-section .banner-device,
.tf-promo-section .flat-img-with-text .content-left .banner-device,
.tf-promo-section .content-left .banner-device {
  margin: 0 !important;
  height: auto;
}
.tf-promo-section .banner-device img {
  display: block;
  width: 100%;
  max-width: 100% !important;
  max-height: none;
  height: auto;
  aspect-ratio: 770 / 545;
  object-fit: cover;
  border-radius: 16px;
}
.tf-promo-section .flat-img-with-text {
  gap: 40px;
  padding: 64px 0;
  align-items: center;
}
.tf-promo-section .flat-img-with-text .content-left,
.tf-promo-section .flat-img-with-text .content-right {
  flex: 1 1 0;
  min-width: 0;
}
@media (max-width: 1199px) {
  .tf-promo-section .flat-img-with-text {
    gap: 32px;
  }
}

/* Target sentuh ≥ 24px (WCAG 2.5.8) untuk kontrol kecil bawaan tema */
.footer .tour-item a,
.footer ul li a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}
.copy-right a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}
.input-wrapper button.icon.pos-2 {
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.counter .minus,
.counter .plus {
  min-width: 28px;
  min-height: 28px;
}
.select-items .list .option > a,
.nice-select .option > a,
.option > a {
  min-height: 32px;
  display: flex;
  align-items: center;
}
.action-btn {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

/* Label kecil kontak di footer (abu-abu gelap di latar hitam, 2,7:1) */
footer .widget-contact .content > span,
footer .widget-box .content > span,
footer .form-check-label,
footer label {
  color: #a8abae;
}

/* Judul kartu tour satu baris: tinggi link ≥ 24px */
.tour-title .link {
  line-height: 1.4;
}

/* Titik navigasi slider: area sentuh 24px, tampilan tetap kecil */
.swiper-pagination-bullet {
  box-sizing: content-box;
  border: 8px solid transparent;
  background-clip: padding-box;
}
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-bullets .swiper-pagination-bullet {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.footer .inner-footer .widget-box .widget-contact .content > span,
.footer .inner-footer .agree-terms span {
  color: #a8abae;
}

/* Kartu tour bergaya overlay (teks putih di atas foto): beri gradasi gelap agar teks terbaca di foto terang */
.item.list-style-02 .archive-bottom {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0) 100%);
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
}

/* Kontak di halaman Hubungi Kami & ikon cari/kirim di sidebar blog: target sentuh ≥ 24px */
.info-item .content a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}
.search-box a.icon,
.search-box .icon.pos-1,
.search-box .icon.pos-2 {
  min-width: 32px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tf-top-choice .content a.link,
.box-top-choice .content a.link,
.content > a.link {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
}
.content > h4 > a.link {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
}

/* Gutter baris tema (-20px) lebih lebar dari padding container (15px): di ponsel
   semua .row menonjol 5px ke kanan. Samakan gutter dengan padding container. */
@media (max-width: 767px) {
  .row {
    margin-left: -15px !important;
    margin-right: -15px !important;
  }
  .row > * {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}
/* Tablet & laptop (container selebar layar): padding container = gutter baris tema (20px) */
@media (min-width: 768px) and (max-width: 1349px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* Galeri detail destinasi/tour: baris -20px di dalam section mx-4 menonjol 4px → potong di tepi section */
.tf-destination-detail {
  overflow-x: clip;
}
/* Destinasi 1 (ponsel): foto lingkaran 400px lebih lebar dari layar → batasi ke lebar layar */
@media (max-width: 767px) {
  .flat-img-with-text .grid-img-group .item-2 {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}
/* Header ponsel sempit (≤399px): logo + Masuk/Daftar + tombol menu tidak muat → logo diperkecil */
@media (max-width: 399px) {
  .header .header-ct-left {
    padding-right: 10px !important;
  }
  .header .logo img,
  .header #logo img {
    width: 136px !important;
    max-width: 136px !important;
    height: auto !important;
  }
  .header .wrap-login-menu .login {
    gap: 4px;
  }
}

/* Verifikasi ulang akhir 2026-10-13: logo PayPal di checkout tertimpa wordmark MDIX oleh pass logo → label teks metode bayar. */
.payment-content .mdix-pay-label { font-weight: 600; font-size: 15px; color: #1f2937; }
