.montoport-map-hotspot {
  box-sizing: border-box;
  font-family: 'Ghotam';
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  width: 100vw !important;
}

.montoport-map-hotspot.montoport-map-hotspot--fade-init {
  opacity: 0;
  transition: opacity 0.85s ease;
}

.montoport-map-hotspot.montoport-map-hotspot--fade-init.montoport-map-hotspot--visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .montoport-map-hotspot.montoport-map-hotspot--fade-init {
    opacity: 1;
    transition: none;
  }
}

.montoport-map-hotspot *,
.montoport-map-hotspot *::before,
.montoport-map-hotspot *::after {
  box-sizing: border-box;
}

.montoport-map-hotspot__map {
  position: relative;
  width: 100%;
  background: #ccc;
  overflow: hidden;
}

.montoport-map-hotspot__stage {
  position: relative;
  width: 100%;
  line-height: 0;
}

.montoport-map-hotspot__img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

.montoport-map-hotspot__hotspot {
  position: absolute;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 2px;
  background: #fff;
  color: #1a1a1a;
  cursor: pointer;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  z-index: 3;
}

.montoport-map-hotspot__hotspot:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.montoport-map-hotspot__hotspot.is-active {
  background: #54585a;
  color: #fff;
  padding: 0;
}

.montoport-map-hotspot__hotspot img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.montoport-map-hotspot__icon-svg {
  width: 22px;
  height: 22px;
  display: block;
  pointer-events: none;
}

.montoport-map-hotspot__hotspot::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  pointer-events: none;
  z-index: 4;
}

.montoport-map-hotspot__hotspot:hover::after,
.montoport-map-hotspot__hotspot:focus-visible::after {
  opacity: 1;
  visibility: visible;
}

.montoport-map-hotspot__sidebar {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 340px);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-left: 1px solid #eee;
  box-shadow: -6px 0 32px rgba(0, 0, 0, 0.12);
  z-index: 5;
  overflow: hidden;
}

.montoport-map-hotspot__sidebar[hidden] {
  display: none !important;
}

.montoport-map-hotspot__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 2px;
  background: #4a4a4a;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.montoport-map-hotspot__close:hover {
  background: #333;
}

.montoport-map-hotspot__thumb {
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.montoport-map-hotspot__body {
  padding: 20px 20px 28px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.montoport-map-hotspot__label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0d8a8a;
}

.montoport-map-hotspot__title {
  margin: 0 0 14px;
  font-family: 'Ghotam';
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 400;
  line-height: 1.25;
  color: #1a1a1a;
}

.montoport-map-hotspot__desc {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  white-space: pre-line;
}

.montoport-map-hotspot__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.montoport-map-hotspot__list li {
  padding: 12px 0;
  font-size: 14px;
  color: #333;
  border-top: 1px solid #e5e5e5;
}

.montoport-map-hotspot__list li:first-child {
  border-top: none;
  padding-top: 0;
}

@media (max-width: 768px) {
  .montoport-map-hotspot__sidebar {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: min(70vh, 100%);
    border-left: none;
    border-top: 1px solid #eee;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
  }
}

@media (max-width: 767px) {
  aside.montoport-map-hotspot__sidebar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 100%;
    margin-top: 0;
    z-index: 10;
    overflow: hidden;
  }

  .montoport-map-hotspot.is-sidebar-open aside.montoport-map-hotspot__sidebar {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

