/* Scelta del navigatore: stili confinati alla nuova finestra. */
body.navigation-chooser-open { overflow: hidden; }
.navigation-chooser {
  border: 0; border-radius: 26px; padding: 0; margin: auto;
  width: min(540px, calc(100vw - 32px)); max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain;
  background: #fffdf9; color: #253b3b;
  box-shadow: 0 24px 80px rgba(18,48,47,.28); font-family: 'Montserrat',sans-serif;
}
.navigation-chooser::backdrop { background: rgba(14,35,35,.6); backdrop-filter: blur(4px); }
.navigation-chooser:not([open]) { display: none; }
.navigation-chooser__content { position: relative; padding: 32px; }
.navigation-chooser__close {
  position: absolute; top: 12px; right: 12px; min-width: 44px; min-height: 44px;
  border: 1px solid #cbdedb; border-radius: 50%; background: #fff; color: #185a58;
  font-size: 28px; line-height: 1; cursor: pointer;
}
.navigation-chooser__eyebrow { padding-right: 32px; margin: 0 0 12px; color: #177b77; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.navigation-chooser h2 { margin: 0 30px 20px 0; font-family: 'Playfair Display',serif; font-size: clamp(25px,6.5vw,34px); line-height: 1.15; color: #174f4d; }
.navigation-chooser__destination { border-left: 3px solid #de8741; background: #f5eee3; padding: 13px 16px; border-radius: 0 12px 12px 0; margin-bottom: 20px; }
.navigation-chooser__destination > span { display: block; font-size: 11px; color: #5c706e; margin-bottom: 4px; }
.navigation-chooser__destination strong { display: block; font-size: 15px; line-height: 1.4; }
.navigation-chooser__address { display: block; font-size: 12px; line-height: 1.5; color: #5c706e; margin-top: 5px; overflow-wrap: anywhere; }
.navigation-chooser__options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.navigation-choice { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 140px; padding: 20px 12px; background: #fff; border: 1.5px solid #c5dcd8; border-radius: 16px; text-decoration: none; color: #174f4d; text-align: center; transition: transform 160ms cubic-bezier(.23,1,.32,1), box-shadow 160ms cubic-bezier(.23,1,.32,1); }
.navigation-choice:hover { background: #f2f8f5; color: #174f4d; box-shadow: 0 4px 14px #174f4d12; }
.navigation-choice:active { transform: scale(.97); }
.navigation-choice img { width: 42px; height: 42px; object-fit: contain; display: block; }
.navigation-choice strong { font-size: 17px; line-height: 1.3; white-space: nowrap; }
.navigation-choice small { font-size: 11px; line-height: 1.45; color: #607673; }
.navigation-chooser__note { margin: 16px 0 0; font-size: 12px; line-height: 1.6; color: #5c706e; }
.navigation-chooser__warning { border-radius: 10px; background: #fff1df; color: #71451d; padding: 11px 13px; font-size: 12px; line-height: 1.55; margin: 14px 0 0; }
.navigation-chooser__warning[hidden] { display: none; }
.navigation-chooser__back { display: block; margin: 18px auto 0; min-height: 44px; background: transparent; color: #175956; border: 0; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font: inherit; font-size: 13px; }
.navigation-chooser__close:focus-visible,.navigation-choice:focus-visible,.navigation-chooser__back:focus-visible { outline: 3px solid #dd853b; outline-offset: 3px; }
.navigation-chooser__legal { margin: 14px 0 0; font-size: 9px; color: #758481; line-height: 1.5; }
@media (max-width: 380px) { .navigation-chooser__content { padding: 26px 20px 20px; } .navigation-chooser__options { grid-template-columns: 1fr; gap: 10px; } .navigation-choice { flex-direction: row; gap: 14px; min-height: 76px; padding: 14px; } .navigation-choice small { display: none; } }
@media (prefers-reduced-motion: no-preference) { .navigation-chooser[open] { animation: navigation-chooser-enter 160ms cubic-bezier(.23,1,.32,1); } @keyframes navigation-chooser-enter { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } } }
@media (prefers-reduced-motion: reduce) { .navigation-choice { transition: none; } }
