/*
 | Photo plein écran de la fiche produit sur téléphone (thème Cartzilla, carte Task #457, 04/12/2026).
 | Comportement : js/photo-zoom.js. Une seule photo, agrandissable au doigt (pincer, double tap),
 | un bouton Fermer, AUCUN bouton Précédent / Suivant (ceux de GLightbox étaient martelés : clics
 | rageurs du 13/10/2026, d'où la visionneuse coupée sous 992 px).
 | Au-dessus des panneaux et de la barre d'achat collante (1032), sous la barre de l'extension CMW.
 */
.cz-pz {
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overscroll-behavior: contain;
}
.cz-pz[hidden] {
    display: none;
}
.cz-pz-stage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
}
.cz-pz-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform-origin: 50% 50%;
    will-change: transform;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}
.cz-pz-close {
    position: absolute;
    top: calc(.75rem + env(safe-area-inset-top, 0px));
    right: .75rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    min-height: 2.75rem;
    padding: .5rem 1rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #111;
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1;
}
.cz-pz-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
html.cz-pz-open,
html.cz-pz-open body {
    overflow: hidden;
}
