/* Pinora Product Cards — rendered via [pinora_products] shortcode */
/* This CSS is enqueued by the plugin, safe from Ezoic/WordPress sanitization */

.pnr-products {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 15px 0;
  gap: 0;
  background: #fff;
}
.pnr-products::-webkit-scrollbar {
  display: none;
}

.pnr-card {
  flex: 1 0 140px;
  min-width: 140px;
  max-width: 220px;
  padding: 14px 12px;
  text-align: center;
  background: #fff;
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pnr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 2;
  position: relative;
}

.pnr-card--border {
  border-left: 1px solid #e5e7eb;
}

.pnr-card__img-wrap {
  background: #fff;
  padding: 8px;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 6px;
}

.pnr-card__img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  display: block;
  border: none;
  transition: transform 0.3s ease;
}
.pnr-card:hover .pnr-card__img {
  transform: scale(1.08);
}

.pnr-card__img-placeholder {
  width: 100%;
  height: 170px;
  background: #f8fafc;
  border-radius: 6px;
}

.pnr-card__name {
  font-size: 12px;
  color: #333;
  font-weight: 500;
  min-height: 48px;
  overflow: hidden;
  line-height: 16px;
  word-break: break-word;
  margin-bottom: 8px;
}

.pnr-card__price {
  display: inline-block;
  font-size: 20px;
  color: #111;
  font-weight: 900;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
  background: #f0fdf4;
  border: 2px solid #16a34a;
  padding: 4px 14px;
  border-radius: 8px;
  white-space: nowrap;
}

.pnr-card__btn {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  margin-top: 6px;
  transition: opacity 0.2s ease, transform 0.15s ease;
}
.pnr-card__btn:hover {
  opacity: 0.9;
  transform: scale(0.97);
}

.pnr-products__disclaimer {
  font-size: 10px;
  color: #aaa;
  font-style: normal;
  margin: 4px 0 15px;
}

/* Mobile: 2 cards visible, scroll for more */
@media (max-width: 600px) {
  .pnr-card {
    flex: 0 0 48%;
    max-width: 48%;
  }
  .pnr-card__img {
    height: 130px;
  }
  .pnr-card__price {
    font-size: 16px;
    padding: 3px 10px;
  }
}
