/* CFM · zoom de producto estilo ecommerce / medios de pago */
body.ae35-body .cfm-zoom-shell{position:relative;min-width:0;isolation:isolate}
body.ae35-body .cfm-zoom-stage{position:relative}
body.ae35-body .cfm-zoom-stage>img#detail-main-img{user-select:none;-webkit-user-drag:none}
body.ae35-body .cfm-zoom-open{position:absolute;z-index:3;right:13px;bottom:13px;display:grid;place-items:center;width:39px;height:39px;min-width:39px;min-height:39px;padding:0;border:1px solid #d6e2ed;border-radius:10px;background:rgba(255,255,255,.96);color:#194e7a;box-shadow:0 3px 12px #0b28401e;cursor:zoom-in;touch-action:manipulation}
body.ae35-body .cfm-zoom-open:hover,body.ae35-body .cfm-zoom-open:focus-visible{background:#e7f2ff;border-color:#1673cf;color:#0758a5;outline:2px solid transparent}
body.ae35-body .cfm-zoom-open:focus-visible{outline:3px solid #65adf4;outline-offset:2px}
body.ae35-body .cfm-zoom-lens{position:absolute;z-index:2;left:var(--cfm-zoom-x,50%);top:var(--cfm-zoom-y,50%);width:40%;height:40%;background:rgba(16,110,198,.11);border:1px solid rgba(9,96,177,.48);box-shadow:inset 0 0 0 1px #ffffffa0;transform:translate(-50%,-50%);pointer-events:none;opacity:0;visibility:hidden}
body.ae35-body .cfm-zoom-preview{position:absolute;z-index:25;left:calc(100% + 14px);top:0;width:100%;aspect-ratio:1/1;border:1px solid #cbdbea;border-radius:14px;background:#fff;box-shadow:0 19px 45px rgba(8,28,52,.19);pointer-events:none;overflow:hidden;opacity:0;visibility:hidden}
body.ae35-body .cfm-zoom-preview>img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain;object-position:center;transform-origin:top left;transform:translate(var(--cfm-zoom-tx,0%),var(--cfm-zoom-ty,0%)) scale(2.5);will-change:transform}
body.ae35-body .cfm-zoom-shell.is-zooming .cfm-zoom-lens,body.ae35-body .cfm-zoom-shell.is-zooming .cfm-zoom-preview{opacity:1;visibility:visible}
body.ae35-body .ae51-gallery.cfm-zoom-gallery-active{z-index:40}
body.ae35-body .cfm-zoom-dialog{position:fixed;inset:0;width:min(1100px,94vw);max-width:94vw;max-height:94dvh;margin:auto;padding:48px 18px 18px;border:1px solid #dce5ed;border-radius:16px;background:#fff;box-shadow:0 22px 80px #091d3555;overflow:auto}
body.ae35-body .cfm-zoom-dialog::backdrop{background:rgba(8,24,45,.75)}
body.ae35-body .cfm-zoom-dialog:not([open]){display:none}
body.ae35-body .cfm-zoom-dialog>img{display:block;width:100%;height:auto;max-height:calc(94dvh - 80px);object-fit:contain;margin:auto}
body.ae35-body .cfm-zoom-close{position:absolute;right:10px;top:8px;min-width:34px;min-height:34px;border:0;background:#edf3f9;border-radius:9px;color:#173d60;font-size:26px;line-height:1;cursor:pointer}
body.ae35-body .cfm-zoom-close:focus-visible{outline:3px solid #65adf4;outline-offset:2px}
/* La franja de pagos ya tiene dos columnas; la imagen se dimensiona sin recortes. */
body.ae35-body .ae94-payment-panel .ae94-payment-top>img.ae93-payment-image{display:block;min-width:0;width:100%;max-width:250px;height:auto;max-height:48px;object-fit:contain;object-position:right center;justify-self:end}
@media(hover:hover) and (pointer:fine) and (min-width:901px){body.ae35-body .cfm-zoom-stage:has(>img#detail-main-img){cursor:crosshair}}
@media(max-width:900px),(hover:none),(pointer:coarse){body.ae35-body .cfm-zoom-lens,body.ae35-body .cfm-zoom-preview{display:none!important}}
@media(max-width:650px){body.ae35-body .cfm-zoom-open{right:10px;bottom:10px}body.ae35-body .ae94-payment-panel .ae94-payment-top>img.ae93-payment-image{max-width:100%;max-height:46px}}
@media(prefers-reduced-motion:reduce){body.ae35-body .cfm-zoom-preview>img{will-change:auto}}
