/* =========================================
   1. Variables & Reset
========================================= */
:root {
  --wrap: 1280px;
  --pad: 15px;
  --brand: #800018;
  --text: #232323;
  --border: rgba(0, 0, 0, .08);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

body {
	margin: 0;
	font-family: Roboto;
	color: var(--text);
}
button{
    font-family: inherit;
}

html:has(body.kj-lock){
  overflow: hidden;
  touch-action: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}


a {
  color: var(--brand);
  text-decoration: none;
}


/* =========================
   GLOBAL LIST BASE
========================= */
ul,
ol{
  margin: 0 0 1em;
  padding-left: 1.25em;
}

li{
  margin: .35em 0;
  line-height: 1.5;
}

/* ordered list numbering */
ol{
  list-style: decimal;
}

/* unordered list bullets */
ul{
  list-style: disc;
}

/* nested lists */
li > ul,
li > ol{
  margin-top: .35em;
  margin-bottom: .35em;
}


svg {
  display: inline-block;
  vertical-align: -.125em;
}

/* =========================================
   2. Custom Fonts
========================================= */
@font-face {
  font-family: "kjfont";
  src: url("./fonts/kjfont-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "kjfont";
  src: url("./fonts/kjfont-semibold.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* =========================================
   3. Header & Navigation
========================================= */
.type-trip .kj-bc-list {
    margin: 0 0 15px 0;
}
.kj-bc-list{
  list-style:none;
  margin:15px 0 0;
  padding:0;
  display:flex;
  align-items:center;
  gap:.3rem;
  font-size:13.4px;
  flex-wrap:nowrap;
  overflow:hidden;
}

li.kj-bc-item{
  display:flex;
  align-items:center;
  gap:.3rem;
  white-space:nowrap;
}

.kj-bc-link,
.kj-bc-sep{
  white-space:nowrap;
  flex-shrink:0;
}
.kj-bc-sep{opacity:.75;}
.kj-bc-current{
  opacity:.75;
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:45vw;
  flex-shrink:1;
}

/* optional desktop lebih lega */
@media (min-width:768px){
  .kj-bc-current{
    max-width:520px;
  }
}

.taxonomy-description{
  margin:-15px 0 20px 0;
}





.kj-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.kj-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.kj-nowrap {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.kj-nowrap.menu-right {
  gap: 10px;
}

.kj-logo {
  min-width: 180px;
  display: flex;
  align-items: center;
}

.kj-logo img {
  height: 35px;
  width: auto;
  object-fit: contain;
}

.kj-site-name {
  font-weight: 700;
  letter-spacing: .2px;
}

/* Desktop Nav */
.kj-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}


/* =========================================
   1. Base Menu Layout (Reset & Struktur)
   ========================================= */
.kj-menu, 
.kj-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kj-menu > li {
    display: inline-block;
    position: relative; /* Penting untuk anchor posisi submenu */
}

/* =========================================
   2. Link Styling & Active States
   ========================================= */
/* Style dasar Link */
.kj-menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333; /* Warna default */
    transition: color 0.3s ease;
}

/* Warna saat Hover & Halaman Aktif */
.kj-menu a:hover,
.kj-menu .current-menu-item > a,
.kj-menu .current-menu-parent > a,
.kj-menu .current-menu-ancestor > a {
    color: var(--brand);
    text-shadow: 0.35px 0 0 currentColor;
}

/* =========================================
   3. Dropdown / Submenu Container
   ========================================= */
.kj-menu .sub-menu {
    display: none;       /* Hidden default */
    position: absolute;
    top: 100%;           /* Muncul dibawah induk */
    left: 0;
    background-color: #fff;
    min-width: 220px;    /* Sedikit diperlebar agar teks aman */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 999;
    border-radius: 0 0 4px 4px; /* Pemanis sudut bawah */
}

/* Nested Submenu (Level 2+) */
.kj-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;          /* Muncul disebelah kanan */
    border-radius: 4px;  /* Full rounded untuk level 2 */
    margin-left: 2px;    /* Jarak dikit dari induk */
}

/* Trigger: Tampilkan Submenu saat Hover Li */
.kj-menu li:hover > .sub-menu {
    display: block;
}

/* Style Link di dalam Submenu */
.kj-menu .sub-menu a {
    padding: 12px 15px;
    font-size: 0.95em;   /* Opsional: Teks submenu sedikit lebih kecil */
    border-bottom: 1px solid #f2f2f2; /* Garis pemisah antar menu */
}

.kj-menu .sub-menu li:last-child a {
    border-bottom: none; /* Hapus garis di item terakhir */
}

/* Efek Hover Background di Submenu (Penting untuk UX) */
.kj-menu .sub-menu a:hover {
    background-color: #fafafa;
}

/* =========================================
   4. Arrow Indicators (Chevron)
   ========================================= */
/* A. Arrow Utama (Panah Bawah) */
.kj-menu .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;   /* Mengikuti warna teks */
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);               /* Bentuk V */
    margin-left: 8px;
    margin-bottom: 2px;
    transition: transform 0.3s ease;
}

/* Animasi Putar saat Hover (Main Menu) */
.kj-menu .menu-item-has-children:hover > a::after {
    transform: rotate(225deg);              /* Putar jadi ^ */
}

/* B. Arrow Nested (Panah Kanan untuk Submenu dalam Submenu) */
.kj-menu .sub-menu .menu-item-has-children > a::after {
    transform: rotate(-45deg);              /* Bentuk > */
    position: absolute;                     /* Supaya rapi di kanan mentok */
    right: 15px;
    top: 50%;
    margin-top: -4px;                       /* Center vertical */
}

/* Animasi Geser saat Hover (Nested Menu) */
.kj-menu .sub-menu .menu-item-has-children:hover > a::after {
    transform: rotate(-45deg) translateX(3px);
}




/* Actions (Right Side) */
.kj-actions {
  min-width: 180px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.kj-currency {
  border: 0;
  background: transparent;
  color: #232323;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kj-currency:hover {
  background: rgba(0, 0, 0, .05);
}

.kj-code {
  font-size: 13px;
  font-weight: 600;
}

.kj-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
}

.kj-icon:hover {
  background: rgba(0, 0, 0, .05);
}

.kj-burger {
  display: none;
  height: 35px;
  border: 0;
  padding: 0 10px 0 0;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
}

.kj-burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #111;
  border-radius: 2px;
}

/* =========================================
   4. iOS-like Bottom Sheet
========================================= */
.kj-sheet[hidden] {
  display: none !important;
}

.kj-sheet {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.kj-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  opacity: 0;
  transition: opacity .22s ease;
}

.kj-sheet__panel {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 620px;
  height: calc(var(--device-height) - 8vh);
  background: #fff;
  border-radius: 25px 25px 0 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  padding: 8px 15px 22px;
  display: flex;
  flex-direction: column;
  translate: 0 20px;
  opacity: 0;
  transition: translate .22s ease, opacity .22s ease;
  will-change: translate;
  touch-action: none;
}

.kj-sheet.is-open .kj-sheet__backdrop {
  opacity: 1;
}

.kj-sheet.is-open .kj-sheet__panel {
  translate: 0 0;
  opacity: 1;
}

.kj-sheet__grab {
  width: 76px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .12);
  margin: 4px auto 12px;
}

.kj-sheet__head {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6px 0 12px;
}

.kj-sheet__title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kj-sheet__x {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 0;
  background: rgba(0, 0, 0, .06);
  border-radius: 999px;
  cursor: pointer;
}

.kj-sheet__nav {
  flex: 1;
  overflow: auto;
  padding: 8px 2px;
}

.kj-sheet__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
}

.kj-sheet__menu a {
  display: block;
  padding: 5px 10px;
  font-size: 18px;
  font-weight: 700;
  color: #2b2f36;
  border-radius: 12px;
}

.kj-sheet__menu a:hover {
  background: rgba(0, 0, 0, .05);
}

.kj-sheet__cta {
  padding-top: 14px;
}

.kj-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.kj-btn--wa {
  background: var(--brand);
  color: #fff;
  padding: 10px;
}

/* Currency List (Inside Sheet) */
.kj-cc__list {
  display: grid;
  gap: 10px;
  padding: 8px 2px;
  overflow: auto;
  flex: 1;
}

.kj-cc__item {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 16px;
  padding: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}

.kj-cc__item:hover {
  background: rgba(0, 0, 0, .04);
}

.kj-cc__left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
}

.kj-cc__right {
  font-size: 14px;
  opacity: .7;
  font-weight: 600;
}

/* =========================================
   5. Main Layout & Cards
========================================= */
.kj-main {
  min-height: 60vh;
}

.kj-container {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 26px var(--pad);
}

.kj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.kj-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.kj-card-link {
  display: block;
  padding: 14px;
}

.kj-card-title {
  margin: 10px 0 8px;
  font-size: 18px;
}

.kj-card-excerpt {
  margin: 0;
  opacity: .75;
}

.kj-title {
  margin: 0 0 10px;
  font-size: 28px;
}

.kj-content {
  line-height: 1.4;
}


/* Container Utama */
.kjb-trip-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px; 
    font-size: 15px;
    line-height: 1;
}

/* Icon Bintang */
.kjb-star-icon svg {
    display: block;
    width: 16px;
    height: 16px;
    margin-top: -2px;
    color: #ff8c10;
}


.kjb-rating-val {
    color: #ff8c10;
    font-weight: bold;
}


.kjb-rating-count {
    color: #666; 
    margin-left: 2px;
}

/* =========================================
   6. Terms Grid (Destinations/Activities)
========================================= */
.kjb-terms-grid {
  display: grid;
  gap: 12px;
}

.kjb-terms-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kjb-terms-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kjb-terms-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kjb-terms-grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.kjb-terms-grid.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

@media (max-width: 1024px) {
  .kjb-terms-grid.cols-4,
  .kjb-terms-grid.cols-5,
  .kjb-terms-grid.cols-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .kjb-terms-grid.cols-3,
  .kjb-terms-grid.cols-4,
  .kjb-terms-grid.cols-5,
  .kjb-terms-grid.cols-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kjb-terms-grid.cols-3.tax-destination,
  .kjb-terms-grid.cols-4.tax-destination,
  .kjb-terms-grid.cols-5.tax-destination,
  .kjb-terms-grid.cols-6.tax-destination {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .kjb-terms-grid {
    grid-template-columns: 1fr;
  }
}

.kjb-term-card {
  border-radius: 24px;
  background: #f4f4f4;
  overflow: hidden;
  position: relative;
  min-height: 180px;
}

.kjb-terms-grid.tax-destination .kjb-term-card {
  min-height: 85px !important;
  border-radius: 20px;
}

.kjb-term-card a {
  display: block;
  height: 100%;
  text-decoration: none;
}

.kjb-term-media {
  position: absolute;
  inset: 0;
}

.kjb-term-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.kjb-term-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, .55) 100%);
}

.kjb-term-content {
  position: absolute;
  left: 10px;
  right: 18px;
  bottom: 10px;
  color: #fff;
}

.kjb-term-title {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}

.kjb-terms-grid.tax-destination .kjb-term-title {
  font-size: 14px;
}

.kjb-term-count {
  margin-top: 6px;
  opacity: .9;
  font-size: 13px;
}

/* =========================================
   7. Footer
========================================= */
.kj-footer {
  margin-top: 50px;
}

/* Footer CTA */
.kj-footer-cta {
  position: relative;
  max-width: var(--wrap);
  padding: 0 15px;
  margin: 0 auto;
}

.kj-footer-cta__bg {
  background:
    linear-gradient(rgba(128, 0, 24, .85), rgba(128, 0, 24, .85)),
    url("/assets/img/footer-cta.webp") center/cover no-repeat;
  border-radius: 20px;
  padding: 60px 20px;
}

.kj-footer-cta__content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.kj-footer-cta__content h2 {
  font-size: 28px;
  margin: 0 0 10px;
}

.kj-footer-cta__content p {
  opacity: .9;
  margin: 0 0 24px;
}

.kj-btn--outline {
  border: 2px solid #fff;
  color: #fff;
  padding: 7px 20px;
  border-radius: 999px;
  font-weight: 600;
}

.kj-btn--outline:hover {
  background: #fff;
  color: var(--brand);
}

/* Footer Main */
.kj-footer-main {
  padding: 180px 18px 60px 18px;
  background: #f7f7f7;
  margin-top: -120px;
}

.kj-footer-grid {
  max-width: var(--wrap);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.kj-footer-col h4 {
  font-size: 16px;
  margin: 0 0 14px;
}

.kj-footer-col p {
  opacity: .85;
  line-height: 1.6;
  margin: 0;
}

.kj-footer-logo {
  height: 44px;
  margin-bottom: 14px;
}

.kj-footer-menu,
.kj-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kj-footer-menu li,
.kj-footer-contact li {
  margin-bottom: 10px;
}

.kj-footer-menu a {
  opacity: .85;
  transition: opacity .15s ease;
}

.kj-footer-menu a:hover {
  opacity: 1;
}

.kj-footer-contact li {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Social Icons */
.kj-footer-social {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}

.kj-footer-social a {
  width: 36px;
  height: 36px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 10px;
}

/* Payment Icons */
.kj-footer-payments {
  margin-top: 14px;
  max-width: 220px;
}

/* Footer Bottom */
.kj-footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  max-width: var(--wrap);
  margin: auto;
}

.kj-footer-bottom a {
  margin-left: 16px;
  opacity: .75;
}

.kj-footer-bottom a:hover {
  opacity: 1;
}

/* =========================================
   8. Global Responsive
========================================= */
@media (max-width: 980px) {
  .kj-logo,
  .kj-actions {
    min-width: auto;
  }

  .kj-logo img {
    height: 30px;
  }

  .kj-nav {
    display: none;
  }

  .kj-burger {
    display: inline-block;
  }

  .kj-grid {
    grid-template-columns: 1fr;
  }

  .kj-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .kj-footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}


    /* 1. Paksa semua input minimal 16px di HP */
    input, 
    textarea, 
    select, 
    .kj-atp-input,
    input[type="text"],
    input[type="datetime-local"] {
        font-size: 16px !important;
    }

