/* V395.10: product-photo surfaces only. Source media files are never altered. */
/* Do not cover editorial Brand heroes, logos, invoices, photo-editors or placeholders. */
body.emwh-client-portal-page .emwh-v348-offer-media,
body.emwh-client-portal-page .emwh-v241-card-image,
body.emwh-client-portal-page .emwh-client-position-media,
body.emwh-client-portal-page .emwh-client-detail-media,
body.emwh-client-portal-page .emwh-client-trade-opportunity-media,
body.emwh-client-portal-page .emwh-client-watch-thumb,
body.emwh-client-portal-page .emwh-client-related-brand-image,
body.emwh-client-portal-page .emwh-client-operation-product-image,
body.emwh-client-portal-page .emwh-client-operation-product-thumb,
.emwh-app .emwh-position-product-thumb,
.emwh-app .emwh-publication-product-thumb,
.emwh-app .emwh-product-edit-image-preview,
.emwh-app .emwh-visual-thumb,
.emwh-app .emwh-simple-current-thumb,
.emwh-app .emwh-om-review-image,
.emwh-app .emwh-om-product-thumb,
.emwh-dam-screen-operational_media .emwh-operational-media-image {
  background:#fff!important;
  background-image:none!important;
}
/* A neutral photo surface with original item ratios: no forced equal-sized bottles. */
body.emwh-client-portal-page .emwh-v348-offer-media img,
body.emwh-client-portal-page .emwh-v241-card-image img,
body.emwh-client-portal-page .emwh-client-trade-opportunity-media img,
body.emwh-client-portal-page .emwh-client-position-media img,
body.emwh-client-portal-page .emwh-client-detail-media img,
.emwh-app .emwh-position-product-thumb img,
.emwh-app .emwh-publication-product-thumb img,
.emwh-app .emwh-product-edit-image-preview img,
.emwh-app .emwh-visual-thumb img,
.emwh-app .emwh-simple-current-thumb img,
.emwh-dam-screen-operational_media .emwh-operational-media-image img {
  object-fit:contain!important;
  object-position:center!important;
  mix-blend-mode:normal!important;
}
/* Avoid the previous forced 100%-of-cell sizing on portrait and short/wide bottles. */
body.emwh-client-portal-page .emwh-v348-offer-media img,
body.emwh-client-portal-page .emwh-v241-card-image img,
body.emwh-client-portal-page .emwh-client-trade-opportunity-media img {
  width:auto!important;
  height:auto!important;
  max-width:90%!important;
  max-height:88%!important;
}
.emwh-dam-screen-operational_media .emwh-operational-media-image img {
  width:auto!important;
  height:auto!important;
  max-width:calc(100% - 16px)!important;
  max-height:calc(100% - 16px)!important;
}
/* Zoom is additive: independent of card navigation and existing preview controls. */
.emwh-photo-zoom-host-v39510{position:relative!important;isolation:isolate}
.emwh-photo-zoom-button-v39510{position:absolute!important;top:8px!important;right:8px!important;z-index:8!important;display:flex!important;align-items:center!important;justify-content:center!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;border:1px solid #cedce8!important;border-radius:10px!important;background:rgba(255,255,255,.97)!important;color:#153b59!important;box-shadow:0 2px 9px rgba(12,39,62,.18)!important;cursor:zoom-in!important;opacity:1!important;padding:0!important;line-height:1!important}
.emwh-photo-zoom-button-v39510 svg{display:block!important;width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.emwh-photo-zoom-button-v39510:hover{background:#f4f9ff!important;transform:translateY(-1px)}
.emwh-photo-zoom-button-v39510:focus-visible{outline:3px solid #e7ac35!important;outline-offset:2px!important}
.emwh-photo-zoom-modal-v39510{position:fixed!important;inset:0!important;z-index:2147483600!important;display:none!important;align-items:center!important;justify-content:center!important;padding:12px!important;background:rgba(7,20,32,.91)!important}
.emwh-photo-zoom-modal-v39510.is-open{display:flex!important}
.emwh-photo-zoom-dialog-v39510{display:flex;flex-direction:column;width:min(96vw,1250px);height:min(94dvh,960px);background:#fff;border:1px solid #d9e4ed;border-radius:13px;overflow:hidden;box-shadow:0 24px 70px rgba(0,0,0,.32)}
.emwh-photo-zoom-toolbar-v39510{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-height:56px;padding:8px 12px;background:#f7fafc;border-bottom:1px solid #dce4ec}
.emwh-photo-zoom-toolbar-v39510 button{min-width:42px;min-height:40px;display:grid;place-items:center;border:1px solid #ced8e4;border-radius:8px;background:#fff;color:#1b3d58;font-size:22px;cursor:pointer}
.emwh-photo-zoom-toolbar-v39510 button:focus-visible{outline:3px solid #e7ac35;outline-offset:2px}
.emwh-photo-zoom-toolbar-v39510 [data-emwh-zoom-close]{font-size:13px;font-weight:800;padding:0 12px}
.emwh-photo-zoom-stage-v39510{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:0;padding:12px;overflow:hidden;background:#fff}
.emwh-photo-zoom-stage-v39510 img{display:block;max-width:95%;max-height:95%;width:auto;height:auto;object-fit:contain;transform-origin:center center;transition:transform .1s ease;user-select:none;-webkit-user-drag:none}
body.emwh-photo-zoom-open-v39510{overflow:hidden!important}
@media(max-width:760px){.emwh-photo-zoom-button-v39510{top:5px!important;right:5px!important;width:35px!important;height:35px!important;min-width:35px!important;min-height:35px!important}.emwh-photo-zoom-modal-v39510{padding:0!important}.emwh-photo-zoom-dialog-v39510{width:100vw;height:100dvh;max-width:100%;border-radius:0}.emwh-photo-zoom-stage-v39510{padding:8px}.emwh-photo-zoom-toolbar-v39510{padding-top:max(8px,env(safe-area-inset-top));min-height:56px}}
/* Restore full-white display surfaces on public Market Positions too. */
body.emwh-public-standalone .emwh-public-position-media:not(.emwh-public-position-media--placeholder),
body.emwh-public-standalone .emwh-public-detail-media:not(.emwh-public-detail-media-placeholder),
body.emwh-public-position-detail-page .emwh-public-product-media,
.emwh-app .emwh-product-profile-image,
.emwh-app .emwh-product-main-image-preview,
.emwh-app .emwh-product-media-preview,
.emwh-app .emwh-visual-thumb {
  background:#fff!important;
  background-image:none!important;
}
/* A regular photo canvas, not forced identical bottle silhouettes. */
body.emwh-client-portal-page .emwh-v241-card-image img,
body.emwh-client-portal-page .emwh-client-position-media img,
body.emwh-client-portal-page .emwh-client-detail-media img,
body.emwh-public-standalone .emwh-public-position-media img,
body.emwh-public-standalone .emwh-public-detail-media img,
.emwh-app .emwh-product-profile-image img,
.emwh-app .emwh-product-main-image-preview img,
.emwh-app .emwh-visual-thumb img {
  object-fit:contain!important;
  object-position:center!important;
  mix-blend-mode:normal!important;
}
body.emwh-client-portal-page .emwh-v241-card-image img {
  width:auto!important;
  height:auto!important;
  max-width:96%!important;
  max-height:94%!important;
}
/* Existing native loupe: do not create a second control. Make it visible. */
body.emwh-client-portal-page .emwh-client-position-media[data-emwh-label-preview] .emwh-client-position-zoom-mark,
body.emwh-public-standalone .emwh-public-position-media[data-emwh-image-zoom] .emwh-public-image-zoom-mark {
  display:grid!important;
  place-items:center!important;
  visibility:visible!important;
  opacity:1!important;
  width:30px!important;
  height:30px!important;
  right:5px!important;
  bottom:5px!important;
  border:2px solid #fff!important;
  border-radius:9px!important;
  background:#173f61!important;
  color:#fff!important;
  box-shadow:0 3px 11px rgba(10,30,52,.28)!important;
  pointer-events:none!important;
  z-index:5!important;
}
body.emwh-client-portal-page .emwh-client-position-media[data-emwh-label-preview] .emwh-client-position-zoom-mark svg,
body.emwh-public-standalone .emwh-public-position-media[data-emwh-image-zoom] .emwh-public-image-zoom-mark svg {
  width:16px!important;
  height:16px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2.2!important;
}
/* Overlay magnifier is a sibling of media links, never a nested button. */
.emwh-photo-zoom-host-v39510{position:relative!important;isolation:auto!important}
.emwh-photo-zoom-button-v39510{
  position:absolute!important;
  top:var(--photo-zoom-top,6px)!important;
  left:var(--photo-zoom-left,auto)!important;
  right:auto!important;
  bottom:auto!important;
  z-index:20!important;
}
.emwh-photo-zoom-button-v39510.is-thumbnail{
  width:29px!important;height:29px!important;
  min-width:29px!important;min-height:29px!important;
  border-radius:7px!important;
}
.emwh-photo-zoom-button-v39510.is-thumbnail svg{width:16px!important;height:16px!important}
@media(max-width:760px){
  body.emwh-client-portal-page .emwh-client-position-media[data-emwh-label-preview] .emwh-client-position-zoom-mark,
  body.emwh-public-standalone .emwh-public-position-media[data-emwh-image-zoom] .emwh-public-image-zoom-mark{
    width:29px!important;height:29px!important;
  }
}
/* Full-size details already open on click: show a recognisable lens overlay. */
body.emwh-client-portal-page .emwh-client-detail-media:has(img),
body.emwh-public-standalone .emwh-public-detail-media:has(img){position:relative!important;cursor:zoom-in!important}
body.emwh-client-portal-page .emwh-client-detail-media:has(img)::after,
body.emwh-public-standalone .emwh-public-detail-media:has(img)::after{
  content:'\2315';
  position:absolute;
  right:10px;
  bottom:10px;
  z-index:5;
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  background:#173f61;
  color:#fff;
  border:2px solid #fff;
  border-radius:9px;
  box-shadow:0 3px 11px rgba(10,30,52,.28);
  font:700 25px/1 Arial,sans-serif;
  pointer-events:none;
}
