.mpb-block {
  max-width: 1200px;
  margin: 45px auto;
  padding: 0 15px;
}

.mpb-title {
  margin: 0 0 34px;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
}

.mpb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.mpb-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .08);
}

.mpb-image-wrap {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f5;
}

.mpb-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}

.mpb-card:hover .mpb-image {
  transform: scale(1.02);
}

.mpb-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 0;
  padding: 7px 10px;
  background: #f79c73;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.mpb-no-image {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #999;
}

.mpb-info {
  padding: 17px 14px 18px;
  text-align: center;
}

.mpb-name {
  display: block;
  overflow: hidden;
  margin-bottom: 8px;
  color: inherit;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-decoration: none;
}

.mpb-name:hover {
  text-decoration: none;
}

.mpb-prices {
  min-height: 24px;
  white-space: nowrap;
}

.mpb-regular-price {
  margin-right: 5px;
  color: #777;
  text-decoration: line-through;
}

.mpb-price {
  font-weight: 700;
}

@media (max-width: 991px) {
  .mpb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .mpb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .mpb-block {
    margin: 30px auto;
  }
}

@media (max-width: 420px) {
  .mpb-grid {
    grid-template-columns: 1fr;
  }
}
