/* Carrousel théâtre — affiches entières et navigation discrète. */
.alc-theatre{min-width:0;--theatre-orange:#F85903}
.alc-theatre .alc-theatre__heading{display:flex;width:100%;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.alc-theatre .alc-theatre__heading h2{margin:0;flex:1;min-width:0}
.alc-theatre__nav{display:flex;flex:none;gap:8px;margin-left:auto}
.alc-theatre__nav[hidden]{display:none}
.alc-theatre__nav button,.alc-theatre__close{display:inline-flex;align-items:center;justify-content:center;padding:0;background:#111;color:white;border:0;border-radius:50%;width:40px;height:40px;cursor:pointer;font-size:22px;transition:background .2s,opacity .2s}
.alc-theatre__nav button:hover:not(:disabled){background:var(--theatre-orange)}
.alc-theatre__nav button:disabled{opacity:.25;cursor:default}
.alc-theatre__viewport{position:relative;min-width:0}
.alc-theatre__viewport::before,.alc-theatre__viewport::after{content:"";position:absolute;top:0;bottom:12px;width:44px;z-index:2;pointer-events:none;opacity:0;transition:opacity .2s}
.alc-theatre__viewport::before{left:0;background:linear-gradient(90deg,#fff,rgba(255,255,255,0))}
.alc-theatre__viewport::after{right:0;background:linear-gradient(270deg,#fff,rgba(255,255,255,0))}
.alc-theatre.has-more-left .alc-theatre__viewport::before,.alc-theatre.has-more-right .alc-theatre__viewport::after{opacity:1}
.alc-theatre__track{display:flex;align-items:flex-start;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:4px;padding:8px 4px 16px;scrollbar-width:none;-ms-overflow-style:none}
.alc-theatre__track::-webkit-scrollbar{display:none}
.alc-theatre__card{flex:0 0 244px;min-width:0;scroll-snap-align:start}
.alc-theatre .alc-theatre__poster{position:relative;display:block;aspect-ratio:1080/1527;border:2px solid #111;border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 5px 14px rgba(0,0,0,.07);transition:transform .2s,box-shadow .2s}
.alc-theatre .alc-theatre__poster img{display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain;background:#fff;border-radius:0;margin:0}
.alc-theatre__card.is-current .alc-theatre__poster{border-color:var(--theatre-orange)}
.alc-theatre .alc-theatre__badge{position:static;display:inline-block;margin:14px 0 0;padding:4px 8px;border-radius:5px;background:#f0f0f0;color:#555;font-size:11px;font-weight:700;line-height:1.4}
.alc-theatre .is-current .alc-theatre__badge{background:#fff0e7;color:#a83a00}
.alc-theatre .alc-theatre__card h3{font-size:17px;font-weight:700;line-height:1.3;margin:8px 0 5px}
.alc-theatre .alc-theatre__card p{font-size:13px;line-height:1.5;margin:3px 0;color:#666}
.alc-theatre a:focus-visible,.alc-theatre button:focus-visible,.alc-theatre__track:focus-visible{outline:3px solid var(--theatre-orange);outline-offset:3px}
.alc-theatre__dialog{border:0;border-radius:16px;padding:50px 24px 24px;width:min(900px,90vw);max-height:90vh;overflow:auto;background:white;color:#111}
.alc-theatre__dialog:not([open]){display:none}
.alc-theatre__dialog::backdrop{background:rgba(0,0,0,.8)}
.alc-theatre__close{position:absolute;right:10px;top:10px}
.alc-theatre__details{display:grid;grid-template-columns:1fr 1fr;gap:25px}
.alc-theatre__details img{width:100%;height:auto}
.alc-theatre__booking{display:inline-block;background:var(--theatre-orange);color:white;padding:12px 20px;border-radius:8px;font-weight:bold}
.alc-theatre-editor{padding:20px;border:1px solid #ddd}
.alc-theatre-editor__piece{border:2px solid #111;border-radius:10px;padding:16px;margin:18px 0}
.alc-theatre-editor__piece img{display:block;width:100px;height:150px;object-fit:contain;margin-bottom:12px}
.alc-theatre-editor__piece button{margin:4px}
@media(hover:hover){.alc-theatre__poster:hover{transform:translateY(-4px);box-shadow:0 9px 20px rgba(0,0,0,.12)}}
@media(max-width:600px){.alc-theatre__card{flex-basis:44vw;max-width:220px}.alc-theatre__track{gap:14px}.alc-theatre__viewport::before,.alc-theatre__viewport::after{width:24px}.alc-theatre__details{grid-template-columns:1fr}.alc-theatre__details img{max-height:60vh;object-fit:contain}.alc-theatre__nav button{width:34px;height:34px;font-size:18px}}
@media(prefers-reduced-motion:reduce){.alc-theatre__poster,.alc-theatre__viewport::before,.alc-theatre__viewport::after,.alc-theatre__nav button{transition:none}}
