/* Vistas de 360° (fichas y galería). Primero móvil; objetivos táctiles de 44 px; foco visible del tema. */
.sc-360-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.sc-360 { margin: 0; background: var(--crema, #faf7f1); }
.sc-360-escena { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--tinta, #1b2a31); }
.sc-360-vista { display: block; width: 100%; height: 100%; object-fit: cover; }
.sc-360-abrir { position: absolute; inset: auto auto 16px 16px; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--navy, #0b2e3c); color: #fff; font: 700 1rem var(--sans, system-ui, sans-serif); cursor: pointer; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35); }
.sc-360-abrir::before { content: "360°"; font: 800 0.75rem/1 var(--sans, system-ui, sans-serif); padding: 5px 7px; border: 2px solid #fff; border-radius: 6px; }
.sc-360-abrir:hover { background: var(--bosque, #24453c); }
.sc-360-abrir:disabled { cursor: progress; opacity: 0.9; }
.sc-360-visor { width: 100%; height: 100%; }
.sc-360-visor:focus-visible { outline: 3px solid var(--foco-contorno, #12161f); outline-offset: -3px; box-shadow: inset 0 0 0 6px var(--foco, #ffd54a); }
.sc-360-controles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sc-360-boton { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--navy, #0b2e3c); color: #fff; font: 600 0.95rem var(--sans, system-ui, sans-serif); cursor: pointer; }
.sc-360-boton:hover { background: var(--bosque, #24453c); }
.sc-360-boton[aria-pressed="true"] { background: var(--bosque, #24453c); box-shadow: inset 0 0 0 3px #c3e3bb; }
.sc-360-boton[hidden] { display: none; }
.sc-360 figcaption { margin-top: 8px; color: var(--gris, #56636a); font-size: 0.9375rem; }
.sc-360-error { position: absolute; inset: auto 16px 16px; margin: 0; padding: 10px 14px; border-radius: 10px; background: #fbe9e7; color: var(--tinta, #1b2a31); }
.sc-360-estado { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Pantalla completa (API del navegador) y alternativa para iPhone (ocupa la ventana). */
.sc-360:fullscreen, .sc-360--completa { display: flex; flex-direction: column; padding: 8px; background: #000; }
.sc-360--completa { position: fixed; inset: 0; z-index: 100000; }
.sc-360:fullscreen .sc-360-escena, .sc-360--completa .sc-360-escena { flex: 1; aspect-ratio: auto; border-radius: 0; }
.sc-360:fullscreen figcaption, .sc-360--completa figcaption { display: none; }
.sc-360:fullscreen .sc-360-controles, .sc-360--completa .sc-360-controles { justify-content: center; }
.sc-360:fullscreen .sc-360-boton, .sc-360--completa .sc-360-boton { box-shadow: 0 0 0 2px #fff; }
html.sc-360-bloqueo, html.sc-360-bloqueo body { overflow: hidden; }
/* Galería «Descubre Sacedón en 360°». */
.sc-360-galeria { display: grid; gap: 48px; }
.sc-360-galeria h2 { font: 600 1.625rem/1.2 var(--serif, Georgia, serif); color: var(--navy, #0b2e3c); margin: 0 0 12px; }
.sc-360-galeria .sc-360-ficha { margin-top: 10px; }
@media (min-width: 900px) { .sc-360-galeria .sc-360-lista { grid-template-columns: repeat(2, 1fr); } }
