/* Add overlay */
.pum.click_open.pum-active {
  background-color: rgb(0 0 0 / 50%);
}

/* Container Spacing */
.pum-container.popmake .external-page {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  /* Reduced gap to fit 3 in a row */
  padding: 20px 0;
}

.pum-container.popmake .pum-title.popmake-title {
  text-align: center;
}

#popmake-6202 .pum-close,
#popmake-6196 .pum-close {
  font-size: 0;
  padding: 0;
  position: absolute;
}

#popmake-6202 .pum-close:after,
#popmake-6196 .pum-close:after {
  content: '';
  position: absolute;
  right: 10px;
  top: 10px;
  background-image: url('../img/popup-close-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 25px;
  height: 25px;
}

#popmake-6202 {
  background-color: #ffffff !important;
}

/* The Individual Card */
.pum-container.popmake .tool-card {
  background-color: #fff;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 0px 2px rgba(0, 0, 0, 0.1);
  /* This creates the depth in the image */
  flex: 0 1 calc(33.333% - 20px);
  /* Forces 3 columns */
  min-width: 250px;
  display: flex;
  flex-direction: column;
  text-align: left;
  min-height: 260px;
  /* Image shows left-aligned text */
}

/* Image Centering within Card */
.pum-container.popmake .tool-card .tool-image {
  text-align: center;
  margin-bottom: 15px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pum-container.popmake .tool-card .tool-image img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
}

/* Title Styling */
.pum-container.popmake .tool-card .tool-title {
  font-size: 18px;
  margin: 0 0;
  padding: 0 0;
  color: #006bb6 !important;
}

.pum-container.popmake .tool-card .tool-title a {
  color: #120690;
  /* Blue color from image */
  text-decoration: none;
  font-size: 20px;
  line-height: 1.2;
}

.pum-container.popmake .tool-card .tool-price {
  padding: 15px 0;
  color: #090909;
  font-size: 18px;
  font-weight: 700;
}

/* Links Styling */
.pum-container.popmake .tool-card .tool-links {
  margin-bottom: 15px;
}

.pum-container.popmake .tool-card .tool-links a {
  display: block;
  /* Stack links vertically */
  font-size: 14px;
  color: #333;
  text-decoration: none;
  line-height: 1.6;
}

/* Logo at bottom */
.pum-container.popmake .tool-card .tool-logo {
  margin-top: auto;
  /* Pushes logo to the bottom */
}