/* ===== Product ad cards ===== */
.product-card {
  --pc-yellow: #ffd814;
  --pc-yellow-hover: #f7ca00;
  --pc-yellow-border: #fcd200;
  --pc-radius: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--pc-radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

/* Full-width image on top */
.product-card .pc-img-wrap {
  position: relative;
  aspect-ratio: 4/3; /* change to 1 / 1 for square images */
  min-height: 0 !important; /* overrides the inline min-height */
  padding: 0;
  background: #fff;
  overflow: hidden;
}

.product-card .pc-img-wrap img {
  width: 100%;
  height: 100%;
  max-height: none !important; /* overrides the inline max-height */
  object-fit: cover; /* fills the whole width edge to edge */
  display: block;
  transition: transform 0.35s ease;
}

.product-card:hover .pc-img-wrap img {
  transform: scale(1.04);
}

/* Badge on top of the image */
.product-card .pc-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4em 0.7em;
  border-radius: 2rem;
}

/* Text */
.product-card .card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.product-card .pc-stars {
  color: #ffa41c;
  font-size: 0.9rem;
}

.product-card .card-body p {
  font-size: 0.9rem;
  color: #6c757d;
}

/* Yellow price button */
.product-card .btn-amazon {
  width: 100%;
  background: var(--pc-yellow);
  border: 1px solid var(--pc-yellow-border);
  color: #0f1111;
  font-weight: 700;
  border-radius: 2rem;
  padding: 0.55rem 1rem;
}

.product-card .btn-amazon:hover,
.product-card .btn-amazon:focus {
  background: var(--pc-yellow-hover);
  border-color: var(--pc-yellow-hover);
  color: #0f1111;
}

/*# sourceMappingURL=post.css.map */
