/* Heart buttons and story-like UX for MyStoneFireplace pictures */

.mfp-pe-heart-btn,
.mfp-pe-heart-overlay-btn {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.96);
  color: #c94b4b;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out, color 0.12s ease-out, opacity 0.12s ease-out;
}

/* Big heart on picture-view */
.mfp-pe-heart-btn {
  width: 44px;
  height: 44px;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 15;
}

.mfp-pe-heart-btn .mfp-pe-heart-icon {
  font-size: 22px;
}

/* Tiny hearts on tiles / related thumbs */
.mfp-pe-heart-overlay-btn {
  width: 32px;
  height: 32px;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  opacity: 0.9;
}

.mfp-pe-heart-btn:hover,
.mfp-pe-heart-overlay-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.mfp-pe-heart-btn.is-active,
.mfp-pe-heart-overlay-btn.is-active {
  background: #c94b4b;
  color: #fff;
}

.mfp-pe-heart-btn.is-active .mfp-pe-heart-icon,
.mfp-pe-heart-overlay-btn.is-active {
  transform: scale(1.05);
}

/* Make sure tiles that get hearts can host them */
.mfp-pc-tile,
.mfp-pc-related-item {
  position: relative;
}

/* On very small screens give a little more room at the top so the heart sits nicely */
@media (max-width: 600px) {
  .mfp-pe-heart-btn {
    top: 12px;
    right: 12px;
  }
}
