.purr-photo-replacement{max-width:440px;margin:16px 0 10px;padding:18px;border:1px solid #dfd4c6;border-radius:8px;background:#faf7f2;color:#394143;text-align:left}
.purr-photo-replacement>strong{display:block;font-size:16px;line-height:1.4}
.purr-photo-replacement p{font-size:14px;line-height:1.6;margin:8px 0 14px}
.purr-photo-replacement label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}
.purr-photo-replacement input[type=file]{display:block;max-width:100%;width:100%;font-size:13px;padding:8px 0;color:inherit}
.purr-photo-replacement input[type=file]::file-selector-button{padding:9px 12px;border:1px solid #c9c9c3;border-radius:4px;background:#fff;color:#394143;margin-right:8px;cursor:pointer;font:inherit}
.purr-photo-replacement small{display:block;font-size:12px;line-height:1.5;color:#657073;margin:6px 0 14px}
.woocommerce .purr-photo-replacement .button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;line-height:1.4;font-size:14px;background:#394143;color:#fff;border:0;border-radius:5px;white-space:normal}
.purr-photo-replacement .button:disabled{opacity:.6;cursor:wait}
.purr-photo-replacement .purr-replacement-status{font-size:13px;margin:10px 0 0}
.purr-photo-replacement .purr-replacement-status:empty{display:none}
.woocommerce .purr-photo-checkout-blocked:disabled{opacity:.55;cursor:not-allowed;white-space:normal;line-height:1.4}
@media(max-width:700px){.purr-photo-replacement{padding:14px}.purr-photo-replacement p{font-size:13px}}
.purr-photo-preview{display:inline-flex!important;align-items:center;gap:10px;margin:7px 0;color:#394143;font-size:13px;line-height:1.4;text-decoration:underline;text-underline-offset:3px}
.purr-photo-preview .purr-user-photo{display:block!important;float:none!important;width:72px!important;height:72px!important;max-width:none!important;margin:0!important;border:1px solid #e0e0dc;border-radius:4px;object-fit:contain;background:#f4f4f4}
.purr-photo-preview:focus-visible{outline:2px solid #394143;outline-offset:4px}
.purr-order-photo-expired,.purr-photo-preview-unavailable{font-size:13px;color:#657073}
.purr-photo-preview{cursor:pointer}
.purr-photo-dialog{position:fixed;inset:0;margin:auto;padding:0;border:0;border-radius:10px;width:min(760px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);background:#fff;color:#394143;box-shadow:0 20px 80px #0004;overflow:auto;overscroll-behavior:contain;font-family:inherit}
.purr-photo-dialog::backdrop{background:rgb(0 0 0 / .58)}
.purr-photo-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 16px 12px 22px;border-bottom:1px solid #e6e6e2}
.purr-photo-dialog .purr-photo-dialog-header h2{margin:0;font-size:18px;font-weight:600;line-height:1.4;color:inherit}
.purr-photo-dialog .purr-photo-dialog-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:1px solid #e1e1dd;border-radius:50%;background:#fff;color:#394143;font:30px/1 Arial,sans-serif;box-shadow:none;cursor:pointer}
.purr-photo-dialog-close:focus-visible{outline:2px solid #394143;outline-offset:3px}
.purr-photo-dialog-stage{display:flex;align-items:center;justify-content:center;min-height:220px;padding:18px;background:#f4f4f4}
.purr-photo-dialog-stage img{display:block;max-width:100%;width:auto;height:auto;max-height:calc(100dvh - 150px);margin:auto;object-fit:contain;border-radius:0}
.purr-photo-dialog [hidden]{display:none!important}
.purr-photo-dialog-status{max-width:450px;margin:24px;text-align:center;font-size:15px;line-height:1.6}
@media(max-width:600px){.purr-photo-dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.purr-photo-dialog-header{padding:10px 12px 10px 16px}.purr-photo-dialog .purr-photo-dialog-header h2{font-size:16px}.purr-photo-dialog-stage{padding:12px}.purr-photo-dialog-stage img{max-height:calc(100dvh - 125px)}}
