.vpo-home-recent-patch {
  max-width: 1080px;
  margin: 18px auto 24px;
  padding: 0 12px;
  box-sizing: border-box;
}

.vpo-home-recent-patch__inner {
  padding: 16px 18px;
  border: 1px solid rgba(51, 204, 204, 0.14);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfd 100%);
  box-shadow: 0 12px 28px rgba(16, 38, 45, 0.05);
}

.vpo-home-recent-patch__head {
  margin-bottom: 14px;
}

.vpo-home-recent-patch__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(51, 204, 204, 0.1);
  color: #1d5963;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vpo-home-recent-patch__title {
  margin: 8px 0 4px;
  color: #17333a;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1.1;
}

.vpo-home-recent-patch__text {
  margin: 0;
  color: #617880;
  font-size: 13px;
  line-height: 1.55;
}

.vpo-home-recent-patch__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.vpo-home-recent-patch__card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(17, 50, 58, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(17, 39, 46, 0.04);
}

.vpo-home-recent-patch__media {
  display: block;
  width: 78px;
  height: 78px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%);
}

.vpo-home-recent-patch__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vpo-home-recent-patch__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.vpo-home-recent-patch__name {
  color: #17333a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.vpo-home-recent-patch__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.vpo-home-recent-patch__price {
  color: #17333a;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
}

.vpo-home-recent-patch__buy,
.vpo-home-recent-patch__detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.vpo-home-recent-patch__buy {
  border: 1px solid #33cccc;
  background: #33cccc;
  color: #ffffff;
}

.vpo-home-recent-patch__buy:hover,
.vpo-home-recent-patch__buy:focus {
  background: #24b3b3;
  border-color: #24b3b3;
  color: #ffffff;
}

.vpo-home-recent-patch__detail {
  border: 1px solid rgba(23, 51, 58, 0.14);
  background: #ffffff;
  color: #17333a;
}

.vpo-home-recent-patch__buy.is-busy {
  opacity: 0.8;
  pointer-events: none;
}

.vpo-home-recent-patch__buy.is-added {
  background: #eefbfb;
  border-color: rgba(51, 204, 204, 0.28);
  color: #17333a;
}

.vpo-home-recent-patch__buy.is-error {
  background: #ffffff;
  border-color: rgba(23, 51, 58, 0.14);
  color: #17333a;
}

@media (max-width: 980px) {
  .vpo-home-recent-patch__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .vpo-home-recent-patch {
    margin: 14px auto 22px;
    padding: 0 10px;
  }

  .vpo-home-recent-patch__inner {
    padding: 14px;
    border-radius: 18px;
  }

  .vpo-home-recent-patch__title {
    font-size: 22px;
  }

  .vpo-home-recent-patch__card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .vpo-home-recent-patch__media {
    width: 64px;
    height: 64px;
  }

  .vpo-home-recent-patch__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .vpo-home-recent-patch__buy,
  .vpo-home-recent-patch__detail {
    width: 100%;
  }
}
