/* ==========================================================================
   Photos in demos (CC0 / public domain — see img/CREDITS.md)
   Loaded after app.css / site.css.
   ========================================================================== */
img.ph{display:block;object-fit:cover;background:var(--paper-2,#EAE5D8);max-width:100%}

/* POS product tiles */
.pos-tile img.pos-ph{width:100%;height:auto;aspect-ratio:4/3;margin-bottom:2px;transition:transform .25s var(--ease,ease)}
.pos-tile{overflow:hidden}
.pos-tile:hover img.pos-ph{transform:scale(1.04)}

/* square thumbnails in tables / cart / lists */
img.pthumb{flex:none;object-fit:cover;border:1px solid var(--line,#D9D3C4)}

/* warehouse item drawer hero */
img.drawer-ph{width:100%;max-height:240px;object-fit:cover}

/* chat simulator (kit.js chatSim): photo messages */
.msg img.msg-img{display:block;width:220px;max-width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;background:rgba(0,0,0,.06)}
.msg.me img.msg-img{margin:-2px -4px 0}
.chat-sugg button.sugg-img{display:inline-flex;align-items:center;gap:6px;padding:3px 12px 3px 3px}
.chat-sugg button.sugg-img img{width:24px;height:24px;border-radius:50%;object-fit:cover}

/* homepage omni spotlight phone: customer photo bubble */
.bub.has-img{padding:4px 4px 8px;max-width:72%}
.bub.has-img img.bub-img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px 12px 4px 12px;margin-bottom:6px}
.bub.has-img>div{padding:0 7px}

@media (prefers-reduced-motion:reduce){.pos-tile:hover img.pos-ph{transform:none}}
