/* Recortador de imágenes (v1.27) — sitio y escritorio. */
.snt-crop { width: min(960px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 0; background: #fff; color: #111; box-shadow: 0 24px 64px rgba(0, 0, 0, .35); font-family: inherit; }
.snt-crop::backdrop { background: rgba(10, 12, 16, .72); }
.snt-crop__box { display: grid; grid-template-rows: auto auto auto auto auto; overflow-y: auto; gap: 12px; max-height: calc(100dvh - 32px); padding: 20px 24px; box-sizing: border-box; margin: 0; }
.snt-crop__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 4px solid #E31E24; padding-top: 12px; }
.snt-crop__head h2 { margin: 0; font-size: 1.25rem; line-height: 1.3; color: inherit; }
.snt-crop__count { margin: 0; font-size: .875rem; color: #5A5A5A; }
.snt-crop__help { margin: 0; font-size: .875rem; line-height: 1.5; color: #5A5A5A; }
.snt-crop__stage { position: relative; height: min(56dvh, 520px); min-height: 220px; background: #F4F4F4; outline-offset: 2px; }
.snt-crop__stage:focus-visible { outline: 3px solid #0065BA; }
.snt-crop__stage img { display: block; max-width: 100%; }
.snt-crop__tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.snt-crop__ratios { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.snt-crop__ratios legend { float: left; margin: 0 8px 0 0; padding: 0; font-size: .8125rem; font-weight: 700; line-height: 40px; }
.snt-crop__ratio { position: relative; display: inline-flex; margin: 0; }
.snt-crop__ratio[hidden] { display: none; }
.snt-crop__ratio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.snt-crop__ratio span { display: inline-flex; align-items: center; justify-content: center; min-width: 88px; height: 40px; padding: 0 12px; border: 1px solid #C9C9C9; background: #fff; font-size: .8125rem; font-weight: 600; cursor: pointer; box-sizing: border-box; }
.snt-crop__ratio input:checked + span { background: #111; border-color: #111; color: #fff; }
.snt-crop__ratio input:focus-visible + span { outline: 3px solid #0065BA; outline-offset: 2px; }
.snt-crop__btns { display: flex; gap: 6px; }
.snt-crop__tool { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #C9C9C9; background: #fff; color: #111; cursor: pointer; }
.snt-crop__tool:hover, .snt-crop__ratio span:hover { border-color: #111; }
.snt-crop__tool:focus-visible, .snt-crop__btn:focus-visible { outline: 3px solid #0065BA; outline-offset: 2px; }
.snt-crop__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.snt-crop__foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 1px solid #E0E0E0; padding-top: 14px; }
.snt-crop__btn { min-height: 48px; padding: 0 16px; border: 1px solid #111; background: #fff; color: #111; font: inherit; font-size: .875rem; font-weight: 700; letter-spacing: .02em; cursor: pointer; }
.snt-crop__btn[hidden] { display: none; }
.snt-crop__btn--primary { background: #111; color: #fff; }
.snt-crop__btn--primary:hover { background: #E31E24; border-color: #E31E24; }
.snt-crop__btn--ghost:hover { background: #F4F4F4; }
.snt-crop .cropper-view-box { outline: 2px solid #fff; outline-color: rgba(255, 255, 255, .9); }
.snt-crop .cropper-line, .snt-crop .cropper-point { background-color: #0065BA; }
.snt-crop .cropper-point { width: 10px; height: 10px; opacity: 1; }
@media (max-width: 640px) {
	.snt-crop__box { padding: 16px; }
	.snt-crop__stage { height: 38dvh; min-height: 200px; }
	.snt-crop__help { font-size: .8125rem; }
	.snt-crop__tools { display: grid; gap: 8px; }
	.snt-crop__ratios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
	.snt-crop__ratio, .snt-crop__ratio span { width: 100%; min-width: 0; }
	.snt-crop__ratio span { padding: 0 4px; font-size: .75rem; }
	.snt-crop__btns { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.snt-crop__tool { width: 100%; }
	.snt-crop__foot { grid-template-columns: 1fr 1fr; }
	.snt-crop__foot .snt-crop__btn--primary { grid-column: 1 / -1; order: -1; }
	.snt-crop__ratios legend { float: none; width: 100%; line-height: 1.4; }
}

/* Zona importante (detalle de la imagen) */
.snt-focus__frame { position: relative; display: inline-block; max-width: 100%; cursor: crosshair; line-height: 0; }
.snt-focus__frame:focus-visible { outline: 3px solid #0065BA; outline-offset: 2px; }
.snt-focus__frame img { max-width: 100%; height: auto; }
.snt-focus__dot { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 3px solid #fff; border-radius: 50%; background: #E31E24; box-shadow: 0 0 0 2px #111, 0 2px 8px rgba(0, 0, 0, .4); pointer-events: none; }
.snt-focus__dot[hidden] { display: none; }
.snt-media__crop[hidden] { display: none; }
