.address-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 0 28px;
}

.address-card {
  overflow: hidden;
  border: 1px solid #dfe4ea;
  border-radius: 25px;
  background: white;
  box-shadow: 0 14px 34px rgba(35, 46, 65, 0.07);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.address-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(35, 46, 65, 0.12);
}

.address-card .address-photo {
  position: relative;
  display: block;
  overflow: hidden;
  height: 196px;
  background: #dfe4e9;
}

.address-card .address-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 28, 43, 0.02) 45%, rgba(20, 28, 43, 0.42));
  content: "";
}

.address-card .address-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.address-card:hover .address-photo img {
  transform: scale(1.035);
}

.address-card .tags {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-width: calc(100% - 28px);
}

.address-card .tags span,
.address-card .tax-badge {
  padding: 7px 10px;
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 7px 16px rgba(35, 46, 65, 0.15);
}

.address-card .tags span.special {
  background: var(--red);
  color: white;
}

.address-card .tax-badge {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  background: rgba(35, 46, 65, 0.91);
  color: white;
}

.address-card .address-content {
  padding: 20px;
}

.address-card .address-title {
  display: block;
  min-height: 47px;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.23;
}

.address-card .address-title:hover {
  color: var(--red);
}

.address-card .address-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 16px 0 14px;
}

.address-card .address-meta div {
  min-width: 0;
  min-height: 59px;
  padding: 10px 11px;
  border: 1px solid #e3e7ec;
  border-radius: 12px;
  background: #f7f8fa;
}

.address-card .address-meta dt {
  margin-bottom: 5px;
  color: #808995;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.address-card .address-meta dd {
  overflow: hidden;
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.address-card .guarantees {
  display: flex;
  min-height: 48px;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-content: start;
  margin-bottom: 16px;
  color: #556172;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.address-card .guarantees span::first-letter {
  color: var(--red);
}

.address-card .card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid #e1e6eb;
}

.address-card .price {
  color: #111827;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.address-card .price span {
  font-size: 12px;
  letter-spacing: 0;
}

.address-card .card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid #e1e6eb;
}

.address-card .card-bottom .button {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 10px;
  font-size: 10px;
}
@media (max-width: 1120px) {
	.address-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 850px) {
	.address-grid {
		grid-template-columns: 1fr;
	}
	
	.address-photo {
		height: 188px;
	}
}