/* ── Recipe Paywall Overlay ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Lato:wght@300;400;600;700&display=swap');

.rpp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 6, 0.80);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: rppFadeIn .35s ease both;
}

@keyframes rppFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.rpp-card {
  background: #fff;
  border-radius: 20px;
  max-width: 460px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  animation: rppRise .5s cubic-bezier(.22,.68,0,1.15) both;
  font-family: 'Lato', sans-serif;
  scrollbar-width: thin;
}

@keyframes rppRise {
  from { transform: translateY(30px) scale(.97); opacity: 0; }
  to   { transform: translateY(0) scale(1);      opacity: 1; }
}

/* Image */
.rpp-img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}
.rpp-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.rpp-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.4) 0%, transparent 60%);
}
.rpp-badge {
  position: absolute; top: 14px; left: 14px;
  background: #e63946; color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px;
}

/* Body */
.rpp-body { padding: 20px 24px 26px; }

.rpp-lock-icon {
  width: 38px; height: 38px;
  background: #fff3cd; border: 2px solid #ffe08a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; margin-bottom: 10px;
}

.rpp-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 900;
  color: #1a1a1a; line-height: 1.25;
  margin: 0 0 10px;
}

.rpp-subtext {
  font-size: 13.5px; color: #555;
  line-height: 1.6; margin-bottom: 14px;
}

/* Perks */
.rpp-perks {
  list-style: none; padding: 0; margin: 0 0 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.rpp-perks li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #333;
}
.rpp-perk-icon {
  width: 20px; height: 20px;
  background: #e8f5e9; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0;
}

.rpp-divider { border: none; border-top: 1px solid #f0f0f0; margin: 14px 0; }

/* Social proof */
.rpp-social-proof {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.rpp-avatars { display: flex; }
.rpp-avatar {
  width: 26px; height: 26px;
  border-radius: 50%; border: 2px solid #fff;
  object-fit: cover; margin-left: -7px;
}
.rpp-avatars .rpp-avatar:first-child { margin-left: 0; }
.rpp-proof-text { font-size: 12px; color: #555; line-height: 1.4; }
.rpp-proof-text strong { color: #1a1a1a; }
.rpp-stars { color: #f4a623; font-size: 12px; letter-spacing: 1px; }

/* Reviews */
.rpp-reviews { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.rpp-review {
  background: #f9f9f9; border-radius: 10px;
  padding: 9px 12px; border-left: 3px solid #f4a623;
}
.rpp-review-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 3px;
}
.rpp-reviewer  { font-size: 12px; font-weight: 700; color: #1a1a1a; }
.rpp-review-stars { font-size: 11px; color: #f4a623; }
.rpp-review-text { font-size: 12px; color: #555; line-height: 1.5; }

/* Price */
.rpp-price-block {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 14px; justify-content: center;
}
.rpp-price-orig {
  font-size: 13px; color: #aaa;
  text-decoration: line-through;
}
.rpp-price-now {
  font-family: 'Playfair Display', serif;
  font-size: 30px; font-weight: 900; color: #1a1a1a;
}
.rpp-price-label { font-size: 12px; color: #777; }

/* CTA button */
.rpp-btn-pay {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 15px;
  background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
  border: none; border-radius: 14px;
  font-family: 'Lato', sans-serif;
  font-size: 15px; font-weight: 700; color: #1a1a1a;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 20px rgba(247,151,30,.45);
  transition: transform .15s, box-shadow .15s;
}
.rpp-btn-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(247,151,30,.55);
}
.rpp-paypal-badge {
  background: #003087; color: #fff;
  font-size: 10px; font-weight: 900;
  padding: 2px 6px; border-radius: 4px;
}

/* Secure note */
.rpp-secure {
  text-align: center; font-size: 11px;
  color: #aaa; margin-top: 9px;
}

/* Teaser text (behind the overlay) */
.rpp-teaser {
  font-style: italic; color: #888;
  filter: blur(4px); user-select: none;
  pointer-events: none;
}

/* Scrollbar */
.rpp-card::-webkit-scrollbar { width: 4px; }
.rpp-card::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }
