.loader {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}
.loader i {
    margin-right: 6px;
}

/* ===== Beautiful Share Popup (cards) ===== */
.share-menu{
  position:absolute;
  top:16px;              /* where it opens */
  right:20px;
  display:flex;
  gap:12px;
  padding:10px 12px;
  border-radius:14px;
  background: rgba(255,255,255,0.95);
  border:1px solid rgba(17,24,39,0.08);
  box-shadow: 0 12px 28px rgba(16,24,40,0.18);
  backdrop-filter: saturate(180%) blur(8px);
  z-index:999;           /* sits above images/cards */
  opacity:0;
  transform: translateY(-6px) scale(0.98);
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
}

/* show state */
.share-menu.show{
  opacity:1;
  transform: translateY(0) scale(1);
  pointer-events:auto;
}

/* icons */
.share-item{
  width:40px; height:40px;
  border-radius:10px;
  display:inline-flex; align-items:center; justify-content:center;
  background:#f3f4f6;
  border: none;
  cursor:pointer; text-decoration:none;
  transition: transform .12s ease, background .12s ease;
}
.share-item i{ font-size:18px; }
.share-item:hover{ transform: translateY(-1px); background:#eef2ff; }

/* brand tints */
.share-item[data-network="whatsapp"]  { background:#e9fce9; }
.share-item[data-network="instagram"] { background:#fde9ff; }
.share-item[data-network="facebook"]  { background:#e9f2ff; }
.share-item[data-network="tiktok"]    { background:#f2f2f2; }
.share-item[data-network="copy"]      { background:#f3f4f6; }

/* little arrow */
.share-menu::after{
  content:"";
  position:absolute;
  right:28px; top:-6px;
  width:12px; height:12px;
  background:inherit;
  border-left: inherit; border-top: inherit;
  transform: rotate(45deg);
  filter: drop-shadow(0 -2px 2px rgba(16,24,40,0.06));
}

/* prevent clipping in image wrappers */
.new-arrivals-image-container,
.recommended-image-container,
.featured-image-container{
  position:relative;
  overflow:visible;      /* important: lets the popup render outside the image */
}

/* tidy the action stack spacing now that quick view is gone */
.new-arrivals-actions .share-btn,
.recommended-actions .share-btn,
.featured-actions .share-btn{ margin-left:6px; }
