.ai-photo-cropper{box-sizing:border-box;width:min(640px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;padding:0;border:0;border-radius:20px;background:#1b1a22;color:#fff;font:inherit;box-shadow:0 24px 80px #201b2c40}.ai-photo-cropper::backdrop{background:#201b2cb3}.ai-photo-cropper__panel{display:flex;flex-direction:column;gap:16px;padding:24px}.ai-photo-cropper h2{margin:0;color:inherit;font:inherit;font-size:24px;font-weight:700}.ai-photo-cropper p{margin:0;font-size:16px;line-height:1.5}.ai-photo-cropper__workspace{display:flex;align-items:center;justify-content:center;width:100%;height:clamp(120px,calc(100dvh - 400px),400px);background:#232150;border-radius:14px}.ai-photo-cropper__frame{position:relative;flex:none;overflow:hidden;outline:2px dashed #a796ff;background:#fff;cursor:grab;touch-action:none}.ai-photo-cropper__frame:active{cursor:grabbing}.ai-photo-cropper canvas{display:block;width:100%;height:100%}.ai-photo-cropper__grid{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;box-shadow:inset 0 0 0 1px #fff;background:linear-gradient(to right,transparent calc(33.333% - .5px),#ffffff80 33.333%,transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#ffffff80 66.666%,transparent calc(66.666% + .5px)),linear-gradient(to bottom,transparent calc(33.333% - .5px),#ffffff80 33.333%,transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#ffffff80 66.666%,transparent calc(66.666% + .5px))}.ai-photo-cropper__zoom{display:flex;align-items:center;gap:16px;min-height:44px;font-size:16px;font-weight:600}.ai-photo-cropper input{flex:1;min-width:0;min-height:44px;accent-color:#a796ff;cursor:pointer}.ai-photo-cropper__warning{padding:12px;border-radius:8px;background:#3a3216;color:#ffe9a8}.ai-photo-cropper__error{color:#ff8b95}.ai-photo-cropper__actions{display:flex;justify-content:flex-end;gap:12px}.ai-photo-cropper button{min-width:100px;min-height:44px;padding:10px 20px;border:1px solid #a796ff;border-radius:999px;background:#2a2650;color:#fff;font:inherit;font-size:16px;font-weight:600;cursor:pointer}.ai-photo-cropper button:last-child{background:linear-gradient(105deg,#b0a3ff,#5a48e0);color:#fff}.ai-photo-cropper button:hover{filter:brightness(.94)}.ai-photo-cropper button:disabled{opacity:.6;cursor:wait}.ai-photo-cropper :focus-visible{outline:3px solid #503d88;outline-offset:3px}.ai-photo-cropper [hidden]{display:none}.ai-scene-upload__recrop{min-height:44px}@media(max-width:749px){.ai-photo-cropper{width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.ai-photo-cropper__panel{box-sizing:border-box;min-height:100%;padding:max(20px,env(safe-area-inset-top)) 16px max(20px,env(safe-area-inset-bottom))}.ai-photo-cropper__workspace{flex:1;min-height:120px}.ai-photo-cropper__actions{margin-top:auto}.ai-photo-cropper__actions button{flex:1}}
/*# sourceMappingURL=/cdn/shop/t/85/assets/ai-photo-cropper.css.map */
