:root {
  --sidepanelSpeed: .25s;
}
::-webkit-scrollbar {
  display: none;
}

/*---------------------------------------
   Loading        
-----------------------------------------*/
#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top, #0d415a 30%, var(--black));
  background: url(../img/mapthumb.png);
  z-index: 99999;
  display: flex;
}

#loadingSpinner img{
  width: 100px; /* Adjust the size of the loading GIF */
  height: auto;
}
/* Progress bar container */
.progress-container {
  max-width: 80vw;
  width: 450px;
  background-color: #f3f3f3;
  border-radius: 5px;
  overflow: hidden;
}

/* Progress bar */
.progress-bar {
  height: 3px;
  width: 0;
  background-color: var(--cyan);
  transition: width 0.2s ease;
}

/*---------------------------------------
   MAP    
-----------------------------------------*/
#map {
  position: absolute;
  z-index: 0;
}

.leaflet-marker-icon{
  display: block !important;
  opacity: 1 !important;
}
.leaflet-control-zoom {
  display: none !important;
}
.marker-shadow{
  -webkit-filter: drop-shadow(0 4px 1px rgba(0, 0, 0, .35));
  filter: drop-shadow(0 4px 1px rgba(0, 0, 0, .35));
}

.wavebg{
  position: absolute;
  min-height: 100vh;
  min-height: 100svh;
  background: linear-gradient(to top, #027987 30%, #0d415a);
}
.ketam{
  position: fixed;
  z-index: 35;
  transform-origin: top right;
  top: -20px;
  right: 2%;
  animation: dropdown .5s ease forwards;
  scale: .6;
  transition: all var(--sidepanelSpeed) ease-in;
  opacity: 100%;
  cursor: pointer;
}
.ketam:hover {
  -webkit-filter: drop-shadow(0 0 6px var(--white));
  filter: drop-shadow(0 0 6px var(--white));
}

.ketam::before{
  content: "";
  position: absolute;
  transform-origin: top right;
  top: 5px;
  right: 0;
  width: 54px;
  height: 57px;
  aspect-ratio: 54/57;
  background: url(../img/crab_hand.png) top right no-repeat;
  background-size: contain;
}
.ketam::after{
  content: "";
  position: absolute;
  transform-origin: 141px 19px;
  top: 36px;
  right: -20px;
  width: 185px;
  height: 150px;
  max-width: 60vw;
  aspect-ratio: 185/150;
  background: url(../img/crab.png) top right no-repeat;
  background-size: contain;
  animation: swing 1s ease-in-out infinite alternate;
}

.ketam.active, .ketam.dropped{
  top: calc(var(--app-height) + 2px);
  transition: all var(--sidepanelSpeed) ease-in;
}

/*---------------------------------------
   Makan Button
-----------------------------------------*/
.makan {
  position: fixed;
  z-index: 35;
  left: 0;
  bottom: 50px;
  width: 115px;
  max-width: 45vw;
  aspect-ratio: 168/121;
  transition: all var(--sidepanelSpeed) ease-in;
  opacity: 100%;
  cursor: pointer;
}
.makan span{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: url(../img/makan.gif) center no-repeat;
  background-size: contain;
  /* animation: popping 1s infinite alternate; */
}
.makan::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: url(../img/icon/highlight.png) center no-repeat;
  background-size: contain;
  z-index: -10;
  animation: rotate 15s infinite linear;
  mix-blend-mode: color-dodge;
  opacity: .35;
}
.makan::after{
  content: "HOT";
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  width: fit-content;
  padding: 0 15px;
  color: white;
  font-weight: 600;
  background: var(--orange);

  border-radius: var(--border_lg);
}


.makan:hover {
  -webkit-filter: drop-shadow(0 0 6px var(--white));
  filter: drop-shadow(0 0 6px var(--white));
}


@media screen and (max-width: 768px) {
  .ketam{
    right: 5%;
  }
  .makan{
    bottom: 95px;
    left: -3%;
  }
}

/*---------------------------------------
   NAVBAR        
-----------------------------------------*/
.topnav{
  z-index: 10;
  position: fixed;
  top: 25px;
  left: 2%;
}

.logo{
  width: 200px;
  max-height: 40px;
  aspect-ratio: 462/97;
  pointer-events: all;
  background: url(../img/logo_horizontal.png) center no-repeat;
  background-size: contain;
}
.logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.navigation{
  width: 500px;
  height: fit-content;
  max-width: 100vw;
  background:  var(--white);
  border-radius: var(--border_s);
  border-radius: var(--border_lg);
  z-index: 9999 !important;
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 -6px 12px rgba(35, 38, 38, 0.05);
}

.navwrapper{
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
}

.nav_link:not(.ketam), .btn_home_map{
  --btnColor: var(--darkgrey);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  max-width: calc((100vw / 5) - 10px);
  aspect-ratio: 1/1;
}
.btn_home_map{
  --btnColor: var(--white);
}

.nav_link.ferry:hover, .nav_link.ferry.active{
  --btnColor: var(--pink);
}
.nav_link.lodging:hover, .nav_link.lodging.active{
  --btnColor: var(--green);
}
.nav_link.dining:hover, .nav_link.dining.active{
  --btnColor: var(--orange);
}
.nav_link.attraction:hover, .nav_link.attraction.active{
  --btnColor: var(--cyan);
}
.nav_link.complaint:hover, .nav_link.complaint.active{
  --btnColor: var(--yellow);
}

.nav_link span, .icon_ferry, .btn_home_map span{
  width: 50px;
  height: 50px;
  max-width: calc((100vw / 5) - 20px);
  aspect-ratio: 1/1;
  background: var(--btnColor);
  margin-top: -10px;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.btn_home_map span{
  width: 45px;
  height: 45px;
  mask-image: url(../img/icon/nav_map.png);
  -webkit-mask-image: url(../img/icon/nav_map.png);
}
.nav_link.ferry span, .icon_ferry{
  mask-image: url(../img/icon/nav_ferry.png);
  -webkit-mask-image: url(../img/icon/nav_ferry.png);
}
.nav_link.lodging span{
  mask-image: url(../img/icon/nav_lodging.png);
  -webkit-mask-image: url(../img/icon/nav_lodging.png);
}
.nav_link.dining span{
  mask-image: url(../img/icon/nav_dining.png);
  -webkit-mask-image: url(../img/icon/nav_dining.png);
}
.nav_link.attraction span{
  mask-image: url(../img/icon/nav_attraction.png);
  -webkit-mask-image: url(../img/icon/nav_attraction.png);
}
.nav_link.complaint span{
  mask-image: url(../img/icon/nav_complaint.png);
  -webkit-mask-image: url(../img/icon/nav_complaint.png);
}

.nav_link p, .btn_home_map p{
  font-size: calc(var(--txt_body) - 5px);
  line-height: calc(var(--txt_body) - 5px);
  font-weight: 500;
  color: var(--btnColor);
  /* text-transform: uppercase; */
  margin: 0;
  margin-top: -8px;
  text-align: center;
}

.compass{
  width: 70px;
  height: 70px;
  position: absolute;
  z-index: 999;
  rotate: 7deg;
  left: clamp(15px, 5%, 35px);
  bottom: 50px;
  background: url(../img/compass.png) center no-repeat;
  background-size: contain;
}
.compass:hover{
  animation: rotate .5s ease-out;
}
.copyright{
  font-size: 9px;
  line-height: 9px;
  color: var(--white);
  text-align: center;
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  pointer-events: none;
  max-width: 98vw;
}

@media screen and (max-width: 768px) {
  .compass{
    bottom: 105px;
  }
  .copyright{
    bottom: 70px;
  }
  .logo{
    left: 5%;
  }
  .navigation{
    width: 100vw;
    bottom: 0;
    left: 0;
    transform: unset;
    transition: bottom .35s ease;
    border-radius: var(--border_s);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .navwrapper{
    padding: 0 2vw;
  }
}

.navigation_home {
  display: none;
  opacity: 0;
}


@media screen and (max-width: 768px) {
  body.about_home_active .navigation {
    display: none;
  }

  @keyframes homePop {
    0% { opacity: 0; transform: translateY(35px) scale(.55);}
    60% { opacity: 1; transform: translateY(-6px) scale(1.08);}
    100% { opacity: 1; transform: translateY(0) scale(1);}
  }

  @keyframes homeHint {
    0%, 60%, 100% { transform: translateY(0) scale(1);}
    67% { transform: translateY(-4px) scale(1.05);}
    73% { transform: translateY(0) scale(.98);}
    80% { transform: translateY(-2px) scale(1.02);}
  }

  @keyframes ripple {
    0%,60% { opacity: 0; transform: scale(.88);}
    68% { opacity: .55;}
    100% { opacity: 0; transform: scale(1.4);}
  }

  /* ================================
     Navigation Home 容器
  ================================= */
  body.about_home_active .navigation_home {
    width: 100%;
    height: 50px;
    position: fixed;
    z-index: 9999;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 1;
    pointer-events: none;
  }

  body:has(.dropdown-menu.show) .navigation_home {
    display: none;
  }

  body.about_home_active .navigation_home .navwrapper {
    width: 65px;
    aspect-ratio: 1 / 1;
    position: absolute;
    bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2vw;
    overflow: visible;
    isolation: isolate;
    border: 2px solid rgba(255, 255, 255, .92);
    border-radius: var(--border_xl);
    background: radial-gradient( circle at 30% 20%, rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, .35) 8%, transparent 20% ), linear-gradient( 145deg, #86f8ff 0%, var(--cyan) 45%, #00a4c1 100% );
    box-shadow: 0 14px 28px rgba(0, 161, 190, .32), 0 0 0 5px rgba(61, 228, 240, .08), inset 0 1px 1px rgba(255, 255, 255, .75), inset 0 -8px 16px rgba(0, 91, 120, .18);
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
    transform: translateY(0) scale(1);
    transform-origin: center;
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease, filter .25s ease, background .25s ease;
    animation: homePop .6s cubic-bezier(.2, .9, .3, 1.35) backwards, homeHint 3.2s ease-in-out .8s infinite;
  }

  body.about_home_active
  .navigation_home
  .navwrapper::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 5px;
    left: 8px;
    right: 8px;
    width: 60%;
    height: 60%;
    border-radius: inherit;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0));
    pointer-events: none;
    opacity: .5;
  }

  body.about_home_active
  .navigation_home
  .navwrapper::after {
    content: "";
    position: absolute;
    z-index: -2;
    inset: -10px;
    border: 1px solid rgba(91, 239, 248, .4);
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
    animation: ripple 3.2s ease-out .8s infinite;
  }

  body.about_home_active
  .navigation_home
  .navwrapper:hover {
    animation-play-state: paused;
    transform: translateY(-4px) scale(1.055);
    filter: saturate(1.08) brightness(1.04);
    box-shadow: 0 18px 38px rgba(0, 182, 210, .4), 0 0 0 7px rgba(55, 230, 240, .11), inset 0 1px 1px rgba(255, 255, 255, .82), inset 0 -8px 16px rgba(0, 93, 128, .13);
  }

  body.about_home_active
  .navigation_home
  .navwrapper:active {
    animation-play-state: paused;
    transform: translateY(1px) scale(.94);
    filter: brightness(.98);
    box-shadow: 0 7px 16px rgba(0, 128, 155, .28), 0 0 0 3px rgba(55, 230, 240, .08), inset 0 5px 12px rgba(0, 88, 110, .18);
  }

  body.about_home_active
  .navigation_home
  .navwrapper:focus-visible {
    outline: 4px solid rgba(137, 247, 255, .38);
    outline-offset: 5px;
  }

  .btn_home_map {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: white;
  }

  .btn_home_map svg,
  .btn_home_map img {
    filter: drop-shadow(0 2px 3px rgba(0, 96, 118, .28));
    transition: transform .25s ease, filter .25s ease;
  }

  .navwrapper:hover .btn_home_map svg,
  .navwrapper:hover .btn_home_map img {
    transform: translateY(-1px) scale(1.06);
  }

  .btn_home_map:hover span {
    background: var(--white);
  }

  .btn_home_map:hover p {
    color: white;
  }

  @media (prefers-reduced-motion: reduce) {
    body.about_home_active
    .navigation_home
    .navwrapper,
    body.about_home_active
    .navigation_home
    .navwrapper::after {
      animation: none;
    }

    body.about_home_active
    .navigation_home
    .navwrapper {
      transition-duration: .01ms;
    }
  }
}

#complaintTab, #introTab{
  border: 0;
  display: flex;
  gap: var(--gap-s, 8px);
}

#complaintTab .nav-item, #introTab .nav-item{
  flex: 1;
}

/*---------------------------------------
   Button   
-----------------------------------------*/
.button{
  pointer-events: all;
}

.button, .icon, .tab_btn{
  width: fit-content;
  min-width: 40px;
  height: 40px;
  padding: 5px;
  /* background: rgba(225,225,225,.25); */
  border-radius: var(--border_xl);

  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.button.fill{
  background: var(--white);
}
.button.fill_dark{
  background: var(--dark);
  color: var(--white);
}
.button.fill:hover, .button.fill_dark:hover{
  background: var(--active);
}
.btn_filter{
  border: 2px solid var(--white);
}
.btn_filter:hover{
  border: 2px solid rgba(255,255,255,.5);
}

.icon{
  position: absolute;
  bottom: var(--p_s);
  right: var(--p_s);
  aspect-ratio: 1/1;
  background: var(--white);
}
.tab_btn{
  flex-grow: 1;
  font-weight: 500;
  background: var(--light2);
}
.tab_btn:hover, .tab_btn.active{
  color: var(--white);
  background: var(--active);
}

.button::before, .icon::before, .btn_fullscreen::before{
  --iconS: 100%;
  content: "";
  width: var(--iconS);
  height: var(--iconS);
  max-width: 25px;
  aspect-ratio: 1/1;

  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  background: var(--darkgrey);
}
.button.fill:hover::before, .button.fill_dark::before{
  background: var(--white);
}

.button.btn_back, .button.btn_modal_prev, .button.btn_modal_next, .button.btn_modal_close{
  background: rgba(255,255,255,.15);
}
.button.btn_modal_prev:hover, .button.btn_modal_next:hover{
  background: rgba(255,255,255,.2);
  transform: translateY(-50%) scale(.95);
}
.button.btn_back:hover, .button.btn_modal_close:hover{
  background: rgba(255,255,255,.2);
  transform: scale(.95);
}

.button.btn_back::before,  .btn_modal_prev::before, .btn_modal_next::before{
  background: var(--white);
  max-width: 20px;
  mask-image: url(../img/icon/btn_back.png);
  -webkit-mask-image: url(../img/icon/btn_back.png);
}
.btn_modal_next::before{
  transform: rotate(180deg);
}
  
.button.btn_search::before{
  mask-image: url(../img/icon/btn_search.png);
  -webkit-mask-image: url(../img/icon/btn_search.png);
}
.button.btn_filter::before{
  mask-image: url(../img/icon/btn_filter.png);
  -webkit-mask-image: url(../img/icon/btn_filter.png);
}
.button.btn_more::before{
  mask-image: url(../img/icon/btn_more.png);
  -webkit-mask-image: url(../img/icon/btn_more.png);
}
.button.btn_fb::before{
  mask-image: url(../img/icon/btn_filter.png);
  -webkit-mask-image: url(../img/icon/icon_fb.png);
}
.button.btn_ig::before{
  mask-image: url(../img/icon/btn_more.png);
  -webkit-mask-image: url(../img/icon/icon_ig.png);
  /* background: var(--white); */
}

.item_body .btn_more{
  position: absolute;
  right: 0;
  bottom: 0;
}

.btn_txt{
  /* font-size: calc(var(--txt_body) - 2px); */
  padding: 5px var(--p_md);
  color: var(--darkgrey);
  min-width: 90px;
}
.button.btn_txt::before {
  content: none;
}
.btn_txt:hover{
  padding: 5px var(--p_md);
  color: var(--white);
}
.panel_content .btn_txt{
  background: var(--dark);
  color: var(--white);
}

.icon.crab{
  background: var(--pink);
}
.icon.ferry{
  background: var(--cyan);
}
.icon.crab::before{
  mask-image: url(../img/icon/icon_crab.png);
  -webkit-mask-image: url(../img/icon/icon_crab.png);
  background: var(--white);
}
.icon.ferry::before{
  --iconS: 40px;
  max-width: unset;
  mask-image: url(../img/icon/nav_ferry.png);
  -webkit-mask-image: url(../img/icon/nav_ferry.png);
  background: var(--white);
}

/*---------------------------------------
   Login   
-----------------------------------------*/
.auth_login_group{
  display:flex;
  gap: var(--p_s);
}

.auth_login_btn{
  width: fit-content;
  height: 42px;
  display:flex;
  align-items:center;
  gap: var(--p_s);
  padding: var(--p_s) var(--p_md);
  border-radius: var(--border_s);
  border:none;
  font-size:1.15rem;
  font-weight:700;

  cursor:pointer;

  transition:all .2s ease;
}

.auth_login_btn img{
  width: fit-content;
  height: fit-content;
  flex-shrink:0;
  object-fit:contain;
}

.auth_login_btn.facebook{
  background:#1877F2;
  color:#fff;
  box-shadow:
    0 2px 8px rgba(0,0,0,.08),
    0 1px 2px rgba(0,0,0,.06);
}

.auth_login_btn.google{
  background:#fff;
  color:#666;
  border:1px solid #E5E5E5;
  box-shadow:
    0 2px 8px rgba(0,0,0,.08),
    0 1px 2px rgba(0,0,0,.06);
}

.auth_login_btn:hover{
  transform:translateY(-1px);
}

.auth_login_btn:active{
  transform:translateY(0);
}

.auth_login_btn span{
  line-height:1;
}

.login_popup_overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login_popup {
  width: 100%;
  max-width: 360px;
  background: var(--bg, #fff);
  background: var(--light);
  border-radius: 18px;
  padding: 20px;
  position: relative;
}

.login_popup_close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 30px;
  height: 30px;
  transition: transform .35s;
  background: var(--darkgrey);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url(../img/icon/btn_close.png);
  -webkit-mask-image: url(../img/icon/btn_close.png);
}
.login_popup_close:hover {
  transform: rotate(180deg);
  background: var(--black);
}


.login_methods .divider {
  height: 1px;
  background: rgba(0, 0, 0, .1);
  margin: var(--p_s) 0;
}

.login_methods input {
  width: 100%;
}

.auth_login_btn.w100 {
  width: 100%;
  justify-content: center;
}

/*---------------------------------------
   Sidepanel   
-----------------------------------------*/
.panel_view{
  display: none;
  width: 100%;
  height: 100%;
}

.panel_view.active{
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sidepanel_wrapper {
  z-index: 90;
  position: relative;
  height: 100vh;
  height: var(--app-height);
  min-height: var(--app-height);
  pointer-events: none;
}

.sidepanel{
  visibility: visible;
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 500px;
  height: 100%;
  max-height: var(--app-height);
  right: 0 !important;
  top: calc(-1 * var(--app-height));
  transform-origin: top;
  background: var(--pink);
  overflow: hidden;
  transition: top var(--sidepanelSpeed) ease-in;
  z-index: 50;
  opacity: 100%;
  pointer-events: all !important;
}

/*---------------------------------------
   Sidepanel Theme
-----------------------------------------*/
.sidepanel.theme_about{
  background: var(--pink);
}

.sidepanel.theme_transport{
  background: var(--pink);
}

.sidepanel.theme_stay{
  background: var(--green);
}     

.sidepanel.theme_food{
  background: var(--orange);
}

.sidepanel.theme_attractions{
  background: var(--cyan);
}

.sidepanel.theme_complaint{
  background: var(--yellow);
}

.sidepanel.active{
  top: 0 !important;
}

/* .sidepanel::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
  opacity: 35%;
  background: url(../img/texture/papertexture.png) center no-repeat;
  background-size: cover;
  z-index: 10;
  pointer-events: none;
} */

.title{
  font-family: var(--font4);
  font-weight: 600;
}

.sidepanel_topbar{
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--p_s);
  padding: var(--p_md);
}
.sidepanel_topbar .title{
  --txtS: 22px;
  font-family: var(--font4);
}

@media screen and (max-width: 768px) {
  .sidepanel{
    max-width: 100vw;
  }
  .sidepanel_topbar .title{
    --txtS: 18px;
  }
}

.searchbar{
  position: relative;
  flex-grow: 1;
}
.searchbar input{
  width: 100%;
  height: 40px;
  margin: auto;
  padding-right: 38px;
  /* box-shadow: 0 6px 12px rgba(35, 38, 38, 0.05); */
}
.searchbar .btn_search{
  position: absolute;
  width: 25px;
  height: 25px;
  right: var(--p_md);
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  aspect-ratio: 1/1;
  background: var(--darkgrey);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url(../img/icon/btn_search.png);
  -webkit-mask-image: url(../img/icon/btn_search.png);
}
.searchbar .btn_search:hover{
  background: var(--active);
}

/*---------------------------------------
   Location List   
-----------------------------------------*/
.sidepanel_topbar:not(:has(.topbanner))::after{
  content: "";
  position: absolute;
  width: 350px;
  max-height: 358px;
  aspect-ratio: 512/358;
  right: -20%;
  top: -25px;
  z-index: -1;
  background: linear-gradient(to top, var(--white), rgba(255,255,255,.5));
  opacity: .15;
  mix-blend-mode: screen;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url(../img/icon/icon_crab.png);
  -webkit-mask-image: url(../img/icon/icon_crab.png);
  pointer-events: none;
}

.panel_content{
  height: 100%;
  background: var(--light);
  overflow: hidden;
  z-index: 5;
  flex-grow: 1;
}
.panel_view:has(.sidepanel_topbar) .panel_content{
  border-top-left-radius: var(--border_lg);
  border-top-right-radius: var(--border_lg);
}
.category .panel_content{
  --topbar: 175px;
  max-height: calc(100% - var(--topbar));
}

.content_wrapper, .itemlist_wrapper{
  height: 100%;
  padding-top: var(--p_s);
  padding-bottom: var(--p_lg);
  position: relative;
}
.itemlist_wrapper, .contentlist_wrapper{
  padding: var(--p_lg) var(--p_md);
}
.itemcontainer {
  position: relative;
  width: 100%;
  min-height: fit-content;
  height: fit-content;
  display: flex;
  align-items: flex-start;
  justify-items: flex-start;
  gap: var(--p_md);
  padding-bottom: var(--p_md);
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
}
.itemlist_wrapper .itemcontainer:not(:last-child){
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.contentcontainer {
  position: relative;
  width: 100%;
  min-height: fit-content;
  height: fit-content;
  gap: var(--p_s);
  padding: var(--p_s) var(--p_md);
  overflow: hidden;
  z-index: 1;
}
.contentcontainer .itemcontainer{
  height: 100%;
  background: var(--light2);
  border-radius: var(--border_s);
  padding: var(--p_s);
  transition: background .3s , color .3s;
}
.contentcontainer:not(.light) .itemcontainer:hover{
  background: rgba(223, 215, 194, .5);
}


.item_imgwrapper{
  position: relative;
  width: 100%;
  max-width: min(30%, 120px);
  min-width: 96px;
  max-height: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--border_s);
  overflow: hidden;
}

.item_imgwrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .3s;
}
.itemcontainer:hover .item_imgwrapper img{
  transform: scale(1.15);
}

.item_body{
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--p_s);
}
.item_body .button{
  align-self: flex-end;
}

.banneritem{
  width: 350px;
  max-height: 100%;
  min-width: 80%;
  max-width: 80%;
  aspect-ratio: 7/3;
  border-radius: var(--border_s);
  overflow: hidden;
  cursor: pointer;
}
.galleryitem{
  width: 150px;
  max-height: 100%;
  min-width: 30%;
  aspect-ratio: 1/1;
  border-radius: var(--border_s);
  overflow: hidden;
  cursor: pointer;
}
.banneritem img, .galleryitem img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .3s;
}
.galleryitem:hover img{
  transform: scale(1.1);
}

.content_wrapper .divider{
  max-width: calc(100% - (var(--p_md) * 2));
}

.item_type,.item_area, .item_area, .item_rate, .item_time, .info_address, .info_contact, .info_mail, .info_site{
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--p_s);
}
.info_address, .info_mail, .info_site{
  display: flex;
  align-items: flex-start;
  gap: var(--p_s);
}

.info_contact {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  align-items: stretch;
  gap: var(--p_s, 8px);
  width: 100%;
  min-width: 0;
  padding-left: 28px;
}

.info_contact::before {
  position: absolute;
  left: 0;
}
#transportPhone.info_contact::before {
  top: 6px;
}


.info_contact .contact_link {
  width: 100%;
  min-width: 0;
  max-width: 180px;
  color: var(--black);
  white-space: nowrap;
  background: var(--light2);
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: 5px;
}

@media (hover: hover) and (pointer: fine) {
  .info_contact .contact_link:hover {
    color: var(--white);
    background: var(--active);
  }
}

.info_contact .contact_link,
.info_mail .contact_link,
.info_site .contact_link {
  display: flex;
  font-size: var(--txt_s);
  line-height: calc(var(--txt_s) + 4px);
  text-wrap: nowrap;
}

.item_type, .item_area{
  font-size: var(--txt_xs);
  font-weight: 400;
  color: var(--darkgrey);
  line-height: var(--txt_xs);
  gap: 5px;
}
.item_rate{
  font-size: var(--txt_s);
  line-height: var(--txt_s);
  font-weight: 500;
  color: var(--black);
  gap: 5px;
}
.item_time{
  font-size: var(--txt_xs);
  line-height: var(--txt_xs);
  font-weight: 400;
  color: var(--darkgrey);
  gap: 5px;
}

.item_rate span{
  color: var(--darkgrey);
  font-size: var(--txt_s);
  line-height: var(--txt_s);
}

.item_type::before, .item_area::before, .item_rate::before, .item_time::before, 
.info_address::before, .info_contact::before, .info_mail::before, .info_site::before{
  aspect-ratio: 1/1;
  content: "";
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.item_type::before, .item_area::before{
  width: var(--txt_xs);
  height: var(--txt_xs);
  background: var(--darkgrey);
}
.info_address::before, .info_contact::before, .info_mail::before, .info_site::before{
  width: 18px;
  height: 18px;
  background: var(--darkgrey);
}
.item_type::before, .item_area::before,  .info_address::before{
  mask-image: url(../img/icon/icon_location.png);
  -webkit-mask-image: url(../img/icon/icon_location.png);
}
.itemcontainer .item_type::before{
  mask-image: url(../img/icon/icon_type.png);
  -webkit-mask-image: url(../img/icon/icon_type.png);
}
.food_recommend_item .item_type::before{
  width: 18px;
  height: 18px;
  mask-image: url(../img/icon/nav_dining.png);
  -webkit-mask-image: url(../img/icon/nav_dining.png);
}
.boat .item_type::before{
  mask-image: url(../img/icon/icon_boat.png);
  -webkit-mask-image: url(../img/icon/icon_boat.png);
}
.info_contact::before{
  mask-image: url(../img/icon/icon_contact.png);
  -webkit-mask-image: url(../img/icon/icon_contact.png);
}
.info_mail::before{
  mask-image: url(../img/icon/icon_mail.png);
  -webkit-mask-image: url(../img/icon/icon_mail.png);
}
.info_site::before{
  mask-image: url(../img/icon/icon_site.png);
  -webkit-mask-image: url(../img/icon/icon_site.png);
}
.item_rate::before{
  width: 20px;
  height: 20px;
  mask-image: url(../img/icon/icon_star.png);
  -webkit-mask-image: url(../img/icon/icon_star.png);
  background: var(--yellow);
}
.item_time::before{
  width: 15px;
  height: 15px;
  mask-image: url(../img/icon/icon_time.png);
  -webkit-mask-image: url(../img/icon/icon_time.png);
  background: var(--darkgrey);
}

.item_body .title{
  color: var(--black);
  font-size: calc(var(--txt_body) + 5px);
  line-height: calc(var(--txt_body) + 5px);
  margin-top: 5px;
}
@media screen and (max-width: 1200px) {
  .itemlist_wrapper, .info_wrapper, .content_wrapper{
    padding-bottom: 120px !important;
  }
} 
@media screen and (max-width: 768px) {
  .itemlist_wrapper, .info_wrapper, .content_wrapper{
    padding-bottom: 90px !important;
  }
  .item_body .title{
    --txt_body: 10px;
  }
} 
@media screen and (max-width: 350px) {
  .item_type, .item_area{
    font-size: 10px;
  }
} 

/*---------------------------------------
   Scroll
-----------------------------------------*/
.scrollcontent_wrapper{
  position: relative;
  width: 100%;
  max-width: 100%;
}
.scrollwrapper {
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overflow-x: scroll;
  overflow-y: hidden;
  width: 100%;
  max-width: 100%;
  height: fit-content;
  padding: 0 var(--p_md);
  padding-bottom: var(--p_s);
  display: flex;
  justify-content: flex-start;
  column-gap: var(--p_s);
}
.scrollwrapper .itemcontainer{
  flex-direction: column;
  min-width: 55%;
  width: 250px;
  gap: var(--p_s);
}
.scrollwrapper .item_imgwrapper{
  max-width: 100%;
  height: 100%;
  aspect-ratio: 3/1.5;
}

.horizontalSwiper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  
  padding: 0 var(--p_md);
  padding-bottom: var(--p_s);
}

.horizontalSwiper .scrollwrapper,
.horizontalSwiper .swiper-wrapper {
  width: 100%;
  max-width: 100%;
  height: fit-content;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;

  overflow: visible;
  scroll-behavior: auto;
  scroll-snap-type: none;
  column-gap: 0;
  
  padding: 0;
}

/* .horizontalSwiper .itemcontainer {
  height: auto;
}  */

.horizontalSwiper .item_imgwrapper {
  max-width: 100%;
  min-width: unset;
  width: 100%;
  height: unset !important;
  aspect-ratio: 3 / 1.5;
}

/*---------------------------------------
   Loop Swiper
-----------------------------------------*/
.loopSwiper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 0 var(--p_md);
  padding-bottom: var(--p_s);
}

.loopSwiper .scrollwrapper.swiper-wrapper {
  width: max-content;
  max-width: none;
  overflow: visible;
  padding: 0;
  column-gap: 0;
  scroll-behavior: auto;
  scroll-snap-type: none;
  transition-timing-function: linear !important;
  align-items: stretch;
}

.loopSwiper .swiper-slide {
  width: 250px;
  min-width: 250px;
  flex-shrink: 0;
  height: auto;
}

.loopSwiper .itemcontainer {
  height: 100%;
}

.loopSwiper .item_imgwrapper {
  max-width: 100%;
  min-width: unset;
  width: 100%;
  aspect-ratio: 3 / 1.5;
}

@media screen and (max-width: 575px) {
  .loopSwiper .swiper-slide {
    width: 72vw;
    min-width: 72vw;
    max-width: 280px;
  }
}

/*---------------------------------------
   Banner Swiper
-----------------------------------------*/
.bannerSwiper {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 7 / 3;
  border-radius: var(--border_s);
  overflow: hidden;
}

.bannerSwiper .swiper-wrapper,
.bannerSwiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.bannerSwiper .banneritem {
  display: block;
  width: 100%;
  height: 100%;
  min-width: unset;
  max-width: unset;
  aspect-ratio: unset;
  border-radius: 0;
}

.bannerSwiper .banneritem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bannerSwiperPrev,
.bannerSwiperNext {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none !important;
  min-width: fit-content;
}

.bannerSwiperPrev {
  left: var(--p_s);
}

.bannerSwiperNext {
  right: var(--p_s);
}

.bannerSwiper .swiper-pagination {
  bottom: var(--p_s);
}

.bannerSwiper .swiper-pagination-bullet {
  background: var(--white);
  opacity: .5;
}

.bannerSwiper .swiper-pagination-bullet-active {
  opacity: 1;
}

/*---------------------------------------
   Location Info   
-----------------------------------------*/
.sidepanel_topbar.info{
  height: 230px;
}
.info .panel_content{
  --topbar: 230px;
  max-height: calc(100% - var(--topbar));
}
.location_tag, .search_tag{
  font-size: var(--txt_xs);
  font-weight: 500;
  color: var(--white);
  padding: 0 var(--p_s); 
  background: var(--active);
  border-radius: var(--border_s);
}

.search_tag:hover{
  background: var(--dark);
}

.info_wrapper{
  height: 100%;
  padding: var(--p_lg) var(--p_md);
  position: relative;
}
.info_wrapper:has(.info_header), .info_wrapper:has(.panel_header), .itemlist_wrapper:has(.info_header){
  padding-top: 0;
}

.info_header{
  width: 100%;
  position: sticky;
  top: 0;
  padding-top: var(--p_lg);
  padding-bottom: var(--p_s);
  background: var(--light);
  z-index: 10;
}

.panel_header{
  width: 100%;
  padding-top: var(--p_lg);
  padding-bottom: var(--p_s);
}

.topbanner{
  position: absolute;
  width: 100%;
  max-width: 100%;
  height: 285px;
  max-height: 285px;
  left: 0;
  top: 0;
}

.topbanner img, .carousel-item img {
  width: 100%;
  max-width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center;
}

.rate_wrapper{
  width: 100%;
  padding: var(--p_s) var(--p_md);
  margin-bottom: var(--p_s);
  background: var(--light2);
  border-radius: var(--border_s);
}
.star_wrapper{
  position: relative;
}
.star_wrapper span{
  width: 30px;
  height: 30px;
  max-width: calc(100% / 5);
  aspect-ratio: 1/1;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url(../img/icon/icon_star.png);
  -webkit-mask-image: url(../img/icon/icon_star.png);
  background: rgba(0, 0, 0, 0.15);
}
.star_wrapper span:hover{
  background: var(--yellow);
  transform: scale(1.1);
}


/*---------------------------------------
   Carousel
-----------------------------------------*/
#carouselPhoto{
  width: 100%;
  height: 100%;
}

#carouselBanner, .awardsBanner{
  width: 100%;
  max-height: 100%;
  max-width: 100%;
  aspect-ratio: 7/3;
  border-radius: var(--border_s);
  overflow: hidden;
  cursor: pointer;
}

#carouselIntro{
  border-radius: var(--border_s);
  overflow: hidden;
}

.carousel-inner, .carousel-item{
  width: 100%;
  height: 100%;
}

#carouselBanner .carousel-item img, 
#carouselIntro .carousel-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-control-next, .carousel-control-prev {
  width: 30px;
  padding: 5px;
}

.carousel-indicators{
  bottom: 0;
  margin-bottom: var(--p_s);
}

/*---------------------------------------
   Gallery Modal
-----------------------------------------*/
.modal_photo{
  cursor: pointer;
  pointer-events: all !important;
}

.gallery_modal{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--p_lg) 0;
  gap: var(--p_s);
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(6px);
}

.gallery_modal.active{
  display: flex;
}

.gallery_modal_inner{
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  max-width: 100vw;
  max-height: 100vh;
  max-height: 100svh;
  overflow: hidden;
}

.button.btn_modal_prev, .button.btn_modal_next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
}
.button.btn_modal_prev{
  left: var(--p_s);
}
.button.btn_modal_next {
  right: var(--p_s);
}

.galleryModalSwiper {
  width: 100%;
  height: 100%;
}

.galleryModalSwiper .swiper-wrapper,
.galleryModalSwiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.galleryModalSwiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.galleryModalSwiper .swiper-zoom-container {
  width: 100%;
  height: 100%;
}

.galleryModalSwiper .swiper-zoom-container img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100vw;
  max-height: 90vh;
  max-height: 90svh;
  object-fit: contain;
}

#galleryModal.single .btn_modal_prev,
#galleryModal.single .btn_modal_next {
  display: none;
}

.btn_modal_close{
  position: fixed;
  top: var(--p_lg);
  right: var(--p_lg);
  z-index: 2;
}

.btn_modal_close::before{
  max-width: 18px;
  background: var(--white);
  mask-image: url(../img/icon/btn_close.png);
  -webkit-mask-image: url(../img/icon/btn_close.png);
}

/*---------------------------------------
   Boat Schedule    
-----------------------------------------*/
.ticketprice, .timetable{
  background: var(--white);
  width: fit-content;
  min-height: fit-content;
  overflow: hidden;
  flex: 1 1 0;
}
.ticketprice{
  min-width: 150px;
  max-width: 300px;
}
thead{
  text-transform: uppercase;
  color: var(--white);
  background: var(--cyan);
}
.tickettlt, tbody tr:nth-child(odd){
  background: var(--lightgrey);
}

tbody tr{
  text-align: center;

}
thead th{
  font-size: var(--txt_xs);
  line-height: var(--txt_xs);
  text-align: center;
}
td{
  padding: 5px;
}

/*---------------------------------------
   Intro     
-----------------------------------------*/
.intro_textbox {
  position: relative;
  padding: var(--p_md) 0;
}

.intro_text {
  display: none;
  animation: introTextFade .25s ease;
}

.intro_text.active {
  display: block;
}

@keyframes introTextFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*---------------------------------------
   Credits     
-----------------------------------------*/
.credits_logowrapper {
  width: 110%;
  padding: var(--p_md);
  background-color: white;
  flex-wrap: wrap;
}

.credits_logo {
  padding: 10px;
  width: 100%;
  max-width: 160px;
  max-height: 160px;
}
.credits_title {
  display: flex;
  align-items: center;
  color: white;
  width: 100%;
  border-radius: var(--border_lg);
  padding: 0 var(--p_md);
  background: var(--dark);
  font-size: var(--txt_xs);
}
.credits_namelist {
  gap: .3rem 1rem;
  padding: 0 15px;
  padding-bottom: 20px;
}

.map_marker {
  cursor: pointer;
  pointer-events: auto;
  z-index: 999;
}

.leaflet-marker-icon {
  pointer-events: auto;
}


/*---------------------------------------
   Terms & Conditions     
-----------------------------------------*/
.tnc{
  font-size: var(--txt_xs);
  color: var(--darkgrey);
}
.txt_link{
  text-decoration: underline;
  font-style: italic;
}
.tnc_link:hover, .txt_link:hover{
  color: var(--cyan);
}


/*---------------------------------------
   Popup    
-----------------------------------------*/
.popupmodal {
  z-index: 99998;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  position: absolute;
  width: 100vw;
  height: 100vh;
  top: 0;
  display:none;
}
.popupmodal.active{
  display: flex;
}

.popupwrapper{
  position: absolute;
  width: 500px;
  max-width: 80vw;
  min-height: fit-content;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--darkgreen);
  background-image: linear-gradient(to top, #fcecd7, #fdf8f2 70%);
  background-size: cover;
  overflow: hidden;
  gap: 0;
}
.popupwrapper::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
  opacity: 35%;
  background: url(../img/texture/papertexture.png) center no-repeat;
  pointer-events: none;
}

.popuptopbar{
  z-index: 5;
  position: absolute;
  top: 0;
}

.popupcontainer{
  position: relative;
  width: 100%;
  height: 100%;
}
.popupcontainer::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  mix-blend-mode: multiply;
  background-image: linear-gradient(to top, var(--darkgreen), rgba(0,0,0,0) 25%, rgba(0,0,0,0));
  pointer-events: none;
}
.popupcontainer h1{
  position:absolute; 
  z-index: 5;
  bottom: 0; 
  left: 0;
  padding: 20px; 
  color: white;
}

/*---------------------------------------
   Review
-----------------------------------------*/
.review_modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--p_lg);
  background: rgba(0, 0, 0, 0.65);
}

.review_modal.active {
  display: flex;
}

.review_modal_inner {
  position: relative;
  width: 420px;
  max-width: 90vw;
  max-height: 85vh;
  overflow-y: auto;
  padding: var(--p_lg);
  border-radius: 18px;
  background: var(--light);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}

.review_modal_inner .btn_modal_close {
  position: absolute;
  top: var(--p_s);
  right: var(--p_s);
  background: var(--dark);
}

.review_stars {
  display: flex;
  width: 100%;
  gap: 6px;
  padding: var(--p_s) var(--p_md);
  /* background: var(--light2); */
  border-radius: var(--border_s);
  justify-content: center;
}
.review_stars button {
  border: none;
  background: transparent;
  color: #ccc;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.review_stars button.active {
  color: #f7b500;
}

.review_form textarea {
  width: 100%;
  resize: vertical;
}

#reviewStatus.success {
  color: #18a058;
}

#reviewStatus.error {
  color: #d93025;
}

.location_reviews {
  padding-top: var(--p_s);
}

.location_review_item {
  padding: var(--p_s);
  border-radius: var(--border_s);
  background: var(--white);
}

.location_review_stars {
  color: #f7b500;
  font-size: var(--txt_s);
  letter-spacing: 1px;
}

.location_review_item p {
  margin: 0;
}

.location_review_item span.txt_xs{
  opacity: .75;
}

.review_image_preview {
  display: flex;
  gap: var(--p_s);
  flex-wrap: wrap;
}

.review_image_thumb {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: var(--border_s);
  overflow: hidden;
  background: var(--light2);
}

.review_image_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review_images {
  display: flex;
  gap: var(--p_s);
  overflow-x: auto;
  padding: 15px 0 0;
}

.review_images .galleryitem {
  flex-shrink:0;
  min-width: unset;
  width:60px;
  height:60px;
  border-radius: var(--border_s);
  overflow:hidden;
}

.review_images img {
  width:100%;
  height:100%;
  object-fit:cover;
}

/* latest */
/* .review_image_preview {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 10px;
}

.review_image_thumb {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: #eeeeee;
}

.review_image_thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
} */

.review_image_remove {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.72);

  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
}

.review_image_remove:hover {
  background: rgba(0, 0, 0, 0.9);
}

@media screen and (max-width: 480px) {
  .review_image_remove {
    width: 24px;
    height: 24px;
    font-size: 18px;
  }
}

.login_popup .iti {
  width: 100%;
}

.login_popup .iti input {
  width: 100%;
}

.iti__country-list {
  z-index: 99999 !important;
}

.iti__dropdown-content,
.iti--container {
  z-index: 999999 !important;
}

.iti__dropdown-content {
  width: 300px;
  max-width: 78vw;
}

.iti__selected-country-primary {
  border-top-left-radius: var(--border_lg);
  border-bottom-left-radius: var(--border_lg);
}

.iti--inline-dropdown .iti__dropdown-content {
  border: none;
  border-radius: var(--border_s);
  overflow: hidden;
}

.iti--inline-dropdown .iti__country-list {
  max-height: 150px;
}

/*---------------------------------------
   FoodRecommend
-----------------------------------------*/
.food_recommend_item .item_body{
  max-height: fit-content;
}
.food_store_wrapper {
  width: 100%;
  padding-top: 3px;
}

.food_store_link {
  padding: var(--p_s) var(--p_md);
  border-radius: var(--border_s);
  cursor: pointer;
  font-weight: 500;
  background: var(--light2);
}

.food_store_link:hover, .food_store_link:active {
  color: white;
  background: var(--active);
}

.foodStoreSwiper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding-right: var(--p_md);
}
.foodStoreSwiper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 42px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    to left,
    var(--light) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.foodStoreSwiper .food_store_slider {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
}

.foodStoreSwiper .food_store_link {
  width: auto;
  min-width: fit-content;
  flex-shrink: 0;
}

.foodStoreSwiper .swiper-slide {
  width: auto;
}

/*---------------------------------------
   Transport
-----------------------------------------*/
#transportRentalDetails{
  margin-bottom: 15px;
}
#transportRentalDetails .w100 {
  position: relative;
  padding-left: 12px;
}
#transportRentalDetails .w100::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
}

/*---------------------------------------
   Service Tab
-----------------------------------------*/
.serviceTab_wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  padding: 10px 5px 15px;
  gap: 15px 5px;
  border-radius: var(--border_s);
}

.tab_icon{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--border_s);
  font-size: calc(var(--txt_xs) - 1px);
  line-height:  var(--txt_xs);
  text-wrap: nowrap;
  transition: transform .35s;
}

.tab_icon img{
  width: clamp(50px, 25%, 80px);
  aspect-ratio: 1/1;
  object-fit: contain;
  object-position: center;
}

.tab_icon:hover img{
  transform: scale(.9);
}

/*---------------------------------------
   Gallery Tab
-----------------------------------------*/
.gallery_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--p_s);
  width: 100%;
}

.gallery_grid .galleryitem {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--border_s);
  overflow: hidden;
}

.gallery_grid .galleryitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 350px) {
  .gallery_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--p_s);
    width: 100%;
  }
} 

/*---------------------------------------
   Award Tab
-----------------------------------------*/
.award_list .award_item {
  padding: var(--p_s);
  border-radius: var(--border_s);
  background: var(--light2);
  border-bottom: none !important;
  transition: background .3s, transform .3s;
}

.award_list .award_item:hover {
  background: var(--white);
}

.award_rank_no {
  position: absolute;
  left: 0;
  top: 0;
  flex-shrink: 0;
  min-width: fit-content;
  height: 34px;
  border-bottom-right-radius: var(--border_s);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  padding: 015px;
  color: var(--white);
  font-size: var(--txt_xs);
  font-weight: 700;
  z-index: 50;
}

.award_badge {
  width: fit-content;
  padding: 3px 10px;
  border-radius: var(--border_xl);
  font-size: calc(var(--txt_xs) - 1px);
  line-height: var(--txt_xs);
  font-weight: 700;
  color: var(--white);
}

.award_badge.gold {
  background: var(--yellow);
  color: var(--black);
}

.award_badge.cyan {
  background: var(--cyan);
}

.award_badge.pink {
  background: var(--pink);
}

.award_item .item_imgwrapper {
  min-width: 125px;
  max-width: 125px;
}

.award_item .item_body .title {
  margin-top: 0;
}

.item_meta{
  max-width: 85%;
  flex-wrap: wrap;
  row-gap: 5px;
  padding: 5px 0;
}


/*---------------------------------------
   Mobile Fixed
-----------------------------------------*/
@media (hover: hover) and (pointer: fine) {
  .ketam:hover,
  .makan:hover {
    -webkit-filter: drop-shadow(0 0 6px var(--white));
    filter: drop-shadow(0 0 6px var(--white));
  }

  .nav_link.ferry:hover {
    --btnColor: var(--pink);
  }

  .nav_link.lodging:hover {
    --btnColor: var(--green);
  }

  .nav_link.dining:hover {
    --btnColor: var(--orange);
  }

  .nav_link.attraction:hover {
    --btnColor: var(--cyan);
  }

  .nav_link.complaint:hover {
    --btnColor: var(--yellow);
  }

  .button.fill:hover::before {
    background: var(--white);
  }

  .itemcontainer:hover .item_imgwrapper img {
    transform: scale(1.15);
  }

  .galleryitem:hover img {
    transform: scale(1.1);
  }

  .tab_icon:hover img {
    transform: scale(.9);
  }

  .star_wrapper span:hover {
    background: var(--yellow);
    transform: scale(1.1);
  }

  .award_list .award_item:hover {
    background: var(--white);
  }
}

@media (hover: none), (pointer: coarse) {
  .button:active,
  .tab_btn:active,
  .nav_link:active,
  .btn_home_map:active,
  .itemcontainer:active,
  .galleryitem:active,
  .banneritem:active,
  .tab_icon:active {
    transform: scale(.97);
  }
  .button.btn_modal_prev:active, .button.btn_modal_next:active{
    transform: translateY(-50%) scale(.97);
  }

  .itemcontainer:active .item_imgwrapper img,
  .galleryitem:active img,
  .banneritem:active img {
    transform: scale(1.04);
  }

  .button,
  .tab_btn,
  .nav_link,
  .btn_home_map,
  .itemcontainer,
  .galleryitem,
  .banneritem,
  .tab_icon {
    transition: transform .12s ease, background .2s ease, color .2s ease;
    -webkit-tap-highlight-color: transparent;
  }
}

.grecaptcha-badge{
  opacity: 0;
  z-index: -99 !important;
}

/*---------------------------------------
  Location Info Loading State
-----------------------------------------*/

.panel_view[data-panel="info"] {
  position: relative;
}

.location_info_loading_state {
  position: absolute;
  inset: 0;
  z-index: 150;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 12px;
  padding: 24px;

  background: var(--light, #f5f1e8);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 160ms ease,
    visibility 160ms ease;
}

.panel_view[data-panel="info"].is_loading
.location_info_loading_state {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.location_info_spinner {
  display: block;

  width: 38px;
  height: 38px;

  border: 3px solid rgba(0, 0, 0, 0.12);
  border-top-color: currentColor;
  border-radius: 50%;

  animation: locationInfoSpin 0.75s linear infinite;
}

.location_info_loading_text {
  margin: 0;
  text-align: center;
}

.location_info_loading_state.is_error
.location_info_spinner {
  display: none;
}

.location_image_placeholder {
  width: 100%;
  min-height: 230px;

  background:
    linear-gradient(
      100deg,
      rgba(0, 0, 0, 0.06) 20%,
      rgba(255, 255, 255, 0.45) 40%,
      rgba(0, 0, 0, 0.06) 60%
    );

  background-size: 200% 100%;
  animation: locationInfoShimmer 1.2s linear infinite;
}

@keyframes locationInfoSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes locationInfoShimmer {
  to {
    background-position-x: -200%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .location_info_spinner,
  .location_image_placeholder {
    animation: none;
  }
}

/*---------------------------------------
  Mobile Panel Performance
-----------------------------------------*/

@media screen and (max-width: 768px) {
  body.map_suspended #map {
    visibility: hidden;
  }
}

@media screen and (max-width: 768px) {
  .marker-shadow {
    -webkit-filter: none;
    filter: none;
  }
}

html.is-loading body {
  overflow: hidden;
}

html.is-loading body > *:not(#loadingOverlay) {
  visibility: hidden;
}

html.is-loading #loadingOverlay {
  visibility: visible;
}

#loadingOverlay {
  position: fixed;
  inset: 0;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;

  z-index: 99999;

  display: flex;
  visibility: visible;
  opacity: 1;
}


/*---------------------------------------
   Map Controls
-----------------------------------------*/
.map_control_group {
  position: fixed;
  z-index: 50;
  right: 2vw;
  bottom: 2vw;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  pointer-events: none;
  flex-direction: column;
}

.map_control_group button,
.map_marker_filter_menu {
  pointer-events: auto;
}

.btn_fullscreen,
.btn_map_filter {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  padding: 0;
  border: 0;
  border-radius: var(--border_s);
  background: var(--white);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn_fullscreen::before,
.btn_map_filter::before {
  content: "";
  width: 25px;
  height: 25px;
  background: var(--darkgrey);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.btn_fullscreen::before {
  mask-image: url(../img/icon/btn_fullscreen.png);
  -webkit-mask-image: url(../img/icon/btn_fullscreen.png);
}

.btn_map_filter::before {
  mask-image: url(../img/icon/btn_filter.png);
  -webkit-mask-image: url(../img/icon/btn_filter.png);
}

.btn_fullscreen:hover,
.btn_map_filter:hover,
.btn_map_filter.active {
  background: var(--active);
}

.btn_fullscreen:hover::before,
.btn_map_filter:hover::before,
.btn_map_filter.active::before {
  background: var(--white);
}

.btn_fullscreen:active,
.btn_map_filter:active {
  transform: scale(0.94);
}

/*---------------------------------------
   Marker Filter
-----------------------------------------*/

.map_marker_filter {
  position: relative;
}

.map_marker_filter_menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  min-width: 155px;
  max-width: min(230px, calc(100vw - 30px));
  border-radius: var(--border_s);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  overflow: hidden;
}

.map_marker_filter.open .map_marker_filter_menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translateY(0);
}

.map_marker_filter_option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: 100%;
  min-height: 40px;
  padding: 6px 10px;
  padding-right: 15px;
  color: var(--darkgrey);
  background: transparent;
  font-size: var(--txt_xs);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

.map_marker_filter_option:hover,
.map_marker_filter_option.active {
  background: var(--light);
}

.map_marker_filter_option img,
.map_marker_filter_icon {
  display: block;
  flex: 0 0 auto;
  width: 25px;
  height: 30px;
  object-fit: contain;
  object-position: center;
}
.map_marker_filter_option img{
  transform: translateY(3px);
  transition: transform .3s;
}
.map_marker_filter_option:hover img,
.map_marker_filter_option.active img{
  transform: translateY(0);
}

/* .map_marker_filter_option img {
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.2));
} */

.map_marker_filter_all {
  position: relative;
  width: 22px;
  height: 22px;
  /* border: 2px solid currentColor; */
  border-radius: 50%;
}

.map_marker_filter_all::before,
.map_marker_filter_all::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.map_marker_filter_all::after {
  box-shadow:
    -6px 0 0 currentColor,
    6px 0 0 currentColor;
}

@media screen and (max-width: 768px) {
  .map_control_group {
    right: 15px;
    bottom: 75px;
  }

  .map_marker_filter_menu {
    max-height: min(55vh, 360px);
    overflow-y: auto;
  }
}

@media screen and (max-width: 400px) {
  .map_control_group {
    bottom: 95px;
  }
}

/*---------------------------------------
  Photo Upload Actions
-----------------------------------------*/

.photo_upload_actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--p_s);
}

.photo_upload_button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  height: 40px;
  padding: 6px 14px;
  border: 0;
  border-radius: var(--border_xl);
  color: var(--white);
  background: var(--dark);
  font-size: calc(var(--txt_body) - 2px);
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.photo_upload_button:hover {
  background: var(--active);
}

.photo_upload_button:active {
  transform: scale(0.97);
}

.photo_upload_icon {
  display: block;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  background: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.photo_upload_button.photo .photo_upload_icon {
  mask-image: url(../img/icon/icon_photo.png);
  -webkit-mask-image: url(../img/icon/icon_photo.png);
}

.photo_upload_button.camera .photo_upload_icon {
  mask-image: url(../img/icon/icon_camera.png);
  -webkit-mask-image: url(../img/icon/icon_camera.png);
}

@media screen and (max-width: 350px) {
  .photo_upload_button {
    padding-right: 8px;
    padding-left: 8px;
  }
}