/* Popup Overlay CSS */
.popup-overlay-af055c4e {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Adjust overlay when WordPress Admin Bar is visible */
body.admin-bar .popup-overlay-af055c4e {
  top: var(--wp-admin--admin-bar--height, 32px);
  height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
  body.admin-bar .popup-overlay-af055c4e {
    top: 46px;
    height: calc(100% - 46px);
  }
}

.popup-overlay-af055c4e.is-active-af055c4e {
  opacity: 1;
  pointer-events: auto;
}

/* Popup Box styling */
.popup-container-af055c4e {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  max-width: 900px;
  width: 95%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup-overlay-af055c4e.is-active-af055c4e .popup-container-af055c4e {
  transform: scale(1);
}

/* Close button styling */
button.popup-close-btn-af055c4e {
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  background-color: #bda588 !important;
  color: #ffffff !important;
  border: none !important;
  font-size: 20px !important;
  width: 34px !important;
  height: 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: background-color 0.2s ease, opacity 0.2s ease !important;
  z-index: 10 !important;
}

button.popup-close-btn-af055c4e:hover {
  background-color: #a89174 !important;
  color: #ffffff !important;
}

/* Popup Inner Content */
.popup-heading-af055c4e {
  margin-top: 0;
  color: #222222;
  font-family: inherit;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

/* Amenities Grid Layout */
.popup-content-af055c4e .first-level1.row.big-data {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 15px;
  margin: 0;
  padding: 0;
}

.popup-content-af055c4e .col-2 {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.popup-content-af055c4e .col-2:hover {
  background: #f1f3f5;
  border-color: #dee2e6;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.popup-content-af055c4e .col-2 img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 8px;
  display: block;
}

.popup-content-af055c4e .col-2 span {
  font-size: 11px;
  font-weight: 600;
  color: #495057;
  line-height: 1.2;
  display: block;
  word-wrap: break-word;
}
