/* Product favourite hearts and share icons, 17 Nov 2026.
   Heart: no grey circle. Unsaved is an orange heart with a thin white outline and a soft drop-shadow.
   Saved is the Australian flag heart (images/fav_heart.png), which already has a white border, plus the same shadow.
   Share: plain share glyph in orange (#ee7c1b) on a CSS white circle, the same visual size as the heart (30px).
   Layout: heart stacked above share in a single right-aligned column, 6px gap.
   The top of the heart lines up with the top of the % OFF pill on the left.
   Tap targets stay at least 44px and do not overlap (heart hit shifts up, share hit shifts down).
   Same expand (scale 1.12, 0.2s ease) on hover, focus and tap. Respect prefers-reduced-motion.
   Do not restyle the share menu options or store-tile hearts. */

/* Visible icon size is 30px. The 44px tap target is an overflowing hit area, so
   a 6px flex gap is the gap between the heart and the share circle. */
.fav_hold_45_ai,
.ais-body .fav_hold_45_ai,
.ais-body .fav_hold_45_ai:hover,
.ais-body .fav_hold_45_user_fav .fav_hold_45_ai,
.product_hld_JS.fav_hold_45_user_fav > .fav_hold_45.fav_hold_45_ai,
.ios-home-plana .plana-card > .fav_hold_45.fav_hold_45_ai,
.ios-home-plana .plana-card > .fav_hold_45.fav_hold_45_ai:hover,
.ios-home-plana .plana-card.fav_hold_45_user_fav > .fav_hold_45.fav_hold_45_ai,
.ios-product-modal .fav_hold_45_ai,
.ios-product-modal .fav_hold_45_user_fav .fav_hold_45_ai,
.cls_pro_share,
.ios-share-trigger,
.ais-body .cls_pro_share,
.ais-body .ios-share-trigger,
.ais-body .cls_pro_share:hover,
.ais-body .ios-share-trigger:hover,
.ios-product-modal .cls_pro_share,
.ios-product-modal .ios-share-trigger,
.ai_pro_btn_hld .cls_pro_share,
.ai_pro_btn_hld .cls_pro_share:hover {
  box-sizing: border-box !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  flex: 0 0 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  zoom: 1 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 none !important;
  box-shadow: none !important;
}

.ais-body .ios-share-menu {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  flex: 0 0 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  position: relative !important;
}

/* Stack heart above share, right-aligned, 6px gap. The pill stays absolute on the left.
   padding-top: 2px matches the Product Search pill's top: 2px so the heart top lines up with the pill top. */
.ai_pro_btn_hld,
.ais-body .ai_pro_btn_hld,
.ios-product-modal .ai_pro_btn_hld {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  padding-top: 2px !important;
}

.ai_pro_btn_hld > .fav_hold_45,
.ai_pro_btn_hld > .fav_hold_45_ai,
.ais-body .ai_pro_btn_hld > .fav_hold_45,
.ais-body .ai_pro_btn_hld > .fav_hold_45_ai,
.ios-product-modal .ai_pro_btn_hld > .fav_hold_45,
.ios-product-modal .ai_pro_btn_hld > .fav_hold_45_ai {
  order: 1 !important;
  float: none !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  inset: auto !important;
}

.ai_pro_btn_hld > .ios-share-menu,
.ai_pro_btn_hld > .cls_pro_share,
.ais-body .ai_pro_btn_hld > .ios-share-menu,
.ais-body .ai_pro_btn_hld > .cls_pro_share,
.ios-product-modal .ai_pro_btn_hld > .ios-share-menu,
.ios-product-modal .ai_pro_btn_hld > .cls_pro_share {
  order: 2 !important;
  float: none !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  inset: auto !important;
}

/* Keep the % OFF pill at its real size so its top edge matches the top of the 30px heart. */
.ais-body .product_on_sale_ai {
  zoom: 1 !important;
}

/* 44px tap targets. On a stacked pair a centred 44px hit would overlap in the 6px gap,
   so the heart hit is shifted up 4px and the share hit is shifted down 4px. They meet
   at the midpoint of the gap and do not overlap. Isolated hearts (homepage, Favourites
   panel) keep a centred 44px hit. */
.fav_hold_45_ai::after,
.cls_pro_share::after,
.ios-share-trigger::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  margin: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: transparent;
  pointer-events: auto;
}
.ai_pro_btn_hld .fav_hold_45_ai::after {
  transform: translate(-50%, calc(-50% - 4px));
}
.ai_pro_btn_hld .cls_pro_share::after,
.ai_pro_btn_hld .ios-share-trigger::after {
  transform: translate(-50%, calc(-50% + 4px));
}

.fav_hold_45_ai .fav_hold_45_heart,
.ais-body .fav_hold_45_ai .fav_hold_45_heart,
.ios-product-modal .fav_hold_45_ai .fav_hold_45_heart,
.ios-home-plana .plana-card > .fav_hold_45.fav_hold_45_ai .fav_hold_45_heart {
  color: #ee7c1b !important;
  background: none !important;
  background-image: none !important;
  -webkit-text-stroke: 1.5px #fff !important;
  paint-order: stroke fill;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .55)) drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
  font-size: 28px !important;
  width: 30px !important;
  height: 30px !important;
  line-height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.fav_hold_45_user_fav .fav_hold_45_ai .fav_hold_45_heart,
.fav_hold_45_ai.fav_hold_45_user_fav .fav_hold_45_heart,
.product_hld_JS.fav_hold_45_user_fav .fav_hold_45_ai .fav_hold_45_heart,
.ios-home-plana .plana-card.fav_hold_45_user_fav > .fav_hold_45.fav_hold_45_ai .fav_hold_45_heart,
.ais-body .fav_hold_45_user_fav .fav_hold_45_ai .fav_hold_45_heart,
.ios-product-modal .fav_hold_45_user_fav .fav_hold_45_ai .fav_hold_45_heart {
  color: transparent !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
  background: url(/wp-content/themes/exploremystore/images/fav_heart.png) no-repeat center / contain !important;
  width: 30px !important;
  height: 30px !important;
  display: block !important;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .55)) drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
}

/* Share: swap the square glyph for a plain share icon, in orange, on a white circle. */
.cls_pro_share .fa,
.ios-share-trigger .fa,
.ais-body .cls_pro_share .fa,
.ais-body .ios-share-trigger .fa,
.ios-product-modal .cls_pro_share .fa,
.ai_pro_btn_hld .cls_pro_share .fa,
.cls_pro_share:hover .fa,
.ios-share-trigger:hover .fa,
.ais-body .cls_pro_share:hover .fa,
.ai_pro_btn_hld .cls_pro_share:hover .fa {
  box-sizing: border-box !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  border-radius: 50% !important;
  background: #fff !important;
  background-image: none !important;
  color: #ee7c1b !important;
  font-size: 14px !important;
  line-height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .55)) drop-shadow(0 2px 3px rgba(0, 0, 0, .35)) !important;
  box-shadow: none !important;
  border: 0 none !important;
}

.cls_pro_share .fa:before,
.ios-share-trigger .fa:before,
.ais-body .cls_pro_share .fa:before,
.ais-body .ios-share-trigger .fa:before,
.ios-product-modal .cls_pro_share .fa:before,
.ai_pro_btn_hld .cls_pro_share .fa:before {
  content: "\f1e0" !important; /* Font Awesome 4 fa-share-alt, not fa-share-alt-square */
  color: #ee7c1b !important;
}

/* Favourites panel cards are already saved: flag heart, no grey circle, 30px glyph, 44px target. */
.ios-favourite-product-heart {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 none !important;
  color: transparent !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  flex: 0 0 30px !important;
  zoom: 1 !important;
  position: relative !important;
  overflow: visible !important;
}
.ios-favourite-product-heart::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: auto;
}
.ios-favourite-product-heart .fa-heart,
.ios-favourite-product-heart .fav_hold_45_heart {
  color: transparent !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
  background: url(/wp-content/themes/exploremystore/images/fav_heart.png) no-repeat center / contain !important;
  width: 30px !important;
  height: 30px !important;
  display: block !important;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .55)) drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
}

/* Same expand on product hearts and share icons: scale 1.12, 0.2s ease,
   on hover, focus and tap. Respect reduced motion. Do not animate the share menu. */
.fav_hold_45_ai,
.cls_pro_share,
.ios-share-trigger,
.ios-favourite-product-heart {
  transition: transform 0.2s ease !important;
  transform: none;
}
.fav_hold_45_ai:hover,
.fav_hold_45_ai:focus,
.fav_hold_45_ai:focus-visible,
.fav_hold_45_ai:active,
.cls_pro_share:hover,
.cls_pro_share:focus,
.cls_pro_share:focus-visible,
.cls_pro_share:active,
.ios-share-trigger:hover,
.ios-share-trigger:focus,
.ios-share-trigger:focus-visible,
.ios-share-trigger:active,
.ios-favourite-product-heart:hover,
.ios-favourite-product-heart:focus,
.ios-favourite-product-heart:focus-visible,
.ios-favourite-product-heart:active {
  transform: scale(1.12) !important;
}
@media (prefers-reduced-motion: reduce) {
  .fav_hold_45_ai,
  .cls_pro_share,
  .ios-share-trigger,
  .ios-favourite-product-heart,
  .fav_hold_45_ai:hover,
  .fav_hold_45_ai:focus,
  .fav_hold_45_ai:focus-visible,
  .fav_hold_45_ai:active,
  .cls_pro_share:hover,
  .cls_pro_share:focus,
  .cls_pro_share:focus-visible,
  .cls_pro_share:active,
  .ios-share-trigger:hover,
  .ios-share-trigger:focus,
  .ios-share-trigger:focus-visible,
  .ios-share-trigger:active,
  .ios-favourite-product-heart:hover,
  .ios-favourite-product-heart:focus,
  .ios-favourite-product-heart:focus-visible,
  .ios-favourite-product-heart:active {
    transition: none !important;
    transform: none !important;
  }
}


/* Homepage Plan A cards: the heart is a direct child of .plana-card, not inside
   .ai_pro_btn_hld. The rules above force position:relative, so the icon falls into
   normal flow at the bottom left of the card, under the Buy button, and is clipped.
   Restore absolute placement at the top right of the photo, level with the % OFF
   pill (.plana-badge is top:8px; left:8px). Homepage cards do not have a share icon. */
.ios-home-plana .plana-card > .fav_hold_45.fav_hold_45_ai,
.ios-home-plana .plana-card > .fav_hold_45.fav_hold_45_ai:hover,
.ios-home-plana .plana-card > .fav_hold_45.fav_hold_45_ai:focus,
.ios-home-plana .plana-card > .fav_hold_45.fav_hold_45_ai:focus-visible,
.ios-home-plana .plana-card > .fav_hold_45.fav_hold_45_ai:active,
.ios-home-plana .plana-card.fav_hold_45_user_fav > .fav_hold_45.fav_hold_45_ai,
.ios-home-plana .plana-card > .fav_hold_45.fav_hold_45_ai.fav_hold_45_user_fav {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 3 !important;
}
