/* Rahasia Bunda — Splash Promo (soft pink, mengikuti branding situs) */
.rb-splash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 16px 0;
}
.rb-splash-card {
  background: #fff;
  border: 1px solid #f6d7da;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(194, 94, 106, 0.12);
  font-family: inherit;
}
.rb-splash-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.rb-splash-body { padding: 14px 16px 16px; }
.rb-splash-badge {
  display: inline-block;
  background: #fdecef;
  color: #c25e6a;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.rb-splash-name {
  font-weight: 700;
  color: #4a2e2e;
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 6px;
}
.rb-splash-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.rb-splash-price { color: #c25e6a; font-weight: 800; font-size: 18px; }
.rb-splash-sold { color: #7a9b76; font-size: 13px; font-weight: 600; }
.rb-splash-cta {
  display: block;
  text-align: center;
  background: #c25e6a;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 12px;
}
.rb-splash-cta:hover { background: #a94d58; }
.rb-splash-in-widget { margin-bottom: 14px; }
.rb-splash-in-widget .rb-splash-img { height: 160px; }

/* Popup */
.rb-splash-overlay {
  position: fixed;
  inset: 0;
  background: rgba(74, 46, 46, 0.55);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.rb-splash-overlay[hidden] { display: none; }
.rb-splash-slide[hidden] { display: none; }
.rb-splash-modal {
  position: relative;
  width: 100%;
  max-width: 360px;
}
.rb-splash-modal .rb-splash-card { margin: 0; cursor: pointer; }
.rb-splash-in-modal .rb-splash-img { height: 230px; }
.rb-splash-close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #c25e6a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Kata kunci melayang di artikel (v1.3.0) */
.rb-kw { position: relative; }
.rb-kw-link {
  color: inherit;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  cursor: pointer;
}
.rb-kw-card {
  text-decoration: none;
  cursor: pointer;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: 240px;
  max-width: 80vw;
  background: #fff;
  border: 1px solid #f6d7da;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(194, 94, 106, 0.22);
  padding: 10px;
  z-index: 9999;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.rb-kw:hover .rb-kw-card,
.rb-kw:focus-within .rb-kw-card,
.rb-kw.rb-kw-open .rb-kw-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.rb-kw-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  flex: 0 0 64px;
  display: block;
}
.rb-kw-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.rb-kw-name {
  font-weight: 700;
  color: #4a2e2e;
  font-size: 13px;
  line-height: 1.35;
}
.rb-kw-meta { color: #c25e6a; font-weight: 700; font-size: 12px; }
.rb-kw-cta { color: #7a9b76; font-size: 11px; font-weight: 600; }
.rb-affiliate-note {
  font-size: 13px;
  color: #8a6d6d;
  margin-top: 20px;
}
