#bottom-left-modal {
  display: none;
  max-width: 400px;
}

/* Remove the dark backdrop */
.bottom-left-fancybox .fancybox__backdrop {
  display: none !important;
}

/* Allow interacting with the main page behind the modal */
.bottom-left-fancybox.fancybox__container {
  pointer-events: none;
  padding: calc(2.0rem * 0.5);
}

/* Hide the pseudo-elements Fancybox uses to centre slides */
.bottom-left-fancybox .fancybox__slide::before,
.bottom-left-fancybox .fancybox__slide::after {
  display: none !important;
}

/* Pin the modal directly to the bottom-left corner */
.bottom-left-fancybox .fancybox__content {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  margin: 0 !important;
  pointer-events: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-radius: 0;
  padding: 0;
}

/* Position and style the close button inside the top-right of the modal */
.bottom-left-fancybox .fancybox__content > .carousel__button.is-close {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 40px;
  height: 40px;
  background: #ffffff !important;
  color: #000000 !important;
  border-radius: 0;
  opacity: 1;
}

/* Ensure the SVG cross inside is crisp black without drop-shadow */
.bottom-left-fancybox .fancybox__content > .carousel__button.is-close svg {
  stroke: #000000 !important;
  stroke-width: 2;
  filter: none !important;
  width: 20px;
  height: 20px;
}

/* Optional: Subtle hover state */
.bottom-left-fancybox .fancybox__content > .carousel__button.is-close:hover {
  background: #0c1222 !important;
}

.bottom-left-fancybox .fancybox__content > .carousel__button.is-close:hover svg {
  stroke: #ffffff !important;
}
