.product-crop-dialog{width:min(600px,calc(100% - 24px));max-height:90dvh;overflow:auto}.product-crop-stage{position:relative;width:100%;max-height:55dvh;margin:12px 0;background:#eeebf7;overflow:hidden}.product-crop-stage>img{width:100%;height:100%;display:block}.product-crop-selection{position:absolute;box-sizing:border-box;border:2px solid #fff;box-shadow:0 0 0 900px #0007;pointer-events:none}.product-crop-selection button{position:absolute;width:44px;height:44px;padding:0;background:transparent;border:0;pointer-events:auto;touch-action:none}.product-crop-selection button::after{content:'';position:absolute;inset:13px;border:3px solid white;border-radius:3px;background:#27187e}.product-crop-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.product-crop-fields label{font-size:.8rem}.product-crop-fields input{display:block;width:100%;min-height:44px;accent-color:#27187e}.product-crop-dialog summary{min-height:44px;display:flex;align-items:center;cursor:pointer}.product-crop-adjust{display:inline-flex;align-items:center;gap:6px;min-height:44px}.product-crop-adjust svg{width:18px;height:18px}

.product-crop-selection [data-corner=start]{top:0;left:0}.product-crop-selection [data-corner=end]{bottom:0;right:0}
