/* TongReview Custom Showcase Styles */
body {
  font-family: 'Prompt', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Card Styling */
.product-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.product-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  position: relative;
  border-bottom: 1px solid #f1f5f9;
  overflow: hidden;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-img-box img {
  transform: scale(1.03);
}

.badge-aff-card {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #10b981;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
  letter-spacing: -0.2px;
}

.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 10px;
  color: #1e293b;
}

.product-price-box {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.product-price {
  color: #ee4d2d;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.btn-aff-main {
  display: block;
  text-align: center;
  background: #10b981;
  color: white;
  padding: 10px 0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: background 0.15s, transform 0.1s;
}

.btn-aff-main:hover {
  background: #059669;
}

.btn-aff-main:active {
  transform: scale(0.98);
}

.btn-aff-copy {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 7px 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-aff-copy:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.btn-aff-copy.copied {
  background: #dcfce7;
  color: #15803d;
  border-color: #86efac;
}

