/* Container hints (we don't change your layout) */
figure.wp-block-image,
.gallery-item,
figure[data-id],
.wp-block-gallery figure {
  position: relative;
}

/* Thumbnail like badge */
.pl-like-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  color: #111;
  font: 600 14px/1 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
  cursor: pointer;
}
.pl-like-badge .pl-heart { width: 18px; height: 18px; fill: #d0d4da; transition: fill .2s ease; }
.pl-like-badge[aria-pressed="true"] .pl-heart { fill: #ff4d6d; }

/* Lightbox */
.pl-lightbox[hidden] { display: none; }
.pl-lightbox { position: fixed; inset: 0; z-index: 9999; }
.pl-lb-bg { position: absolute; inset: 0; background: rgba(8,9,12,.75); backdrop-filter: blur(2px); }
.pl-lb-wrap { position: absolute; inset: 0; display: grid; place-items: center; padding: 40px 16px 90px; }
.pl-lb-img { max-width: min(95vw, 1200px); max-height: min(80vh, 90vh); border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.5); background:#0a0b10; }
.pl-lb-btn { position: absolute; top: 14px; width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(255,255,255,.12); color:#fff; font-size:24px; cursor:pointer; }
.pl-lb-btn:hover { background: rgba(255,255,255,.18); }
.pl-lb-close { right: 14px; font-size: 28px; }
.pl-lb-prev { left: 14px; top: calc(50% - 22px); }
.pl-lb-next { right: 14px; top: calc(50% - 22px); }

/* Lightbox like button */
.pl-lb-like {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 22px;
  z-index: 2147483647; /* keep above 10Web overlay */
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  color: #111;
  font: 700 15px/1 ui-sans-serif, system-ui;
  display: inline-flex; gap: 10px; align-items: center;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.pl-lb-like .pl-heart { width: 22px; height: 22px; fill: #d0d4da; transition: fill .2s ease; }
.pl-lb-like[aria-pressed="true"] .pl-heart { fill: #ff4d6d; }

