/* Menu laterale (stile app) del sito pubblico IDT: usato da idt-public-site e dalle pagine di idt-punti-vendita.
   Colori fissi (tema scuro): non dipende dalle variabili dei due fogli di stile. Lo apre il pulsante .nav-b. */
.nav-b { position: relative; flex: none; width: 42px; height: 42px; padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; }
.nav-b:active { background: rgba(255,255,255,.08); }
.nav-b span, .nav-b span::before, .nav-b span::after { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; content: ""; border-radius: 2px; }
.nav-b span { top: 20px; } .nav-b span::before { top: -7px; left: 0; right: 0; } .nav-b span::after { top: 7px; left: 0; right: 0; }

.drawer-bg { position: fixed; inset: 0; z-index: 1990; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .2s; }
.drawer-bg[hidden] { display: none; }
html.dr-open .drawer-bg { opacity: 1; }
.drawer { display: flex; flex-direction: column; gap: 14px; position: fixed; top: 0; bottom: 0; left: 0; z-index: 2000; width: min(86vw, 360px); box-sizing: border-box;
  padding: calc(14px + env(safe-area-inset-top)) 14px calc(20px + env(safe-area-inset-bottom));
  background: #111118; border-right: 1px solid rgba(255,255,255,.11); box-shadow: 20px 0 50px rgba(0,0,0,.5); overflow-y: auto; overscroll-behavior: contain;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #f4f4f6;
  transform: translateX(-102%); transition: transform .25s ease; visibility: hidden; }
html.dr-open .drawer { transform: none; visibility: visible; }
html.dr-open, html.dr-open body { overflow: hidden; }
.drawer * { box-sizing: border-box; }
.dr-head { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.11); border-radius: 18px; }
.dr-brand { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.dr-brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; background: #000; }
.dr-brand span { display: flex; flex-direction: column; line-height: 1.05; }
.dr-brand b { font-stretch: 75%; font-weight: 800; font-size: 18px; white-space: nowrap; text-transform: uppercase; }
.dr-brand small { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #6cff00; margin-top: 3px; }
.dr-x { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.dr-nav { display: flex; flex-direction: column; gap: 8px; }
.dr-i { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 14px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.11); color: #fff; text-decoration: none;
  font-stretch: 78%; font-weight: 800; font-size: 18px; line-height: 1.2; text-transform: uppercase; letter-spacing: .01em; }
.dr-i svg { width: 24px; height: 24px; flex: none; fill: none; stroke: #f4f4f6; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dr-i.on, .dr-grp.on .dr-i { border-color: #6cff00; }
.dr-i.on svg, .dr-grp.on .dr-i svg { stroke: #6cff00; }
.dr-row { display: flex; gap: 6px; }
.dr-row .dr-i { flex: 1; min-width: 0; }
.dr-more { flex: none; width: 52px; border-radius: 14px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.11); cursor: pointer; display: grid; place-items: center; padding: 0; }
.dr-more i { width: 10px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.dr-more[aria-expanded="true"] i { transform: translateY(2px) rotate(-135deg); }
.dr-sub { padding: 6px 4px 2px 10px; }
.dr-sub[hidden] { display: none; }
.dr-sub .club-list { list-style: none; margin: 0; padding: 0; display: block; }
.dr-sub .club-list li { margin: 0; padding: 0; }
.dr-sub .club-list li a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; color: #f4f4f6; text-decoration: none; font-weight: 600; font-size: 14px; line-height: 1.3; text-transform: uppercase; }
.dr-sub .club-list img, .dr-sub .club-list .nologo { width: 30px !important; height: 30px !important; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); object-fit: cover; background: #000; flex: none; }
.dr-sub .nav-pin { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.dr-sub .nav-pin svg { width: 16px; height: 16px; fill: none; stroke: #6cff00; stroke-width: 2.2; }
.dr-sub .outlet-list li.all a { color: #6cff00; }
/* lingua: bandiere con sigla in fondo al menu, in una riga */
.dr-lang { margin-top: 6px; padding: 8px; border-radius: 14px; border: 1px solid rgba(255,255,255,.11); }
.dr-lang > svg { display: none; }
.dr-langs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 6px; }
.dr-langs button { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 2px 7px; border-radius: 10px; border: 1px solid transparent; background: rgba(255,255,255,.06); color: #f4f4f6; font: inherit; font-size: 11px; cursor: pointer; }
.dr-langs button b { font-weight: 800; letter-spacing: .06em; }
.dr-langs button.on { border-color: #6cff00; background: rgba(108,255,0,.14); }
.dr-langs .lang-flag { display: inline-flex !important; width: 24px; height: 16px; border-radius: 3px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.dr-langs .lang-flag svg { width: 100%; height: 100%; display: block; stroke: none; fill: initial; }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-bg { transition: none; } }

/* tema chiaro/scuro: interruttore sole/luna sotto le lingue (0.50.11) */
.dr-theme { padding: 8px; border-radius: 14px; border: 1px solid rgba(255,255,255,.11); }
.dr-th { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 100%; height: 44px; padding: 4px; border: 0; border-radius: 10px; background: rgba(255,255,255,.06); cursor: pointer; }
.dr-th::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 8px; background: rgba(108,255,0,.18); box-shadow: inset 0 0 0 1px #6cff00; transition: transform .2s; }
.dr-th svg { position: relative; display: block; margin: auto; width: 22px; height: 22px; fill: none; stroke: #f4f4f6; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dr-th .th-sun { grid-column: 1; grid-row: 1; } .dr-th .th-moon { grid-column: 2; grid-row: 1; display: block; }
html:not([data-theme="light"]) .dr-th::before { transform: translateX(100%); }

html[data-theme="light"] .nav-b span, html[data-theme="light"] .nav-b span::before, html[data-theme="light"] .nav-b span::after { background: #16151d; }
html[data-theme="light"] .nav-b:active { background: rgba(22,18,44,.08); }
html[data-theme="light"] .drawer { background: #f7f6fb; color: #16151d; border-right-color: rgba(22,18,44,.12); box-shadow: 20px 0 50px rgba(22,18,44,.22); }
html[data-theme="light"] .drawer-bg { background: rgba(22,18,44,.35); }
html[data-theme="light"] :is(.dr-head, .dr-i, .dr-lang, .dr-theme) { background: #fff; border-color: rgba(22,18,44,.12); }
html[data-theme="light"] :is(.dr-brand, .dr-i) { color: #16151d; }
html[data-theme="light"] .dr-i svg, html[data-theme="light"] .dr-th svg { stroke: #16151d; }
html[data-theme="light"] :is(.dr-x, .dr-more, .dr-langs button, .dr-th) { background: rgba(22,18,44,.06); color: #16151d; }
html[data-theme="light"] .dr-langs button.on { background: rgba(108,255,0,.1); }
html[data-theme="light"] .dr-langs .lang-flag { box-shadow: 0 0 0 1px rgba(22,18,44,.2); }
html[data-theme="light"] .dr-more { border-color: rgba(22,18,44,.12); }
html[data-theme="light"] .dr-more i { border-color: #16151d; }
html[data-theme="light"] .dr-sub .club-list li a { color: #16151d; }
html[data-theme="light"] .dr-sub .nav-pin { background: rgba(22,18,44,.06); }
html[data-theme="light"] .dr-brand small, html[data-theme="light"] .dr-sub .outlet-list li.all a { color: #2f8f00; }
html[data-theme="light"] .dr-i.on svg, html[data-theme="light"] .dr-grp.on .dr-i svg, html[data-theme="light"] .dr-sub .nav-pin svg { stroke: #2f8f00; }
html[data-theme="light"] .dr-i.on, html[data-theme="light"] .dr-grp.on .dr-i { border-color: #2f8f00; }

/* 0.50.32: "My bookings" come voce propria sopra lingua e aspetto (nel menu laterale non serve anche dentro Info) */
.dr-mb { margin-top: 6px; }
.drawer .info-list .info-mb { display: none; }
.drawer .info-list .info-legal { border-top: 1px solid rgba(255,255,255,.11); margin-top: 4px; padding-top: 4px; }   /* 0.53.19 */
html[data-theme="light"] .drawer .info-list .info-legal { border-top-color: rgba(22,18,44,.12); }
