/* Premium imagery, without masquerading generic diagrams as real products */
.sa71-photo-frame{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;min-width:0;aspect-ratio:4/3;padding:18px;border-radius:15px;background:linear-gradient(145deg,#fff 0%,#f5faff 100%);border:1px solid #e2ebf5;text-decoration:none!important;overflow:hidden;box-shadow:0 12px 36px #173a6309;transition:transform .22s ease,box-shadow .22s ease}
a.sa71-photo-frame:hover{transform:translateY(-3px);box-shadow:0 18px 42px #173a6319}
.sa71-photo-frame img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;display:block;position:relative;z-index:1;transition:transform .25s ease;filter:none!important}
.sa71-photo-frame:hover img{transform:scale(1.035)}
.sa71-photo-placeholder{display:none;flex-direction:column;gap:7px;align-items:center;justify-content:center;text-align:center;color:#52718e;padding:15px;position:absolute;inset:0;background:linear-gradient(160deg,#f8fbff,#ebf4fd)}
.sa71-photo-placeholder strong{color:#244666;font-size:.93rem}.sa71-photo-placeholder>span:last-child{font-size:.76rem;overflow-wrap:anywhere}
.sa71-photo-placeholder-icon{display:block;width:55px;height:43px;border:2px solid #b5cce2;border-radius:9px;position:relative;margin-bottom:9px;background:linear-gradient(130deg,#fff,#edf6ff)}
.sa71-photo-placeholder-icon:after{content:'';position:absolute;left:17px;top:10px;width:16px;height:16px;border:3px solid #b5cce2;border-radius:50%}
.sa71-photo-frame.sa71-unavailable .sa71-photo-placeholder{display:flex}.sa71-photo-frame.sa71-unavailable img{display:none}
.sa71-zoom-button{position:absolute;z-index:2;bottom:11px;right:11px;border:1px solid #c9ddeb;background:#fff;color:#1457a5;border-radius:10px;padding:9px 13px;box-shadow:0 4px 13px #173a6319;font-weight:700;cursor:pointer}.sa71-zoom-button:hover{background:#e8f3ff}
.sa71-photo-frame.sa71-unavailable .sa71-zoom-button,.sa71-zoom-button[hidden]{display:none}
.sa71-photo-dialog{width:min(920px,94vw);max-height:92vh;border:1px solid #ccdef0;border-radius:20px;box-shadow:0 22px 90px #102b4c66;padding:16px;background:#fff;color:#183b61}.sa71-photo-dialog::backdrop{background:#0d2249ae;backdrop-filter:blur(5px)}.sa71-photo-dialog-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:12px}.sa71-photo-dialog button{background:#eaf3ff;border:0;border-radius:9px;padding:9px 13px;color:#173a63;cursor:pointer}.sa71-photo-dialog img{display:block;max-width:100%;max-height:70vh;width:100%;object-fit:contain}.sa71-photo-dialog p{text-align:center;color:#54718b;font-size:.83rem;margin:10px 0 0}
.sa7-product-card .sa71-photo-frame{border-radius:18px 18px 0 0;border:0;border-bottom:1px solid #e2ebf5;min-height:185px;aspect-ratio:4/3;box-shadow:none}
.sa7-product-layout .sa71-photo-frame{aspect-ratio:4/3;width:100%}
.sa7-product-layout .sa71-photo-frame img{width:100%;height:100%}
.sa7-photo-block{display:none!important} /* obsolete generic product mockup — never displayed */
.v-product-card .sa71-photo-frame{width:100%;height:188px;aspect-ratio:auto;box-shadow:none;border-radius:0}
.v-product-banner .sa71-photo-frame{flex:0 0 min(36%,220px);height:auto;min-height:170px;max-height:230px;aspect-ratio:1/1}
.v-product-banner .sa71-photo-frame img{width:100%;max-height:100%;height:100%}
@media(max-width:680px){.v-product-banner{flex-wrap:wrap}.v-product-banner .sa71-photo-frame{flex-basis:100%;max-height:240px;aspect-ratio:4/3}.sa71-photo-dialog{width:96vw;padding:12px}}
@media(prefers-reduced-motion:reduce){.sa71-photo-frame,.sa71-photo-frame img{transition:none!important}}

/* SmartAlarme 7.3 — zoom photographique sans étirer le produit. */
.sa7-product-card .sa73-photo-frame,
.v-product-card .sa73-photo-frame {
  width:100%; height:clamp(225px,21vw,280px); min-height:225px;
  aspect-ratio:auto; padding:0; background:#f8fbff; overflow:hidden;
}
.sa73-photo-frame.sa73-shop-photo img.sa73-from-shop {
  width:100%; height:100%; max-height:none; max-width:none;
  object-fit:cover; object-position:center center;
  transform:scale(var(--sa73-photo-zoom,1.25));
  transform-origin:center; transition:transform .28s ease;
}
.sa73-photo-frame.sa73-shop-photo:hover img.sa73-from-shop {
  transform:scale(calc(var(--sa73-photo-zoom,1.25) + 0.06));
}
.sa73-photo-frame.sa73-custom-image img,
.sa73-photo-frame:not(.sa73-shop-photo) img {
  display:block; width:100%; height:100%; object-fit:contain;
  transform:none; padding:8px; box-sizing:border-box;
}
.sa7-product-layout .sa73-photo-frame,
.v-product-banner .sa73-photo-frame {
  height:auto; min-height:300px; aspect-ratio:4/3; padding:0;
}
.sa73-photo-frame.sa71-unavailable { background:#edf5fc; }
.sa73-photo-frame.sa71-unavailable .sa71-photo-placeholder { background:linear-gradient(160deg,#f8fbff,#edf5fc); }
.sa73-photo-frame:focus-visible { outline:3px solid #2277e8; outline-offset:3px; }
@media(max-width:900px) {
  .sa7-product-card .sa73-photo-frame,.v-product-card .sa73-photo-frame {height:245px;min-height:245px}
}
@media(max-width:520px) {
  .sa7-product-card .sa73-photo-frame,.v-product-card .sa73-photo-frame {height:260px;min-height:260px}
  .sa7-product-layout .sa73-photo-frame,.v-product-banner .sa73-photo-frame {min-height:260px}
}
@media(prefers-reduced-motion:reduce){.sa73-photo-frame img{transition:none!important}}

/* 7.4 : liens documentaires uniquement quand photographie absente */
.sa74-pending-actions{display:flex;gap:.65rem;justify-content:center;flex-wrap:wrap;align-items:center;position:relative;z-index:4;padding:.5rem .7rem .85rem;font-size:.8rem}.sa74-pending-actions a{color:#1550a8;text-decoration:underline;text-underline-offset:2px;background:#fff;border:1px solid #ccddf2;border-radius:10px;padding:.45rem .6rem;max-width:100%}.sa74-pending-actions a:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.sa71-has-photo .sa74-pending-actions{display:none}


/* 7.5 — Genuine customer-provided product photo, locally hosted and readable. */
.sa7-product-card .sa75-local-photo,.v-product-card .sa75-local-photo{background:#edf5fc;}
.sa73-photo-frame.sa75-local-photo:not(.sa73-custom-image) img.sa75-local-image{
 display:block;width:100%;height:100%;max-width:none;max-height:none;
 padding:0;object-fit:cover;object-position:50% 50%;transform:none;
}
.sa73-photo-frame.sa75-local-photo:not(.sa73-custom-image):hover img.sa75-local-image{transform:scale(1.025)}
.sa7-product-layout .sa75-local-photo:not(.sa73-custom-image) img.sa75-local-image,
.v-product-banner .sa75-local-photo:not(.sa73-custom-image) img.sa75-local-image{object-fit:contain;background:#edf5fc}
