.tbz-grid {
  display: grid;
  grid-template-columns: repeat(var(--tbz-columns, 3), minmax(0, 1fr));
  gap: 28px;
  width: 100%;
}

.tbz-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(18, 53, 42, .10);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(19, 46, 37, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.tbz-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(19, 46, 37, .13);
}

.tbz-card__media {
  position: relative;
  aspect-ratio: 1.55 / 1;
  overflow: hidden;
  background: #eef3f0;
}

.tbz-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s ease;
}

.tbz-card:hover .tbz-card__media img {
  transform: scale(1.035);
}

.tbz-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eef3f0, #dfe9e3);
}

.tbz-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  max-width: calc(100% - 28px);
  padding: 6px 10px;
  background: rgba(255, 255, 255, .94);
  color: #173f33;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 4px 15px rgba(0,0,0,.08);
}

.tbz-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 16px;
}

.tbz-card__title {
  margin: 0 0 10px;
  color: #242824;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -.015em;
}

.tbz-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin-bottom: 13px;
  color: #7c827e;
  font-size: 12px;
  line-height: 1.4;
}

.tbz-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tbz-card__excerpt {
  margin: 0 0 18px;
  color: #6f7571;
  font-size: 13px;
  line-height: 1.65;
}

.tbz-card__bottom {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #ebeeec;
}

.tbz-card__price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.tbz-card__price {
  color: #153d31;
  line-height: 1.1;
}

.tbz-card__from {
  display: block;
  margin-bottom: 4px;
  color: #8b918d;
  font-size: 10px;
  font-weight: 500;
}

.tbz-card__price strong {
  font-size: 20px;
  font-weight: 700;
}

.tbz-card__price small {
  margin-left: 3px;
  color: #8b918d;
  font-size: 10px;
}

.tbz-card__rating {
  white-space: nowrap;
  color: #282d29;
  font-size: 12px;
  font-weight: 600;
}

.tbz-card__rating span {
  color: #c6a51e;
}

.tbz-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #165b46;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  transition: transform .2s ease, opacity .2s ease;
}

.tbz-card__button:hover,
.tbz-card__button:focus {
  color: #fff !important;
  opacity: .92;
  transform: translateY(-1px);
}

.tbz-empty {
  padding: 14px 16px;
  border: 1px solid #e2e6e3;
  border-radius: 10px;
  background: #f8faf9;
}

@media (max-width: 1024px) {
  .tbz-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .tbz-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tbz-card {
    border-radius: 16px;
  }

  .tbz-card__media {
    aspect-ratio: 1.45 / 1;
  }

  .tbz-card__body {
    padding: 17px 16px 15px;
  }

  .tbz-card__title {
    font-size: 20px;
  }

  .tbz-card__excerpt {
    font-size: 13px;
  }
}
