/* Halal badge (27 Nov 2026; Wendy: "add the Halal logo on every meat dish - not the words Halal, just the logo").
   Built HIDDEN: js/menu-live.js adds .halal-badge only when settings/public.halalBadge AND dish.halal are both true; js/shop-popout.js follows the card (data-halal).
   The badge is the client's own round badge as an image (alt="Halal"), no visible text. Photo top right; the red Sold out badge keeps top left.
   !important only because the photo rules (".product-photo img { width/height 100%; inset 0 }", shop.css / extras.css / home.css) are higher specificity and would stretch the badge to the whole photo. */
.halal-host { position: relative; }
img.halal-badge { position: absolute !important; top: 8px !important; right: 8px !important; bottom: auto !important; left: auto !important; inset: 8px 8px auto auto !important; z-index: 2; display: block !important; width: 40px !important; height: 40px !important; min-width: 0 !important; max-width: none !important; aspect-ratio: 1 !important; border-radius: 50%; object-fit: contain !important; padding: 0 !important; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); pointer-events: none; filter: none !important; }
.meal-thumb img.halal-badge { inset: 4px 4px auto auto !important; width: 28px !important; height: 28px !important; }
.popout-media { position: relative; }
.popout-media img.halal-badge.halal-badge--popout { inset: 12px 12px auto auto !important; width: 52px !important; height: 52px !important; }
/* a pop-out with no photo: the badge sits inline above the title */
.popout-body > img.halal-badge.halal-badge--popout { position: static !important; inset: auto !important; width: 44px !important; height: 44px !important; margin: 0 0 8px; }
@media (max-width: 767px) {
  img.halal-badge { inset: 6px 6px auto auto !important; width: 34px !important; height: 34px !important; }
  .popout-media img.halal-badge.halal-badge--popout { inset: 8px 8px auto auto !important; width: 44px !important; height: 44px !important; }
  .popout-body > img.halal-badge.halal-badge--popout { inset: auto !important; }
}
