.share-buttons {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50px;
  padding: 6px 8px;
  z-index: 2;
}
.share-buttons a {
  color: white;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.share-buttons a.whatsapp {
  color: #25D366;
}
.share-buttons a:hover {
  background: rgba(255, 255, 255, 0.15);
}
@media (max-width: 768px) {
  .share-buttons {
    top: 6px;
    right: 6px;
    gap: 6px;
    padding: 4px 6px;
  }
  .share-buttons a {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}

/* --- Brand Icon Colors Uniform Fix --- */
.share-buttons a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
}
.share-buttons a svg {
  width: 18px;
  height: 18px;
}

/* Brand-specific colors */
.share-buttons a.messenger { color: #00B2FF; } /* Official Messenger Blue */
.share-buttons a.pinterest { color: #E60023; } /* Pinterest Red */
.share-buttons a.instagram {
  color: #fff;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* Image lazy-load spinner overlay */
figure.effect-oscar { position: relative; overflow: hidden; }
.img-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.5);
  z-index: 3;
}
.img-loader.hidden { display: none !important; }
.img-loader .spinner {
  width: 26px;
  height: 26px;
  border: 3px solid rgba(0,0,0,0.1);
  border-top-color: rgba(0,0,0,0.6);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Hover & Size Enhancement for Social Icons --- */
.share-buttons a {
  width: 26px;
  height: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.share-buttons a svg {
  width: 16px;
  height: 16px;
}
.share-buttons a:hover {
  transform: scale(1.15);
  box-shadow: 0 0 6px rgba(0,0,0,0.15);
}

/* --- Final Uniform Social Icon Fix with Official Messenger & Instagram --- */
.share-buttons a {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.share-buttons a svg {
  width: 18px;
  height: 18px;
}
.share-buttons a:hover {
  transform: scale(1.15);
}

/* --- Uniform Icon and Lazy Loader Fix --- */
.share-buttons a i,
.share-buttons a svg {
  width: 18px !important;
  height: 18px !important;
  font-size: 18px !important;
}

.img-loader {
  z-index: 9999 !important;
}
