/* wrapper */
.purchase {
  --line: #26ABC9;
  --text: #333;
  --muted: #a7a7a7;
  --price: #2C2FA3;
}

/* rows */
.purchase-row {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: grid;
  grid-template-columns: 170px 1fr 120px 160px;
  gap: 16px;
  align-items: center;
}

.purchase-row-last {
  border-bottom: 1px solid var(--line);
}

/* image */
.purchase-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.purchase-img img {
  display: block;
  height: auto;
  max-width: 100%;
}

/* text */
.purchase-desc {
  color: var(--text);
}

.purchase-title {
  font-size: 26px;
  line-height: 1.15;
}

.purchase-sub {
  margin-top: 6px;
  font-size: 16px;
  color: var(--muted);
}

.purchase-note {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text);
}

.purchase-note a {
  text-decoration: underline;
}

/* price */
.purchase-price {
  text-align: center;
  font-size: 26px;
  color: var(--price);
  font-weight: 700;
  white-space: nowrap;
}

/* cta */
.purchase-cta {
  display: flex;
  justify-content: center;
  align-items: center;
}

.purchase-cta a img {
  display: block;
  max-width: 150px;
  height: auto;
}

/* footer */
.purchase-footer {
  padding-top: 12px;
  text-align: center;
}

.purchase-footer p {
  margin: 0;
}

/* mobile */
@media (max-width: 768px) {

  .purchase-row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "img img"
      "desc desc"
      "price cta";
    row-gap: 14px;
    align-items: center;
  }

  /* obrazek */
  .purchase-img {
    grid-area: img;
    justify-content: center;
  }

  .purchase-img img {
    width: 180px;       /* możesz zwiększyć np. 200px */
    max-width: 100%;
    height: auto;
  }

  /* opis */
  .purchase-desc {
    grid-area: desc;
    text-align: center; /* opcjonalnie */
  }

  /* dolny wiersz */
  .purchase-price {
    grid-area: price;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
  }

  .purchase-cta {
    grid-area: cta;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .purchase-cta img {
    display: block;
    max-width: 150px;
    height: auto;
  }
}