.bchw-row-full {
  max-width: 100% !important;
  margin: 0 auto 16px auto !important;
}

.bchw-cell-full {
  position: relative !important;
  width: 100% !important;
  overflow: hidden !important;
  border-radius: 5px !important;
  height: 0 !important;
}

.bchw-cell-full img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.bchw-base,
.bchw-layer {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.bchw-base {
  z-index: 1 !important;
}

.bchw-layer {
  z-index: 2 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.5s ease !important;
}

.bchw-layer.is-active {
  opacity: 1 !important;
}

.bchw-hotspot {
  position: absolute !important;
  z-index: 5 !important;
  cursor: pointer !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -webkit-tap-highlight-color: transparent !important;
  box-shadow: none !important;
}

.bchw-hotspot:focus-visible {
  outline: 2px solid currentColor !important;
  outline-offset: 2px !important;
}

.bchw-popup {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.82) !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 25px !important;
  box-sizing: border-box !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.bchw-popup.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.bchw-popup-inner {
  position: relative !important;
  width: auto !important;
  max-width: 90vw !important;
  max-height: 90vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.bchw-popup-img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 90vw !important;
  max-height: 88vh !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45) !important;
}

.bchw-popup-close {
  position: absolute !important;
  top: -18px !important;
  right: -18px !important;
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #111 !important;
  font: 400 28px/42px Arial, sans-serif !important;
  text-align: center !important;
  cursor: pointer !important;
  z-index: 10 !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3) !important;
}

.bchw-popup-close:hover {
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .bchw-popup {
    padding: 15px !important;
  }

  .bchw-popup-inner {
    max-width: 94vw !important;
    max-height: 88vh !important;
  }

  .bchw-popup-img {
    max-width: 94vw !important;
    max-height: 85vh !important;
  }

  .bchw-popup-close {
    top: -15px !important;
    right: -7px !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 25px !important;
    line-height: 38px !important;
  }
}
