body {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}


* {
  font-family: "Noto Sans", sans-serif;
}

.overlay,
.overlay *,
.elementor-button,
.image-card h3,
.details-list,
.details-list * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.overlay img {
  pointer-events: none;
  user-select: none;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.image-card {
  padding: 10px;
  position: relative;
  text-align: center;
  margin-bottom: 20px;
}

.image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 5px;
  cursor: pointer;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  color: white;
  opacity: 0;
  transition: background 0.3s ease, opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
}

.overlay:hover {
  background: rgba(0, 0, 0, 1);
  opacity: 1;
}

.overlay > div {
  text-align: left;
}

.overlay h3 {
  margin-bottom: 10px;
  font-size: 1.5em;
  color: #fdafcd;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.overlay h3 img {
  margin-bottom: 40px;
  width: 70px;
  height: auto;
}

.details-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.9em;
}

.details-list li {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.details-list li::before {
  content: "✔";
  color: #f86093;
  margin-right: 8px;
  flex-shrink: 0;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.elementor-button {
  font-size: 1.25em !important;
  margin-top: 10px;
  width: 100%;
  padding: 8px 0;
  border: none;
  background-color: #fdafcd;
  color: white;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.elementor-button:hover {
  background-color: #e59bb7;
}

@media (max-width: 1024px) {
  .overlay h3 {
    font-size: 1.1em;
    margin-top: 0px;
    margin-bottom: 3px;
  }

  .overlay h3 img {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .overlay h3 {
    font-size: 1em;
  }
}

@media (max-width: 500px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-card {
    padding: 3px;
  }

  .elementor-button {
    margin-top: 3px;
  }

  .elementor-button {
    font-size: 0.8em !important;
  }

  .overlay h3 {
    font-size: 0.75em;
    margin-bottom: 3px;
    margin-top: 3px;
  }

  .overlay {
    padding: 2px;
  }

  .details-list {
    font-size: 0.7em;
  }

  .details-list li {
    margin-bottom: 1px;
    padding-inline: 2px;
  }

  .overlay h3 img {
    margin-bottom: 5px;
    width: 35px;
    height: auto;
  }

  .details-list li::before {
    margin-right: 3px;
  }
}
