#pano {
  width: 100%;
  height: 100%;
}

.hotspot-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
  cursor: pointer;
}

.hotspot-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hotspot-icon-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
}

.hotspot-icon {
  width: 40px;
  /* 👈 Icon lớn hơn */
  height: 40px;
  background-image: url('icons/hotspot-icon.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.hotspot-line {
  position: absolute;
  top: 100%;
  /* Dưới icon */
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 200px;
  background: white;
}

.hotspot-label {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 24px;
  white-space: nowrap;
}

.bottom-menu {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(120, 136, 153, 0.6);
  border-radius: 30px;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.menu-item {
  background: transparent;
  border: none;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s;
}

.menu-item.active {
  background: #e40650;
  color: white;
}

.divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 8px;
}

.carousel-wrapper {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  z-index: 900;
}

.swiper-pagination {
  margin-top: 12px;
  text-align: center;
  position: relative;
}


.carousel-wrapper.hidden {
  display: none;
}

.swiper-slide {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.caption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #e40650;
  color: white;
  padding: 6px 12px;
  font-weight: bold;
  border-radius: 6px;
}

.swiper-pagination {
  text-align: center;
  margin-top: 10px;
}

.dim-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* 80% mờ */
  z-index: 800; /* thấp hơn carousel nhưng cao hơn nền */
}

.dim-overlay.hidden {
  display: none;
}

.bottom-menu.dimmed {
  opacity: 0.2; /* 👈 hoặc dùng display: none nếu muốn ẩn hoàn toàn */
  pointer-events: none;
}

.carousel-container {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  z-index: 1000;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.1); /* 👈 zoom ảnh khi hover */
}

.caption {
  position: absolute;
  bottom: 16px; /* 👈 cách đáy ảnh một khoảng */
  left: 50%;
  transform: translateX(-50%); /* 👈 căn giữa theo chiều ngang */
  background: #e40650;
  color: white;
  padding: 6px 12px;
  font-weight: bold;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Logo trái trên */
.logo-top-left {
  position: absolute;
  top: 20px;
  left: 20px;
  color: white;
}
.logo-top-left img {
  height: 50px;
}
.logo-top-left p {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.2;
}
.logo-top-left span {
  font-size: 20px;
  font-weight: bold;
  display: block;
}

/* Icon góc phải trên */
.icon-top-right {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 15px;
}
.icon-top-right img {
  width: 32px;
  height: 32px;
  cursor: pointer;
}

/* Khung hướng dẫn */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.guide-box {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  max-width: 400px;
}
.guide-box h2 {
  font-size: 20px;
  margin-bottom: 20px;
}
.guide-box .icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}
.guide-box .icons img {
  width: 60px;
}
.guide-box p {
  font-size: 14px;
  margin-bottom: 20px;
}
.guide-box button {
  padding: 10px 25px;
  background-color: #004b97;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}