dialog {
  transition: all 0.3s ease-out allow-discrete;
  transform: translateY(-100%);
  visibility: hidden;
  opacity: 0;
  outline: none;
  border: none;
}

dialog[open] {
  transform: translateY(0);
  visibility: visible;
  opacity: 1;
}

dialog::backdrop {
  transition: all 0.3s ease-out allow-discrete;
  background: #00000066;
  backdrop-filter: blur(20px);
  opacity: 0;
}

dialog[open]::backdrop {
  opacity: 1;
}

dialog:focus {
  outline: none;
}

dialog:focus-visible {
  outline: none !important;
}
/* NAVBAR */
.nav_component.is-scrolled .nav_desktop_logo {
  filter: invert(100%);
}

/* .nav_component.is-scrolled .nav_desktop_logo {
  background-color: rgba(0, 0, 0, 0.5);
} */

/* .nav_component.is-scrolled .nav_button_layout {
  color: black;
} */

/* .nav_component.is-scrolled .nav_dropdown_link {
  color: var(--swatch--dark-900) !important;
} */

.nav_component.is-scrolled .nav_mobile_layout::before {
  background-color: rgba(0, 0, 0, 0.5);
}

.nav_component.is-scrolled .nav_mobile_menu_wrap {
  background-color: rgba(0, 0, 0, 0.5);
}

@media screen and (min-width: 1024px) {
  .nav_component.is-scrolled .nav_dropdown_main_scroll {
    background-color: rgba(0, 0, 0, 0.7);
  }
}

.nav_links_component:has(.w--open) {
  backdrop-filter: unset;
}

/* .is-list-filtering {
  opacity: 0.5;
  transition: all 0.5s ease;
} */
/* 
.gallery_item_wrap {
  opacity: 1;
}

.gallery_item_wrap.is-ready {
  transition: opacity 0.5s ease;
}

.gallery_item_wrap.is-list-filtering {
  opacity: 0;
} */

/* .gallery_item {
  opacity: 1;
  transform: translateY(0px); 

  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.gallery_item.is-list-starting {
  opacity: 0;
  transform: translateY(30px); 
} */

.image_comparison {
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

input[type="range"]::-webkit-slider-thumb {
  opacity: 0;
}

input[type="range"]::-moz-range-thumb {
  opacity: 0;
}

.image_comparison {
  position: relative;
  overflow: hidden;
  /* Mencegah browser melakukan scroll saat user geser slider */
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.comparison_label,
.comparison_range {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: transparent;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  cursor: ew-resize;
  z-index: 20;
  -webkit-tap-highlight-color: transparent;

  touch-action: none;
  cursor: pointer;
}

.comparison_slider,
.comparison_thumb {
  pointer-events: none;
  z-index: 10;
}

.comparison_figure,
.comparison_image {
  user-select: none;
  -webkit-user-drag: none;
}

.comparison_image-wrapper.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(50% + 1px);
  height: 100%;
  overflow: hidden;
}

.comparison_image-wrapper.image-overlay img {
}

.comparison_slider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transition: background-color 0.3s ease-in-out;
  background-color: white;
  z-index: 10;
}

.comparison_thumb {
  position: absolute;
  top: calc(50% - 20px);
  left: calc(50% - 20px);
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: white;
  color: #fff;
  border-radius: 100vw;
  box-shadow: 0 0 22px 0 rgba(0, 0, 0, 0.5);
  transform-origin: center;
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

/* GALLERY */
/* .gallery_item {
  opacity: 1;
  transform: translateY(0px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  will-change: opacity, transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.gallery_item.is-list-starting {
  opacity: 0;
  transform: translateY(30px);
} */
