.product-crop{margin:18px 0 0;padding:18px;border:1px solid #e1e4db;border-radius:12px;background:#fff}
.product-crop-heading h4{margin:0;font-size:16px}.product-crop-heading p{margin:6px 0 16px;font-size:12px;line-height:1.6}
.product-crop-viewport{position:relative;isolation:isolate;overflow:hidden;width:100%;max-width:320px;aspect-ratio:1;margin:auto;background:#faf9f6;border-radius:8px;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none;box-shadow:0 0 0 1px #ddd inset}
.product-crop-viewport:active{cursor:grabbing}.product-crop-viewport:focus-visible{outline:3px solid #ea580c;outline-offset:3px}
.product-crop-viewport>img,.product-crop-thumbnail>img{position:absolute;max-width:none;object-fit:fill;pointer-events:none;user-select:none;-webkit-user-drag:none}
.product-crop-grid{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,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(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))}
.product-crop-zoom{display:flex;align-items:center;gap:12px;margin:16px 0}.product-crop-zoom>button{flex:none;width:44px;height:44px;min-height:44px;padding:0;font-size:22px}
.product-crop-zoom label{flex:1;min-width:0;margin:0;font-size:12px}.product-crop-zoom output{float:right;font-variant-numeric:tabular-nums;color:#5e6656}.product-crop-zoom input{display:block;width:100%;padding:0;margin:5px 0 0;height:32px;border:0;accent-color:#ea580c}
.product-crop-preview{display:flex;gap:12px;align-items:center;padding:12px;border-radius:9px;background:#f8f9f5}.product-crop-preview strong{font-size:12px}.product-crop-preview p{margin:4px 0 0;font-size:11px;line-height:1.5}
.product-crop-thumbnail{position:relative;overflow:hidden;flex:none;width:64px;height:64px;border-radius:8px;background:#faf9f6}
.product-crop-secondary{display:flex;justify-content:space-between;gap:12px;margin:4px 0}.product-crop-secondary .brand-remove{min-height:44px;color:#555e4e;font-size:12px;text-underline-offset:3px;text-decoration:underline}
.product-crop-error{font-size:13px;font-weight:600;color:#b91c1c}.product-crop-error:empty{display:none}
.product-crop-actions{display:flex;gap:10px;padding-top:8px}.product-crop-actions>button{flex:1;min-height:44px;font-size:12px;padding:12px 10px}
.product-photo-upload #adjust-product-photo{min-height:44px;font-size:11px;padding:9px 13px}
.public-product-image{display:block;width:100%;height:auto;aspect-ratio:1;max-height:360px;object-fit:contain;background:#faf9f6}
.store .product-photo img{height:auto;aspect-ratio:1;object-fit:contain;background:#faf9f6}
@media(max-width:600px){.product-crop{padding:12px}.product-crop-heading h4{font-size:15px}.product-crop-heading p{font-size:12px}.product-crop-zoom{gap:10px}.product-crop-actions{gap:8px}.product-crop-actions>button{font-size:12px}.product-crop-preview{padding:10px;gap:10px}.product-photo-upload .brand-upload-actions{gap:10px}}
