/* Floating restaurant-logo badge on card hero (top-start; mirrors in RTL
   so it sits opposite the RTL favorite heart). Decorative, non-interactive. */
.os-card .hero .os-card-brand-logo {
  position: absolute; top: 10px; left: 10px; right: auto; bottom: auto;
  z-index: 4;
  width: 44px; height: 44px; padding: 2px;
  box-sizing: border-box;
  background: #fff; border-radius: 10px;
  box-shadow: 0 2px 8px rgba(15,27,48,0.18);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; pointer-events: none;
  contain: layout paint;
}
[dir="rtl"] .os-card .hero .os-card-brand-logo { left: auto; right: 10px; }
.os-card .hero .os-card-brand-logo img,
.os-card .hero .os-card-brand-logo img.loaded {
  position: static; inset: auto;
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  object-fit: contain; object-position: center;
  opacity: 1; transition: none;
  border-radius: 8px; pointer-events: none;
  display: block;
}
@media (min-width: 720px) {
  .os-card .hero .os-card-brand-logo { width: 52px; height: 52px; border-radius: 12px; }
  .os-card .hero .os-card-brand-logo img { border-radius: 10px; }
}
/* Promo pills share the top-start corner; shift them below the badge. */
.os-card .hero .os-card-brand-logo ~ .promo-stack { top: 64px; }
@media (min-width: 720px) {
  .os-card .hero .os-card-brand-logo ~ .promo-stack { top: 72px; }
}
