.pr-ora { display: inline-flex; align-items: center; gap: .6em; margin-top: 1.2rem; padding: .5rem 1rem; border-radius: 999px; background: rgba(250, 249, 243, .1); box-shadow: inset 0 0 0 1px rgba(250, 249, 243, .18); font: 600 .92rem/1 var(--display); color: var(--avorio); }
.pr-ora[hidden] { display: none; }
.pr-ora::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--tile-2); animation: od-batti 1.8s infinite; }
.pr-ora.aperto::before { background: #46d07f; }

.pr-form { display: grid; gap: clamp(8px, 1.4vw, 14px); }
.pr-sez { position: relative; border: 0; margin: 0; padding: 0 0 clamp(18px, 2.6vw, 28px); min-inline-size: 0; transition: opacity .5s var(--ease), filter .5s var(--ease); }
.pr-sez + .pr-sez { padding-top: clamp(18px, 2.6vw, 28px); border-top: 1.5px dashed var(--linea); }
.pr-sez:last-of-type { padding-bottom: 0; }
.pr-sez legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px; font: 800 clamp(1.4rem, 2.6vw, 1.9rem)/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.pr-sez legend + * { clear: both; }
.pr-sez legend b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--burro); font: 800 .95rem/1 var(--display); letter-spacing: 0; transition: background .4s, transform .5s var(--molla); }
.pr-sez.fatta legend b { background: var(--tile); color: var(--ink); transform: rotate(360deg) scale(1.05); }
.pr-sez.bloccata { opacity: .38; filter: grayscale(.6); pointer-events: none; }
.pr-sez[hidden] { display: none; }

.od-modi.pr-tre { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pr-tre .od-modo { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
.pr-tre .od-modo svg { width: 48px; height: 48px; }
.od-modi.pr-due { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pr-due .od-modo { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
.pr-due .od-modo svg { width: 48px; height: 48px; }
#pr-sez-zona[hidden] { display: none; }
.pr-sala.fuori { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pr-sala.fuori .pr-t { width: min(100%, 84px); }

.pr-omini { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.pr-om { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 8px; border: 0; border-radius: 18px; background: var(--avorio); box-shadow: inset 0 0 0 1.5px var(--linea); cursor: pointer; transition: background .3s, box-shadow .3s, transform .4s var(--molla); }
.pr-om svg { width: 34px; height: 40px; color: var(--ink-3); opacity: .45; transition: color .3s, opacity .3s, transform .5s var(--molla); }
.pr-om span { font: 800 .95rem/1 var(--display); color: var(--muto); }
.pr-om.on svg { color: var(--tile); opacity: 1; animation: od-pop .5s var(--molla) both; animation-delay: calc(var(--i) * 35ms); }
.pr-om.on span { color: var(--ink); }
.pr-om:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--tile); }
.pr-om[aria-checked="true"] { background: var(--pesca); box-shadow: inset 0 0 0 2.5px var(--tile); }
@keyframes od-pop { 0% { transform: scale(.4) translateY(10px); } 70% { transform: scale(1.18); } 100% { transform: none; } }

.pr-giorni { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.pr-g { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 2px 9px; border: 0; border-radius: 16px; background: var(--avorio); box-shadow: inset 0 0 0 1.5px var(--linea); cursor: pointer; text-transform: capitalize; transition: background .3s, box-shadow .3s, transform .4s var(--molla), color .3s; }
.pr-g b { font: 600 .7rem/1 var(--corpo); letter-spacing: .06em; text-transform: uppercase; color: var(--muto); }
.pr-g strong { font: 800 1.45rem/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.pr-g small { font: 500 .66rem/1 var(--corpo); color: var(--muto); }
.pr-g:hover:not([disabled]) { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--tile); }
.pr-g[aria-checked="true"] { background: var(--tile); box-shadow: 0 12px 22px -12px rgba(169, 201, 147, .95); transform: scale(1.06); }
.pr-g[aria-checked="true"] :is(b, small) { color: var(--ink); opacity: .75; }
.pr-g.oggi::after { content: ''; position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--tile); }
.pr-g[aria-checked="true"].oggi::after { background: var(--ink); }
.pr-g[disabled] { cursor: not-allowed; background: transparent; box-shadow: inset 0 0 0 1.5px var(--linea); }
.pr-g[disabled] strong { color: var(--muto); text-decoration: line-through; text-decoration-thickness: 2px; opacity: .55; }
.pr-altra { margin-top: 10px; display: flex; }
.pr-h3-slot { margin-top: 22px; }
.pr-h3-slot[hidden] { display: none; }

.pr-slot { display: grid; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 8px; }
.pr-s { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 11px 6px 10px; border: 0; border-radius: 16px; background: var(--avorio); box-shadow: inset 0 0 0 1.5px var(--linea); cursor: pointer; font: 800 1.05rem/1 var(--display); color: var(--ink); letter-spacing: -.01em; transition: background .3s, box-shadow .3s, transform .4s var(--molla); overflow: hidden; }
.pr-s i { display: block; width: 64%; height: 6px; border-radius: 4px; background: rgba(32, 63, 50, .1); position: relative; overflow: hidden; }
.pr-s i::after { content: ''; position: absolute; inset: 0; width: var(--l, 100%); border-radius: 4px; background: var(--verde); transition: width .8s var(--ease); }
.pr-s.medio i::after { background: #e0a020; }
.pr-s.poco i::after { background: var(--terra); }
.pr-s small { font: 500 .66rem/1 var(--corpo); color: var(--muto); }
.pr-s:hover:not([disabled]), .pr-s:focus-visible { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--tile); }
.pr-s[aria-checked="true"] { background: var(--ink); color: var(--avorio); box-shadow: 0 14px 24px -14px rgba(32, 63, 50, .9); transform: scale(1.05); }
.pr-s[aria-checked="true"] small { color: rgba(250, 249, 243, .7); }
.pr-s[aria-checked="true"] i { background: rgba(255, 255, 255, .22); }
.pr-s[disabled] { cursor: not-allowed; background: transparent; color: var(--muto); }
.pr-s[disabled] > span { text-decoration: line-through; opacity: .6; }
.pr-s.entra { animation: od-riga-in .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 25ms); }

.pr-sala-box { margin-top: clamp(22px, 3vw, 30px); }
.pr-sala-box[hidden] { display: none; }
.pr-sala { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(26px, 4vw, 38px) clamp(10px, 2vw, 22px); padding: 56px clamp(16px, 3vw, 30px) 56px; border-radius: 26px; background:
  linear-gradient(90deg, rgba(169, 201, 147, .1) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(rgba(169, 201, 147, .1) 1px, transparent 1px) 0 0 / 28px 28px, var(--avorio); box-shadow: inset 0 0 0 1px var(--linea); }
.pr-sala::before, .pr-sala::after { position: absolute; left: 12%; right: 12%; text-align: center; font: 700 .68rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muto); }
.pr-sala::before { content: attr(data-vetrina); top: 14px; padding-bottom: 8px; border-bottom: 3px solid rgba(32, 63, 50, .18); border-radius: 2px; }
.pr-sala::after { content: attr(data-banco); bottom: 14px; padding-top: 8px; border-top: 3px solid rgba(32, 63, 50, .18); }
.pr-t { position: relative; width: min(100%, 112px); justify-self: center; aspect-ratio: 1; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--crema-3); color: var(--ink); font: 800 clamp(1.1rem, 2.4vw, 1.5rem)/1 var(--display); box-shadow: 0 8px 14px -8px rgba(32, 63, 50, .5), inset 0 0 0 3px var(--linea); transition: background .5s var(--ease), box-shadow .5s, transform .6s var(--molla), color .4s; cursor: default; }
.pr-t small { position: absolute; bottom: 15%; font: 600 .6rem/1 var(--corpo); opacity: .6; }
.pr-t::before, .pr-t::after { content: ''; position: absolute; width: 22%; height: 9%; border-radius: 6px; background: var(--pesca-2); top: -10%; left: 39%; transition: background .4s; }
.pr-t::after { top: auto; bottom: -10%; }
.pr-t.occ { background: repeating-linear-gradient(45deg, var(--crema-2) 0 6px, var(--pesca-2) 6px 12px); color: var(--muto); box-shadow: inset 0 0 0 3px var(--linea); transform: scale(.92); }
.pr-t.occ::before, .pr-t.occ::after { background: var(--linea); }
.pr-t.mio { background: var(--tile); color: var(--ink); transform: scale(1.1); box-shadow: 0 16px 24px -10px rgba(169, 201, 147, .95), inset 0 0 0 3px var(--ink); animation: od-pop .6s var(--molla) both; animation-delay: calc(var(--i, 0) * 90ms); }
.pr-t.mio::before, .pr-t.mio::after { background: var(--ink); }
.pr-legenda { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0 0; padding: 0; font-size: .82rem; color: var(--muto); }
.pr-legenda li { display: flex; align-items: center; gap: 7px; }
.pr-legenda i { width: 14px; height: 14px; border-radius: 50%; background: var(--crema-3); box-shadow: inset 0 0 0 2.5px var(--linea); }
.pr-legenda i.t { background: var(--tile); box-shadow: inset 0 0 0 2.5px var(--ink); }
.pr-legenda i.o { background: repeating-linear-gradient(45deg, var(--crema-2) 0 3px, var(--pesca-2) 3px 6px); }
.pr-note { margin-top: 16px; }

.pr-biglietto .pr-b-titolo { margin: 14px 0 0; font: 800 1.05rem/1 var(--display); letter-spacing: -.01em; }
.pr-b-meta { margin-top: 12px; border-top: 0; padding-top: 0; font-size: .86rem; gap: 8px; }
.pr-b-meta:empty { display: none; }
.pr-biglietto .btn.pr-b-invia { width: 100%; margin-top: 16px; font-family: var(--display); }
.pr-biglietto .od-s-nota { text-align: left; margin-top: 10px; line-height: 1.4; }
.pr-biglietto .od-s-vuoto[hidden] { display: none; }

.pr-ok-dati { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 26px auto 0; max-width: 560px; text-align: left; }
.pr-ok-dati div { padding: 12px 14px; border-radius: 16px; background: var(--avorio); box-shadow: inset 0 0 0 1px var(--linea); }
.pr-ok-dati small { display: block; font: 700 .68rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muto); }
.pr-ok-dati strong { display: block; margin-top: 5px; font: 700 1rem/1.25 var(--display); }
.pr-ok-azioni .btn { min-height: 48px; }

@media (max-width: 1000px) {
  .pr-biglietto { order: 3; }
}
@media (max-width: 640px) {
  .od-modi.pr-tre { grid-template-columns: minmax(0, 1fr); }
  .pr-tre .od-modo, .pr-due .od-modo { flex-direction: row; align-items: center; }
  .pr-omini { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pr-giorni { display: flex; overflow-x: auto; scroll-snap-type: x proximity; margin-inline: -4px; padding: 4px; scrollbar-width: none; }
  .pr-g { flex: 0 0 66px; scroll-snap-align: start; }
  .pr-slot { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
  .pr-sala { padding: 40px 14px; }
}

.pr-form[hidden], .pr-ok[hidden] { display: none; }
.pr-ok .od-flap { gap: 5px; }
.pr-ok .od-flap span { width: clamp(30px, 8.4vw, 50px); height: clamp(46px, 12vw, 70px); font-size: clamp(1.4rem, 5vw, 2.3rem); border-radius: 9px; }
.pr-biglietto .btn.pr-b-invia[hidden] { display: none; }

@media (max-width: 460px) {
  .od-modi.pr-due { grid-template-columns: minmax(0, 1fr); }
}
