.apc-card {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  margin: 2rem 0;
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  background: #fff;
}

.apc-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.apc-card__image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.apc-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apc-card__content {
  min-width: 0;
}

.apc-card__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 1.7vw, 2.3rem);
  line-height: 1.15;
  font-weight: 700;
}

.apc-card__title a {
  color: #333;
  text-decoration: none;
}

.apc-card__description {
  margin: 0;
  max-width: 48rem;
  color: #424242;
  font-size: clamp(1rem, 1.1vw, 1.3rem);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.apc-card__price-block {
  margin-top: 0.9rem;
}

.apc-card__manual-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.85rem;
}

.apc-card__manual-price {
  color: #242424;
  font-size: clamp(1.55rem, 1.7vw, 2.25rem);
  line-height: 1;
  font-weight: 800;
}

.apc-card__manual-old-price {
  color: #d9412f;
  font-size: clamp(1.05rem, 1.1vw, 1.35rem);
  line-height: 1;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.apc-card__price-disclaimer {
  margin: 0.35rem 0 0;
  color: #6f6f6f;
  font-size: 0.72rem;
  line-height: 1.35;
}

.apc-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
}

.apc-card__pricing {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.apc-card__price-row,
.apc-card__old-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.7rem;
}

.apc-card__price {
  color: #222;
  font-size: clamp(1.8rem, 2vw, 3rem);
  line-height: 1;
  font-weight: 800;
}

.apc-card__merchant,
.apc-card__merchant-only {
  color: #444;
  font-size: 1.1rem;
  font-weight: 600;
}

.apc-card__old-price {
  color: #575757;
  font-size: 1.05rem;
  text-decoration: line-through;
}

.apc-card__discount {
  color: #eb5d1f;
  font-size: 1.1rem;
  font-weight: 700;
}

.apc-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 0.95rem 1.5rem;
  border-radius: 12px;
  background: #f55b1f;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none !important;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  box-shadow: 0 14px 30px rgba(245, 91, 31, 0.18);
}

.apc-card__button:hover,
.apc-card__button:focus {
  background: #e44d10;
  color: #fff;
  text-decoration: none !important;
  transform: translateY(-1px);
}

@media (max-width: 780px) {
  .apc-card {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    padding: 1.25rem;
  }

  .apc-card__media {
    margin: 0 auto;
  }

  .apc-card__content {
    text-align: center;
  }

  .apc-card__media img {
    max-width: 100%;
  }

  .apc-card__title {
    font-size: 1.5rem;
  }

  .apc-card__description {
    font-size: 1rem;
  }

  .apc-card__meta {
    flex-direction: column;
    align-items: stretch;
  }

  .apc-card__manual-prices {
    justify-content: center;
  }

  .apc-card__button {
    width: 100%;
    min-width: 0;
  }
}
