.property-image-button,
.all-listing-card-media {
  position: relative;
}
.zh-photo-details {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 13px;
  color: #fff;
  text-align: left;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 39, 57, .35) 0%, rgba(8, 39, 57, 0) 33%, rgba(8, 39, 57, .04) 54%, rgba(8, 39, 57, .88) 100%);
}
.zh-photo-details-type {
  display: inline-flex;
  max-width: 76%;
  align-items: center;
  overflow: hidden;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 999px;
  background: rgba(14, 60, 80, .9);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 13px rgba(4, 24, 38, .18);
}
.zh-photo-details-bottom {
  display: flex;
  width: 100%;
  align-items: flex-end;
  justify-content: space-between;
  gap: 9px;
}
.zh-photo-details-size {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
.zh-photo-details-size strong {
  overflow: hidden;
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  font-weight: 800;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zh-photo-details-size small {
  color: rgba(255, 255, 255, .84);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}
.zh-photo-details-price {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 9px;
  background: linear-gradient(135deg, #e6f0a7, #c9df75);
  color: #12384b;
  font-size: clamp(.86rem, 1.25vw, 1rem);
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow: 0 5px 15px rgba(4, 24, 38, .24);
}
@media (max-width: 520px) {
  .zh-photo-details { padding: 11px; }
  .zh-photo-details-type { padding: 6px 9px; font-size: .66rem; }
  .zh-photo-details-size strong { font-size: 1.05rem; }
  .zh-photo-details-size small { font-size: .6rem; }
  .zh-photo-details-price { padding: 7px 9px; font-size: .86rem; }
}
