/* Garda Nest · prenotazione online con il motore Guesty (PP-GUESTY v1, 18/11/2026, +Prenotazioni) */

/* ---- finestra di prenotazione ---- */
.gnp { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; font-family: var(--font-sans, 'Inter', -apple-system, system-ui, sans-serif); }
.gnp[hidden] { display: none; }
.gnp, .gnp * { cursor: auto !important; box-sizing: border-box; }
.gnp .gnp-velo, .gnp .gnp-chiudi, .gnp .gnp-fuori, .gnp .gnp-lento a { cursor: pointer !important; }
.gnp-velo { position: absolute; inset: 0; background: rgba(15, 27, 41, 0.64); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.3s ease; }
.gnp-foglio { position: relative; display: flex; flex-direction: column; width: min(740px, calc(100vw - 48px)); height: calc(100vh - 48px); height: calc(100dvh - 48px); max-height: 1000px; background: #FAF6EC; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(232, 201, 138, 0.18); opacity: 0; transform: translateY(22px) scale(0.985); transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1), transform 0.32s cubic-bezier(0.22, 1, 0.36, 1); }
.gnp.gnp-on .gnp-velo { opacity: 1; }
.gnp.gnp-on .gnp-foglio { opacity: 1; transform: none; }

.gnp-barra { flex: none; display: flex; align-items: center; gap: 6px; min-height: 64px; padding: 10px 10px 10px 22px; background: #0F1B29; color: #FAF6EC; border-bottom: 1px solid rgba(232, 201, 138, 0.28); }
.gnp-testa { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gnp-logo { font-family: var(--font-display, 'Fraunces', 'Times New Roman', serif); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #E8C98A; line-height: 1.2; }
.gnp-logo em { font-style: italic; }
.gnp-titolo { font-family: var(--font-display, 'Fraunces', 'Times New Roman', serif); font-size: 19px; font-weight: 400; line-height: 1.2; color: #FAF6EC; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gnp-sicura { display: flex; align-items: center; gap: 6px; font-size: 11.5px; line-height: 1.3; color: rgba(250, 246, 236, 0.72); }
.gnp-sicura svg { flex: none; color: #E8C98A; }
.gnp-fuori, .gnp-chiudi { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 0; padding: 0; color: #FAF6EC; background: transparent; text-decoration: none; transition: background 0.2s ease; }
.gnp-chiudi { background: rgba(250, 246, 236, 0.1); }
.gnp-fuori:hover, .gnp-chiudi:hover { background: rgba(250, 246, 236, 0.18); }
.gnp-fuori:focus-visible, .gnp-chiudi:focus-visible { outline: 2px solid #E8C98A; outline-offset: 2px; }

.gnp-corpo { position: relative; flex: 1; min-height: 0; background: #fff; }
.gnp-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.gnp-attesa { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; background: #FAF6EC; color: #003B40; transition: opacity 0.35s ease, visibility 0.35s; }
.gnp-attesa.gnp-via { opacity: 0; visibility: hidden; }
.gnp-giro { width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(163, 126, 63, 0.22); border-top-color: #A37E3F; animation: gnp-giro 0.9s linear infinite; }
@keyframes gnp-giro { to { transform: rotate(360deg); } }
.gnp-attesa-t { margin: 0; font-family: var(--font-display, 'Fraunces', 'Times New Roman', serif); font-size: 20px; font-weight: 400; }
.gnp-lento { margin: 0; max-width: 340px; font-size: 13.5px; line-height: 1.55; color: rgba(0, 59, 64, 0.7); }
.gnp-lento[hidden] { display: none; }
.gnp-lento a { color: #8A682F; text-decoration: underline; }
.gnp-sentinella { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* pagina sotto ferma, elementi fissi del sito nascosti mentre si prenota */
html.gnp-blocco, html.gnp-blocco body { overflow: hidden !important; }
html.gnp-blocco .floating-book, html.gnp-blocco #azc-launcher, html.gnp-blocco #azc-panel, html.gnp-blocco .pp-cta-bar,
html.gnp-blocco .pp-cta-spacer, html.gnp-blocco .lst-mobile-bar, html.gnp-blocco .to-top,
html.gnp-blocco .cursor-dot, html.gnp-blocco .cursor-ring { visibility: hidden !important; }

/* telefono e tablet stretto: a tutto schermo */
@media (max-width: 760px) {
  .gnp { align-items: stretch; }
  .gnp-foglio { width: 100%; height: 100%; max-height: none; border-radius: 0; transform: translateY(36px); }
  .gnp-barra { min-height: 58px; padding: 8px 6px 8px 16px; padding-top: max(8px, env(safe-area-inset-top)); }
  .gnp-logo { display: none; }
  .gnp-titolo { font-size: 17px; }
  .gnp-sicura { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .gnp-velo, .gnp-foglio, .gnp-attesa { transition: none; }
  .gnp-giro { animation-duration: 2.4s; }
}

/* ---- card «Prenota online» ---- */
.lst-cta svg.gn-ico { fill: none; stroke: currentColor; width: 17px; height: 17px; }
.booking-form .gn-capienza { display: block; margin-top: 8px; font-size: 11.5px; letter-spacing: 0.02em; color: rgba(250, 246, 236, 0.55); }
.booking-form .gn-sotto { margin: -6px 0 26px; font-size: 13px; line-height: 1.5; color: rgba(250, 246, 236, 0.66); }
.booking-form .gn-unita { margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(250, 246, 236, 0.12); display: flex; flex-direction: column; gap: 10px; }
.booking-form .gn-unita-t { margin-bottom: 4px; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(250, 246, 236, 0.5); }
.booking-form .gn-u { display: flex; align-items: center; gap: 14px; padding: 9px 14px 9px 9px; border: 1px solid rgba(250, 246, 236, 0.12); border-radius: 2px; color: var(--bone, #FAF6EC); text-decoration: none; transition: border-color 0.25s ease, background 0.25s ease; }
.booking-form .gn-u:hover, .booking-form .gn-u:focus-visible { border-color: var(--gold, #A37E3F); background: rgba(250, 246, 236, 0.05); outline: none; }
.booking-form .gn-u img { flex: none; width: 52px; height: 52px; object-fit: cover; border-radius: 2px; }
.booking-form .gn-u-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.booking-form .gn-u-txt b { font-family: var(--font-display, 'Fraunces', serif); font-size: 17px; font-weight: 400; line-height: 1.2; }
.booking-form .gn-u-txt small { font-size: 12px; line-height: 1.35; color: rgba(250, 246, 236, 0.6); }
.booking-form .gn-u-arr { flex: none; font-size: 18px; color: var(--gold, #A37E3F); transition: transform 0.25s ease; }
.booking-form .gn-u:hover .gn-u-arr { transform: translateX(4px); }
