/* Azay Popup — ใช้ร่วมกับ azay-popup.js */
.az-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 58, 92, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.az-popup-overlay.open { opacity: 1; pointer-events: auto; }

.az-popup-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.92);
  transition: transform 0.25s ease;
}
.az-popup-overlay.open .az-popup-card { transform: scale(1); }

.az-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.az-popup-close:hover { background: rgba(0, 0, 0, 0.7); }

.az-popup-link { display: block; }
.az-popup-link img { width: 100%; height: auto; display: block; }

@media (max-width: 480px) {
  .az-popup-card { max-width: 300px; }
}
