/* ==================================================================
   aaa (landing) — Map pin เล็กลง 40% (32->19px) + hover ขึ้นรายละเอียด
   วิธีใช้: อัปไฟล์นี้เข้า assets/css/ แล้วเพิ่ม <link> ท้ายสุดก่อน </head>
     <link rel="stylesheet" href="assets/css/aaa-map-pin-override.css?v=1">
   (ต้องโหลด "หลัง" public-aaa-v2.css เพื่อให้ override ได้)
   ================================================================== */

/* pin เล็กลง 40%: 32px -> 19px (คงสีตามสถานะเดิม: เหลือง/แดง/ส้ม/เขียว) */
.resort-map-stage .resort-map-pin {
  width: 19px !important;
  height: 19px !important;
  font-size: 10px !important;
  border-width: 1.5px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,.28) !important;
  transition: transform .12s ease, box-shadow .12s ease !important;
}

/* hover/active: เด้งโตนิดหน่อย ให้รู้ว่ากำลังชี้จุดไหน */
.resort-map-stage .resort-map-pin:hover,
.resort-map-stage .resort-map-pin:focus-visible,
.resort-map-stage .resort-map-pin.active {
  transform: translate(-50%, -50%) scale(1.25) !important;
  box-shadow: 0 6px 14px rgba(0,0,0,.35) !important;
  z-index: 20 !important;
}

/* hover -> tooltip ชื่อห้อง (จาก aria-label) ลอยเหนือ pin */
.resort-map-stage .resort-map-pin::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  background: #0f172a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  padding: 4px 9px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .14s ease, transform .14s ease;
  z-index: 30;
}
.resort-map-stage .resort-map-pin:hover::after,
.resort-map-stage .resort-map-pin:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
