/* ============================================================
   ZenaWalk — stile del sito pubblico (redesign 2026)
   Tema: fondi bianchi, testo ink, oro scuro per le azioni.
   Regole fisse: tocco minimo 44px, testo informativo ≥ 4.5:1,
   niente testo nero su oro, safe area su tutto ciò che è fisso.
   ============================================================ */
:root {
  --bg: var(--zw-bg, #FFFFFF);
  --surface: var(--zw-bg-light, #F5F5F4);
  --surface-2: var(--zw-bg-light, #F2EFEA);
  --ink: var(--zw-text, #1A1714);
  --muted: var(--zw-paragraph, #5C4E39);
  --gold: var(--zw-primary, #C49A3C);
  --gold-dark: var(--zw-button-bg, #8A6B28);
  --gold-soft: var(--zw-secondary, #D4A84B);
  --err: var(--zw-error, #A3301F);
  --line: var(--zw-border, rgba(26,23,20,.12));
  --line-strong: var(--zw-border-strong, rgba(26,23,20,.25));
  --ph: #CFC6B6;

  --font-display: var(--zw-font-heading, 'Outfit', system-ui, sans-serif);
  --font-body: var(--zw-font-body, 'Nunito', system-ui, sans-serif);

  --tap: 44px;
  --r-s: var(--zw-radius-input, 10px);
  --r-m: var(--zw-radius-base, 14px);
  --r-l: 18px;
  --r-xl: 24px;
  --r-pill: var(--zw-radius-button, 999px);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tabbar-h: calc(64px + var(--safe-bottom));
  --topnav-h: 72px;
  --wrap: var(--zw-container-max, 1200px);
  --pad: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-dark); }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.zw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a.zw-sr:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; }
.zw-ic { flex-shrink: 0; display: block; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Impalcatura ---------- */
#zw-view { min-height: 100vh; padding-bottom: var(--tabbar-h); }
body:has(.zw-footer) #zw-view { padding-bottom: 0; }
.zw-footer { margin-bottom: var(--tabbar-h); }
body.zw-immersive #zw-view { padding-bottom: 0; }
.zw-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.zw-section { padding: 48px 0; }
.zw-section--tours { padding-bottom: 8px; }
.zw-section--tours + .zw-voci { padding-top: 32px; }
@media (min-width: 768px) { .zw-section--tours { padding-bottom: 48px; } .zw-section--tours + .zw-voci { padding-top: 56px; } }

/* Barra in basso (telefono) */
.zw-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  height: var(--tabbar-h); padding: 4px 8px var(--safe-bottom);
  background: var(--bg); border-top: .5px solid var(--line);
  display: flex; justify-content: space-around; align-items: flex-start;
}
.zw-tab {
  flex: 1; max-width: 96px; min-height: 56px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px; text-decoration: none;
  color: var(--muted); font-size: 11px; font-weight: 600;
}
.zw-tab[aria-current="page"] { color: var(--gold-dark); font-weight: 700; }
body.zw-immersive { --tabbar-h: var(--safe-bottom); }
body.zw-immersive .zw-tabbar { display: none; }

/* Barra in alto (web) */
.zw-topnav { display: none; }
@media (min-width: 768px) {
  :root { --tabbar-h: 0px; --pad: 40px; }
  .zw-tabbar { display: none; }
  #zw-view { min-height: calc(100vh - var(--topnav-h)); }
  .zw-topnav {
    display: flex; position: sticky; top: 0; z-index: 40; height: var(--topnav-h);
    align-items: center; gap: 32px; padding: 0 40px;
    background: var(--bg); border-bottom: .5px solid var(--line);
  }
  body.zw-immersive .zw-topnav { display: none; }
}
.zw-logo { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: .01em; min-height: var(--tap); display: inline-flex; align-items: center; }
.zw-logo span { color: var(--gold-dark); }
.zw-topnav nav { display: flex; gap: 4px; }
.zw-navlink {
  height: var(--tap); padding: 0 14px; display: flex; align-items: center;
  font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none;
}
.zw-navlink[aria-current="page"] { color: var(--gold-dark); font-weight: 700; box-shadow: inset 0 -2px 0 var(--gold-dark); }
.zw-topnav .zw-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.zw-avatar { width: var(--tap); height: var(--tap); border-radius: 50%; background: var(--ph); background-size: cover; background-position: center; border: 2px solid transparent; display: block; position: relative; overflow: hidden; }
.zw-avatar[aria-current="page"] { border-color: var(--gold-dark); }
.zw-avatar--empty { background: linear-gradient(160deg, #EFE9DF, #D6CCBA); border-color: rgba(138,107,40,.45); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.zw-avatar--empty::before { content: ""; position: absolute; inset: 22%; background: currentColor; color: var(--gold-dark); opacity: .92; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M230.92 212c-15.23-26.33-38.7-45.21-66.09-54.16a72 72 0 1 0-73.66 0C63.78 166.78 40.31 185.66 25.08 212a8 8 0 1 0 13.85 8c18.84-32.56 52.14-52 89.07-52s70.23 19.44 89.07 52a8 8 0 1 0 13.85-8ZM72 96a56 56 0 1 1 56 56A56.06 56.06 0 0 1 72 96Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M230.92 212c-15.23-26.33-38.7-45.21-66.09-54.16a72 72 0 1 0-73.66 0C63.78 166.78 40.31 185.66 25.08 212a8 8 0 1 0 13.85 8c18.84-32.56 52.14-52 89.07-52s70.23 19.44 89.07 52a8 8 0 1 0 13.85-8ZM72 96a56 56 0 1 1 56 56A56.06 56.06 0 0 1 72 96Z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- Bottoni e pillole ---------- */
.zw-btn {
  min-height: 52px; padding: 0 24px; border-radius: var(--r-pill); border: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
}
.zw-btn--primary { background: var(--gold-dark); color: #FFFFFF; }
.zw-btn--primary:hover { background: #765A20; }
.zw-btn--ghost { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 .5px var(--line-strong); }
.zw-btn--dark { background: var(--ink); color: #FFFFFF; }
.zw-btn--block { width: 100%; }
.zw-btn[aria-disabled="true"] { background: #E6E3DE; color: var(--muted); pointer-events: none; }
.zw-pill {
  min-height: var(--tap); padding: 0 16px; border-radius: var(--r-pill);
  border: .5px solid var(--line-strong); background: var(--bg); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700;
  text-decoration: none; cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: background .15s ease, border-color .15s ease;
}
.zw-pill:hover { background: #FFFFFF; border-color: var(--ink); }
.zw-link { min-height: var(--tap); display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--gold-dark); text-decoration: none; }
.zw-badge { height: 28px; padding: 0 12px; border-radius: 14px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; background: #FFFFFF; color: var(--ink); }
.zw-badge--gold { background: var(--gold-dark); color: #FFFFFF; }
.zw-chip-lang { height: 22px; padding: 0 7px; border-radius: 4px; border: .5px solid rgba(26,23,20,.3); display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--ink); }
.zw-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--gold-dark); }

/* ---------- Card itinerario ---------- */
.zw-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); position: relative; }
.zw-card__img { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-l); overflow: hidden; background: var(--ph); margin-bottom: 6px; }
.zw-card__img img { width: 100%; height: 100%; object-fit: cover; }
.zw-card__by { position: absolute; left: 10px; top: 10px; width: 48px; height: 48px; border-radius: 50%; border: 3px solid #FFFFFF; background: #A99D89 center / cover; box-shadow: 0 2px 8px rgba(26,23,20,.25); }
.zw-card__by--z { background: var(--ink); color: var(--gold-soft); display: flex; align-items: center; justify-content: center; font: 700 19px var(--font-display); }
.zw-card__by--initials { background: var(--ink); color: var(--gold-soft); display: flex; align-items: center; justify-content: center; font: 700 16px var(--font-display); letter-spacing: 0.5px; text-transform: uppercase; }
.zw-list .zw-card__by--initials { font-size: 13px; }
.zw-card__fav { position: absolute; right: 6px; top: 6px; width: var(--tap); height: var(--tap); border: 0; padding: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; }
.zw-card__fav span { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.94); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.zw-card__fav[aria-pressed="true"] span { color: var(--err); }
.zw-card__title { font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zw-card__title a { color: inherit; text-decoration: none; }
.zw-card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; } /* tutta la card cliccabile */
.zw-card__info { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.zw-card__info > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zw-card__info .zw-chip-lang { flex-shrink: 0; }
.zw-card__who { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--ink); }
.zw-card__price { display: flex; align-items: center; justify-content: flex-end; gap: 2px; margin-top: 2px; font: 700 18px var(--font-display); color: var(--ink); }
.zw-card__price .zw-ic { color: var(--muted); }
.zw-card__price--paid { color: var(--ink); }
.zw-card--soon .zw-card__price { color: var(--muted); font-size: 16px; }
.zw-author { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink); }
.zw-author__z { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--gold-soft); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 13px; font-weight: 700; }
.zw-author__img { width: 26px; height: 26px; border-radius: 50%; background: #A99D89; background-size: cover; }
.zw-author__img--initials { background: var(--ink); color: var(--gold-soft); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.zw-author__cert { color: var(--gold-dark); display: inline-flex; }
.zw-author__ev { font-size: 12px; font-weight: 700; color: var(--gold-dark); }

.zw-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); -webkit-overflow-scrolling: touch; padding: 0 var(--pad) 4px; margin: 0 calc(-1 * var(--pad)); scrollbar-width: none; }
.zw-rail::-webkit-scrollbar { display: none; }
.zw-rail > .zw-card { width: 272px; flex-shrink: 0; scroll-snap-align: start; }
@media (min-width: 768px) {
  .zw-rail { overflow: visible; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 0; }
  .zw-rail > .zw-card { width: auto; }
}
@media (min-width: 768px) { .zw-rail > .zw-card:nth-child(n+4) { display: none; } }
@media (min-width: 1100px) { .zw-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); } .zw-rail > .zw-card:nth-child(4) { display: flex; } }

/* Scheletri di caricamento: stesse proporzioni degli elementi veri */
.zw-skel { background: linear-gradient(90deg, #EFECE7 0%, #F6F4F0 50%, #EFECE7 100%); background-size: 200% 100%; animation: zwSkel 1.4s ease-in-out infinite; border-radius: var(--r-s); }
@keyframes zwSkel { to { background-position: -200% 0; } }

/* ---------- Home ---------- */
.zw-hero { position: relative; height: min(420px, 62svh); min-height: 360px; background: #3A332C; color: #FFFFFF; overflow: hidden; }
.zw-hero video, .zw-hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zw-hero__veil { position: absolute; inset: 0; background: rgba(26,23,20,.42); }
.zw-hero__bar { position: relative; z-index: 2; height: 68px; padding: calc(12px + var(--safe-top)) 16px 0; display: flex; align-items: center; justify-content: space-between; }
.zw-hero__bar .zw-logo { color: #FFFFFF; }
.zw-hero__bar .zw-logo span { color: var(--gold-soft); }
.zw-langpill { min-width: 64px; height: var(--tap); padding: 0 12px; border-radius: var(--r-pill); border: .5px solid rgba(255,255,255,.45); background: rgba(26,23,20,.25); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 700; cursor: pointer; }
.zw-langpill--light { border-color: var(--line-strong); background: var(--bg); color: var(--ink); }
.zw-hero__content { position: absolute; z-index: 2; left: 0; right: 0; bottom: 64px; text-align: center; padding: 0 24px; display: flex; flex-direction: column; gap: 12px; }
.zw-hero h1 { font-size: clamp(38px, 9vw, 76px); line-height: 1.02; color: #FFFFFF; }
.zw-hero p { font-size: clamp(15px, 2vw, 19px); color: rgba(255,255,255,.9); max-width: 34ch; margin: 0 auto; }
@media (min-width: 768px) { .zw-hero { height: 520px; } .zw-hero__bar { display: none; } }

.zw-search {
  position: relative; z-index: 3; margin: -28px auto 0; width: calc(100% - 48px); max-width: 640px; height: 56px;
  padding: 0 20px; border-radius: var(--r-pill); background: #FFFFFF; box-shadow: 0 6px 24px rgba(26,23,20,.14);
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--muted); font-size: 15px;
}
.zw-search .zw-ic { color: var(--ink); }
@media (min-width: 768px) { .zw-search { height: 64px; margin-top: -32px; font-size: 17px; } }

.zw-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.zw-head h2 { font-size: 22px; min-width: 0; }
.zw-head .zw-link { white-space: nowrap; flex-shrink: 0; }
@media (min-width: 768px) { .zw-head h2 { font-size: 32px; } .zw-head { margin-bottom: 24px; } }

/* Le voci */
.zw-voci { background: var(--bg); }
@media (min-width: 768px) { .zw-voci { background: var(--surface); } }
.zw-voci__grid { display: flex; flex-direction: column; gap: 16px; text-align: center; }
.zw-voci h2 { font-size: 28px; line-height: 1.1; }
.zw-voci__copy { color: var(--muted); font-size: 16px; max-width: 46ch; margin: 0 auto; }
.zw-voci__avatars { display: flex; justify-content: center; gap: 10px; }
.zw-voci__avatars span { width: 52px; height: 52px; border-radius: 50%; background: #E4DED4; border: 2px solid #FFFFFF; box-shadow: 0 0 0 .5px var(--line); overflow: hidden; }
.zw-voci__avatars img { width: 100%; height: 100%; object-fit: cover; }
.zw-player { display: flex; align-items: center; gap: 12px; }
.zw-player__btn { width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; border: 0; background: var(--gold-dark); color: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.zw-player__wave { flex: 1; min-width: 0; height: 34px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; }
.zw-player__wave i { width: 3px; flex-shrink: 0; border-radius: 2px; background: #D9D3C9; }
.zw-player__wave i.on { background: var(--gold-dark); }
.zw-player__time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (min-width: 768px) {
  .zw-voci__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; text-align: left; }
  .zw-voci h2 { font-size: 44px; }
  .zw-voci__copy { margin: 0; font-size: 18px; }
  .zw-voci__avatars { justify-content: flex-start; }
  .zw-voci__playercard { grid-column: 2; grid-row: 1 / span 3; background: #FFFFFF; border-radius: 20px; padding: 24px; }
}

/* Esplora al tuo ritmo */
.zw-ritmo { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.zw-ritmo h2 { font-size: 28px; text-align: center; }
.zw-ritmo__list { width: 100%; display: flex; flex-direction: column; gap: 22px; }
.zw-ritmo__item { padding-left: 16px; border-left: 2px solid var(--gold); display: flex; flex-direction: column; gap: 6px; }
.zw-ritmo__item h3 { font-size: 18px; }
.zw-ritmo__item p { font-size: 15px; color: var(--muted); }
@media (min-width: 900px) {
  .zw-ritmo { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
  .zw-ritmo h2 { font-size: 48px; text-align: left; }
  .zw-ritmo__text { display: flex; flex-direction: column; gap: 36px; }
  .zw-ritmo__list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
  .zw-ritmo__item h3 { font-size: 20px; } .zw-ritmo__item p { font-size: 16px; }
}
.zw-phone { width: 264px; height: 540px; border: 8px solid var(--ink); border-radius: 40px; overflow: hidden; position: relative; background: #FFFFFF; box-shadow: 0 18px 40px rgba(26,23,20,.18); flex-shrink: 0; }
.zw-phone__img { position: absolute; left: 0; top: 0; right: 0; height: 170px; background: #B8AE9C; }
.zw-phone__img img { width: 100%; height: 100%; object-fit: cover; }
.zw-phone__card { position: absolute; left: 0; right: 0; top: 150px; padding: 14px 14px 0; border-radius: 18px 18px 0 0; background: #FFFFFF; display: flex; flex-direction: column; gap: 8px; }
.zw-phone__card .t { font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1; }
.zw-phone__card .l { font-size: 11px; color: var(--muted); }
.zw-phone__card .e { font-size: 9px; font-weight: 700; letter-spacing: .1em; color: var(--gold-dark); }
.zw-phone__box { padding: 8px 10px; border-radius: 10px; background: var(--surface); font-size: 10.5px; line-height: 1.45; }
.zw-phone__box--dark { background: var(--ink); color: #FFFFFF; }
.zw-phone__box b { display: block; font-size: 8px; letter-spacing: .1em; color: var(--gold-dark); }
.zw-phone__box--dark b { color: var(--gold-soft); }
.zw-phone__foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px 12px; background: #FFFFFF; border-top: .5px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.zw-phone__foot span { height: 28px; border-radius: 14px; font-size: 9.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Partner */
.zw-partner h2 { font-size: 24px; margin: 6px 0 16px; }
.zw-partner__cards { display: flex; flex-direction: column; gap: 8px; }
.zw-partner__card { min-height: 60px; padding: 10px 12px; border-radius: var(--r-m); background: var(--surface); display: flex; align-items: center; gap: 12px; }
.zw-partner__card .i { width: 40px; height: 40px; border-radius: 50%; background: #FFFFFF; color: var(--gold-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.zw-partner__card b { display: block; font-size: 15px; }
.zw-partner__card small { font-size: 13px; color: var(--muted); }
.zw-partner .zw-btn { margin-top: 12px; }
@media (min-width: 768px) {
  .zw-partner__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
  .zw-partner h2 { font-size: 32px; margin-bottom: 0; }
  .zw-partner .zw-btn { margin-top: 0; }
  .zw-partner__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .zw-partner__card { flex-direction: column; align-items: flex-start; padding: 24px; }
}

/* Aiuto */
.zw-help { padding: 20px; border-radius: var(--r-l); background: var(--surface); display: flex; flex-direction: column; gap: 16px; }
.zw-help > div:first-child { flex: 1 1 auto; min-width: 0; }
.zw-help h2 { font-size: 20px; margin-bottom: 4px; }
.zw-help p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.zw-help__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; flex-shrink: 0; }
.zw-help__actions .zw-pill { white-space: nowrap; justify-content: center; }
@media (min-width: 768px) {
  .zw-help { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; }
  .zw-help__actions { flex-wrap: wrap; justify-content: flex-end; }
}

/* Footer */
.zw-footer { background: var(--zw-footer-bg, var(--ink)); color: var(--zw-footer-text, #FFFFFF); padding: 40px 0 32px; }
.zw-footer .zw-logo { color: var(--zw-footer-text, #FFFFFF); } .zw-footer .zw-logo span { color: var(--zw-secondary, var(--gold-soft)); }
.zw-footer__grid { display: flex; flex-direction: column; gap: 22px; }
.zw-footer small { color: rgba(255,255,255,.72); font-size: 14px; }
.zw-footer h3 { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--zw-secondary, var(--gold-soft)); margin-bottom: 4px; }
.zw-footer__social { display: flex; flex-wrap: wrap; gap: 8px; }
.zw-footer__social a { min-height: var(--tap); padding: 0 14px; border-radius: var(--r-pill); border: .5px solid rgba(255,255,255,.35); color: #FFFFFF; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; text-decoration: none; }
.zw-footer__legal a { color: rgba(255,255,255,.8); min-height: var(--tap); display: inline-flex; align-items: center; margin-right: 16px; font-size: 14px; }
@media (min-width: 768px) { .zw-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; } .zw-footer { padding-bottom: 40px; } .zw-footer__social { flex-direction: column; align-items: flex-start; } .zw-footer__social a { border: 0; padding: 0; } }

/* ---------- Pannelli (dal basso su telefono, al centro su web) ---------- */
.zw-sheet-veil { position: fixed; inset: 0; z-index: 60; background: rgba(26,23,20,.45); display: flex; align-items: flex-end; justify-content: center; }
.zw-sheet { width: 100%; max-height: 88svh; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #FFFFFF; border-radius: 24px 24px 0 0; padding: 8px 24px calc(24px + var(--safe-bottom)); }
.zw-sheet__grip { width: 40px; height: 4px; border-radius: 2px; background: rgba(26,23,20,.2); margin: 0 auto 12px; }
.zw-sheet h2 { font-size: 22px; margin-bottom: 12px; }
@media (min-width: 768px) { .zw-sheet-veil { align-items: center; } .zw-sheet { width: 460px; border-radius: 24px; padding: 28px 32px; } .zw-sheet__grip { display: none; } }
.zw-option { width: 100%; min-height: 56px; padding: 0 4px; border: 0; border-bottom: .5px solid var(--line); background: transparent; display: flex; align-items: center; justify-content: space-between; font-size: 16px; font-weight: 600; cursor: pointer; text-align: left; }
.zw-option[aria-checked="true"] { font-weight: 800; color: var(--gold-dark); }

.zw-toast { position: fixed; top: calc(16px + var(--safe-top)); right: 16px; z-index: 70; background: var(--ink); color: #FFFFFF; padding: 12px 18px; border-radius: var(--r-pill); font-size: 14px; font-weight: 700; max-width: min(380px, calc(100% - 32px)); box-shadow: 0 12px 32px rgba(26,23,20,.18); }
.zw-toast--success { background: #166534; }
.zw-toast--error { background: var(--err); }

/* Schermata provvisoria per le parti non ancora sviluppate */
.zw-todo { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 40px 24px; }
.zw-todo p { color: var(--muted); max-width: 36ch; }

/* Visibilità per layout */
.zw-only-desktop { display: none !important; }
@media (min-width: 900px) { .zw-only-desktop { display: grid !important; } a.zw-only-desktop { display: inline-flex !important; } .zw-only-mobile { display: none !important; } }
@media (min-width: 768px) and (max-width: 899px) { a.zw-only-desktop { display: inline-flex !important; } a.zw-only-mobile { display: none !important; } }

/* ---------- Esplora ---------- */
.zw-explore { padding-top: 20px; padding-bottom: 48px; }
.zw-explore__top { display: flex; flex-direction: column; gap: 16px; margin-bottom: 14px; }
.zw-explore__top h1 { font-size: 30px; }
.zw-searchfield { height: 52px; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--gold); display: flex; align-items: center; gap: 10px; background: #FFFFFF; }
.zw-searchfield:focus-within { box-shadow: 0 0 0 3px rgba(196,154,60,.25); }
.zw-searchfield input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.zw-chips { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding: 2px var(--pad) 6px; }
.zw-chips::-webkit-scrollbar { display: none; }
.zw-chip { min-height: var(--tap); padding: 0 18px; border-radius: var(--r-pill); border: .5px solid var(--line-strong); background: #FFFFFF; color: var(--ink); font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; flex-shrink: 0; }
.zw-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.zw-explore__body { margin-top: 18px; }
.zw-filters-side { display: none; }
.zw-head--list { margin: 8px 0 14px; }
.zw-head--list h2 { font-size: 20px; }
.zw-filters-btn { flex-shrink: 0; }

.zw-recent { margin-bottom: 26px; }
.zw-recent h2 { font-size: 20px; margin: 2px 0 12px; }
.zw-recent__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.zw-recent__item { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.zw-recent__img { aspect-ratio: 165 / 84; border-radius: 12px; background: var(--ph); overflow: hidden; }
.zw-recent__img img { width: 100%; height: 100%; object-fit: cover; }
.zw-recent__txt { display: flex; flex-direction: column; gap: 6px; }
.zw-recent__txt b { font-family: var(--font-display); font-size: 15px; font-weight: 600; line-height: 1.2; }
.zw-recent__txt small { font-size: 12px; font-weight: 600; color: var(--muted); }
.zw-progress { height: 4px; border-radius: 2px; background: rgba(196,154,60,.22); overflow: hidden; display: block; }
.zw-progress i { display: block; height: 100%; background: var(--gold); border-radius: 2px; }

/* Elenco di Esplora: stessa card della home, una colonna su telefono */
.zw-list { display: grid; grid-template-columns: 1fr; gap: 28px; }
.zw-empty { padding: 40px 16px; border-radius: var(--r-l); background: var(--surface); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--muted); }
.zw-empty h3 { font-size: 19px; color: var(--ink); }

.zw-fgroup { margin: 0 0 18px; padding: 0; border: 0; }
.zw-fgroup legend { padding: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.zw-fgroup__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.zw-sheet__head { display: flex; align-items: center; justify-content: space-between; }
.zw-sheet__head h2 { margin: 0; }
.zw-sheet__foot { position: sticky; bottom: calc(-24px - var(--safe-bottom)); background: #FFFFFF; padding: 12px 0 0; margin-top: 4px; }

@media (min-width: 768px) {
  .zw-explore { padding-top: 40px; }
  .zw-explore__top { flex-direction: row; align-items: center; justify-content: space-between; }
  .zw-explore__top h1 { font-size: 40px; }
  .zw-searchfield { width: 520px; height: 56px; }
  .zw-chips { margin: 0; padding: 2px 0 6px; }
  .zw-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .zw-recent__list { grid-template-columns: repeat(2, minmax(0, 360px)); }
}
@media (min-width: 900px) {
  .zw-explore__body { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
  .zw-filters-side { display: block; position: sticky; top: calc(var(--topnav-h) + 20px); }
  .zw-filters-side__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
  .zw-filters-side__head h2 { font-size: 20px; }
  .zw-filters-btn { display: none; }
}
@media (min-width: 1200px) { .zw-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
button.zw-link { background: none; border: 0; padding: 0 4px; cursor: pointer; }
@media (min-width: 768px) {
  .zw-recent__item { flex-direction: row; align-items: center; gap: 14px; padding: 12px; border-radius: var(--r-l); border: .5px solid var(--line); }
  .zw-recent__img { width: 96px; flex-shrink: 0; aspect-ratio: 4 / 3; }
  .zw-recent__txt { flex: 1; }
}

/* ---------- Pagine senza barra in basso su telefono ---------- */
@media (max-width: 767px) { body.zw-immersive-m { --tabbar-h: var(--safe-bottom); } body.zw-immersive-m .zw-tabbar { display: none; } body.zw-immersive-m #zw-view { padding-bottom: 0; } body.zw-immersive-m .zw-footer { margin-bottom: 0; } }
.zw-roundbtn { width: var(--tap); height: var(--tap); border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 10px rgba(26,23,20,.15); text-decoration: none; }
.zw-roundbtn[aria-pressed="true"] { color: var(--err); }
.zw-muted { color: var(--muted); } .small { font-size: 13px; } .zw-center { text-align: center; justify-content: center; width: 100%; }
.zw-pagebar { position: sticky; top: 0; z-index: 30; height: 60px; padding: 8px 12px; display: flex; align-items: center; gap: 8px; background: #FFFFFF; border-bottom: .5px solid var(--line); }
.zw-pagebar .zw-roundbtn { box-shadow: none; }
.zw-pagebar h1 { font-size: 18px; }
@media (min-width: 768px) { .zw-pagebar { position: static; max-width: var(--wrap); margin: 0 auto; padding: 24px 40px 0; border: 0; height: auto; } .zw-pagebar h1 { font-size: 32px; } }

/* ---------- Introduzione ---------- */
.zw-ihero { position: relative; height: 320px; background: #3A332C; overflow: hidden; }
.zw-ihero > img { width: 100%; height: 100%; object-fit: cover; }
.zw-ihero__bar { position: absolute; left: 12px; right: 12px; top: calc(12px + var(--safe-top)); display: flex; justify-content: space-between; }
.zw-ihero__bar > span { display: flex; gap: 8px; }
.zw-ihero__bar [data-fav] span { display: flex; }
.zw-ihero__langs { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 6px; z-index: 5; }
.zw-ihero__langs .zw-badge, button.zw-badge { gap: 5px; border: 0; outline: none; cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 700; line-height: 1; user-select: none; -webkit-appearance: none; appearance: none; transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease; }
.zw-ihero__langs .zw-badge:hover { background: #FFFFFF; transform: translateY(-1px); }
.zw-ihero__langs .zw-badge:active { transform: translateY(0); }
.zw-badge--active { background: #FFFFFF; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,0.18); }
.zw-badge--dim { background: rgba(255,255,255,.72); color: var(--ink); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.zw-badge--dim:hover { background: rgba(255,255,255,.95); }
@media (min-width: 768px) { .zw-ihero { height: 440px; width: calc(100% - 80px); max-width: calc(var(--wrap) - 80px); margin: 32px auto 0; border-radius: 22px; } .zw-ihero__bar [data-back] { display: none; } .zw-ihero__bar { justify-content: flex-end; } }

.zw-igrid { padding-top: 24px; padding-bottom: 40px; }
.zw-imain { display: flex; flex-direction: column; gap: 28px; }
.zw-ihead { display: flex; flex-direction: column; gap: 10px; }
.zw-ihead h1 { font-size: 32px; line-height: 1.1; }
.zw-ihead p { font-size: 17px; color: var(--muted); }
.zw-imeta { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 14px 0; border-top: .5px solid var(--line); border-bottom: .5px solid var(--line); }
.zw-imeta dt { font-size: 12px; color: var(--muted); } .zw-imeta dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; }
.zw-itext { font-size: 16px; line-height: 1.6; white-space: pre-line; } .zw-itext.small { font-size: 14px; color: var(--muted); }
.zw-itext.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.zw-isec { display: flex; flex-direction: column; gap: 14px; }
.zw-isec h2 { font-size: 22px; }
.zw-map { position: relative; z-index: 0; isolation: isolate; }
.zw-map__box { position: relative; z-index: 0; isolation: isolate; contain: paint; height: 280px; border-radius: 16px; overflow: hidden; background: #ECE9E3; }
.zw-map__card { position: absolute; left: 10px; top: 10px; z-index: 5; max-width: calc(100% - 20px); }
.zw-map .leaflet-pane { z-index: 1; }
.zw-map .leaflet-tile-pane { z-index: 1; }
.zw-map .leaflet-overlay-pane { z-index: 2; }
.zw-map .leaflet-shadow-pane { z-index: 3; }
.zw-map .leaflet-marker-pane { z-index: 4; }
.zw-map .leaflet-tooltip-pane,
.zw-map .leaflet-popup-pane,
.zw-map .leaflet-control-container { z-index: 6; }
.zw-mapcard { display: flex; align-items: center; gap: 10px; padding: 8px; border: 0; border-radius: 14px; background: #FFFFFF; box-shadow: 0 4px 16px rgba(26,23,20,.18); text-align: left; cursor: pointer; max-width: 280px; }
.zw-mapcard__img { width: 56px; height: 56px; flex-shrink: 0; border-radius: 10px; background: var(--ph); overflow: hidden; } .zw-mapcard__img img { width: 100%; height: 100%; object-fit: cover; }
.zw-mapcard__txt b { display: block; font-size: 14px; } .zw-mapcard__txt small { font-size: 12px; color: var(--muted); line-height: 1.3; }
.zw-pin { width: 34px; height: 34px; border-radius: 50%; background: #FFFFFF; border: 2px solid var(--ink); color: var(--ink); display: flex; align-items: center; justify-content: center; font: 700 13px var(--font-body); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.zw-pin.first { background: var(--gold-dark); border-color: #FFFFFF; color: #FFFFFF; }
.zw-pin.on { background: var(--ink); border-color: #FFFFFF; color: #FFFFFF; transform: scale(1.15); }
.zw-pin.hid { background: #E6E3DE; border-color: #FFFFFF; }
.zw-svgmap { width: 100%; height: 100%; display: block; }
.zw-svgpin { cursor: pointer; } .zw-svgpin circle { fill: #FFFFFF; stroke: var(--ink); stroke-width: 1.5; } .zw-svgpin text { font: 700 12px var(--font-body); text-anchor: middle; fill: var(--ink); }
.zw-svgpin.first circle { fill: var(--gold-dark); stroke: #FFFFFF; stroke-width: 3; } .zw-svgpin.first text { fill: #FFFFFF; }
.zw-svgpin.on circle { fill: var(--ink); stroke: #FFFFFF; } .zw-svgpin.on text { fill: #FFFFFF; }
.zw-svgpin.hid circle { fill: #E6E3DE; stroke: #FFFFFF; } .zw-svgpin.hid { cursor: default; }
.zw-iends { display: flex; flex-direction: column; border-radius: 14px; border: .5px solid var(--line); }
.zw-iends > div { padding: 14px; display: flex; flex-direction: column; gap: 4px; } .zw-iends > div + div { border-top: .5px solid var(--line); }
.zw-iends b { font-size: 16px; }
.zw-ilock { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.zw-istops { margin: 0; padding: 0; list-style: none; }
.zw-istops li { min-height: 76px; padding: 10px 0 10px 6px; display: flex; align-items: center; gap: 14px; border-bottom: .5px solid var(--line); }
.zw-istops li.hid { filter: blur(5px); user-select: none; }
.zw-istops__img { position: relative; width: 56px; height: 56px; flex-shrink: 0; border-radius: 12px; background: var(--ph); }
.zw-istops__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.zw-istops__img b { position: absolute; left: -6px; top: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #FFFFFF; border: 2px solid #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.zw-istops strong { display: block; font-size: 16px; } .zw-istops small { font-size: 14px; color: var(--muted); }
.zw-iacc { border-top: .5px solid var(--line); }
.zw-iacc details { border-bottom: .5px solid var(--line); }
.zw-iacc summary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.zw-iacc summary::-webkit-details-marker { display: none; }
.zw-iacc details[open] summary .zw-ic { transform: rotate(180deg); }
.zw-iacc__body { padding: 0 0 18px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.55; }
.zw-icheck { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.zw-icheck li { display: flex; gap: 10px; } .zw-icheck .zw-ic { color: var(--gold-dark); margin-top: 3px; }
.zw-iauthor { display: flex; align-items: center; gap: 14px; }
.zw-iauthor__img { width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; background: #A99D89; background-size: cover; }
.zw-iauthor__img--z { background: var(--ink); color: var(--gold-soft); display: flex; align-items: center; justify-content: center; font: 700 24px var(--font-display); }
.zw-iauthor__img--initials { background: var(--ink); color: var(--gold-soft); display: flex; align-items: center; justify-content: center; font: 700 20px var(--font-display); letter-spacing: 0.5px; text-transform: uppercase; }
.zw-iauthor b { display: flex; align-items: center; gap: 6px; font-size: 17px; } .zw-iauthor small { font-size: 14px; color: var(--muted); }

/* barra di sblocco: fissa in basso su telefono, card a destra su web */
.zw-iside { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: #FFFFFF; border-top: .5px solid var(--line); padding: 12px 24px calc(14px + var(--safe-bottom)); }
.zw-icta { display: flex; flex-direction: column; gap: 8px; }
.zw-icta__price { display: none; font-family: var(--font-display); font-size: 30px; font-weight: 600; }
.zw-icta__note { font-size: 13px; line-height: 1.4; color: var(--muted); text-align: center; }
.zw-icta .zw-btn { min-height: 52px; }
.zw-icta__or { font-size: 13px; line-height: 1.4; color: var(--muted); text-align: center; margin: 2px 0 0; }
.zw-icta__codeform { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.zw-icta__codebox { display: flex; gap: 8px; align-items: stretch; }
.zw-icta__codeinput { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid rgba(26,23,20,.22); background: #FFFFFF; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: .06em; text-transform: uppercase; transition: border-color .15s ease, box-shadow .15s ease; }
.zw-icta__codeinput::placeholder { text-transform: none; letter-spacing: normal; font-weight: 400; color: #8C7F70; }
.zw-icta__codeinput:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,154,60,.25); }
.zw-icta__codeinput[aria-invalid="true"] { border-color: var(--err); }
.zw-icta .zw-icta__codebtn { height: 48px; min-height: 48px; padding: 0 18px; font-size: 14px; font-weight: 700; flex-shrink: 0; border-radius: 12px; white-space: nowrap; }
.zw-icta__codeerr { font-size: 12px; font-weight: 600; margin: 0; padding: 0 2px; color: var(--err); display: flex; align-items: center; gap: 5px; }
.zw-imain { padding-bottom: 195px; }
@media (min-width: 900px) {
  .zw-igrid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; padding-top: 36px; }
  .zw-imain { padding-bottom: 0; }
  .zw-ihead h1 { font-size: 46px; }
  .zw-iside { position: sticky; top: calc(var(--topnav-h) + 24px); left: auto; right: auto; bottom: auto; border: .5px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: 0 8px 30px rgba(26,23,20,.08); }
  .zw-icta__price { display: block; } .zw-icta__note { text-align: left; font-size: 14px; }
  .zw-map__box { height: 340px; }
}
@media (min-width: 768px) and (max-width: 899px) { .zw-iside { left: 40px; right: 40px; bottom: 16px; border-radius: 20px; border: .5px solid var(--line); box-shadow: 0 8px 30px rgba(26,23,20,.12); } }

/* ---------- Sblocco ---------- */
.zw-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.zw-field input { height: 60px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--gold); font: 600 20px var(--font-display); letter-spacing: .12em; color: var(--ink); background: #FFFFFF; text-transform: uppercase; }
.zw-field input[aria-invalid="true"] { border: 2px solid var(--err); }
.zw-field input:focus { outline: 3px solid rgba(196,154,60,.35); outline-offset: 1px; }
.zw-err { display: flex; align-items: flex-start; gap: 6px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--err); }
.zw-err .zw-ic { margin-top: 1px; }
.zw-codeform { display: flex; flex-direction: column; gap: 14px; }
.zw-codeform h2 { margin: 6px 0 0; }
.zw-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding-top: 8px; }
.zw-done__ic { width: 76px; height: 76px; border-radius: 50%; background: var(--gold-dark); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.zw-done__ic--err { background: var(--surface); color: var(--err); }
.zw-done__img { width: 76px; height: 76px; border-radius: 16px; background: var(--ph); overflow: hidden; } .zw-done__img img { width: 100%; height: 100%; object-fit: cover; }
.zw-done .zw-btn { margin-top: 4px; }
.zw-done--page { max-width: 480px; margin: 0 auto; padding: 18vh 24px 40px; }
.zw-done--page h1 { font-size: 28px; }
.zw-done__actions { width: 100%; display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.zw-progress--run { width: 200px; } .zw-progress--run i { width: 40%; animation: zwRun 1.4s ease-in-out infinite; }
@keyframes zwRun { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }

.zw-buy { padding-top: 20px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 20px; max-width: 560px; }
.zw-buy__tour { display: flex; gap: 14px; align-items: center; }
.zw-buy__img { width: 76px; height: 76px; flex-shrink: 0; border-radius: 12px; background: var(--ph); overflow: hidden; } .zw-buy__img img { width: 100%; height: 100%; object-fit: cover; }
.zw-buy__tour > span:last-child { display: flex; flex-direction: column; gap: 4px; } .zw-buy__tour b { font: 600 18px var(--font-display); } .zw-buy__tour small { font-size: 13px; color: var(--muted); }
.zw-buy__perks { margin: 0; padding: 16px; list-style: none; border-radius: 14px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.zw-buy__perks li { display: flex; gap: 10px; align-items: center; } .zw-buy__perks .zw-ic { color: var(--gold-dark); }
.zw-buy__pay { display: flex; flex-direction: column; gap: 10px; }
.zw-buy__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; font-weight: 600; } .zw-buy__total b { font: 600 24px var(--font-display); }
.zw-express { min-height: 128px; display: flex; flex-direction: column; gap: 8px; }
.zw-express__label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.zw-express__mount { min-height: 104px; }
.zw-express__skel { min-height: 104px; display: flex; flex-direction: column; gap: 8px; }
.zw-express__skel span { height: 48px; border-radius: 12px; background: linear-gradient(90deg, var(--ph), #fff, var(--ph)); background-size: 220% 100%; animation: zwSkel 1.4s infinite linear; box-shadow: inset 0 0 0 .5px var(--line); }
.zw-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; padding: 6px 0; cursor: pointer; }
.zw-check input { width: 22px; height: 22px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--gold-dark); }
.zw-btn--wallet { background: #000000; color: #FFFFFF; font-size: 16px; }
@media (min-width: 900px) {
  .zw-buy { display: grid; grid-template-columns: minmax(0, 1fr) 420px; max-width: var(--wrap); gap: 40px; align-items: start; padding-top: 28px; }
  .zw-buy__pay { grid-column: 2; grid-row: 1 / span 3; padding: 26px; border-radius: 22px; border: .5px solid var(--line); box-shadow: 0 8px 30px rgba(26,23,20,.08); }
}

/* ======================= TOUR ======================= */
.zw-pillbtn { min-height: var(--tap); padding: 0 14px; border-radius: var(--r-pill); border: 0; background: rgba(255,255,255,.95); color: var(--ink); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: 0 2px 10px rgba(26,23,20,.15); }
.zw-btn--outline { background: #FFFFFF; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--gold-dark); }
.zw-segs { display: flex; gap: 4px; } .zw-segs i { flex: 1; height: 4px; border-radius: 2px; background: rgba(26,23,20,.12); } .zw-segs i.done { background: var(--ink); } .zw-segs i.now { background: var(--gold-dark); }
.zw-pin.done { background: var(--ink); border-color: #FFFFFF; color: #FFFFFF; }
.zw-pin.now { width: 40px; height: 40px; margin: -2px; background: var(--gold-dark); border: 3px solid #FFFFFF; color: #FFFFFF; font-size: 15px; }
.zw-route-arrow { width: 28px; height: 28px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 2px 10px rgba(26,23,20,.22); display: flex; align-items: center; justify-content: center; }
.zw-route-arrow::before { content: ''; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 12px solid var(--gold-dark); transform: translateY(-1px); }

/* Real-time User Location Marker (high visibility, floats above polylines) */
.zw-user-location-marker { position: relative; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.zw-user-dot { position: relative; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.zw-user-dot__pulse { position: absolute; width: 42px; height: 42px; border-radius: 50%; background: rgba(30,111,216,.28); animation: zwUserPulse 2s cubic-bezier(0.25, 1, 0.5, 1) infinite; pointer-events: none; }
.zw-user-dot__core { position: relative; width: 18px; height: 18px; border-radius: 50%; background: #1E6FD8; border: 3px solid #FFFFFF; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
@keyframes zwUserPulse {
  0% { transform: scale(0.5); opacity: 0.9; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Cammino */
.zw-walk { position: relative; height: 100svh; overflow: hidden; background: #ECE9E3; }
.zw-walk__map { position: absolute; inset: 0; z-index: 1; }
.zw-mapfallback { height: 60%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; color: var(--muted); }
.zw-walk__back { position: absolute; z-index: 5; left: 12px; top: calc(12px + var(--safe-top)); }
.zw-walk__stops { position: absolute; z-index: 5; right: 12px; top: calc(12px + var(--safe-top)); }
.zw-walk__me { position: absolute; z-index: 5; right: 12px; bottom: calc(var(--panel-h, 330px) + 12px); }
.zw-walk__panel { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; background: #FFFFFF; border-radius: 24px 24px 0 0; box-shadow: 0 -6px 24px rgba(26,23,20,.12); padding: 18px 24px calc(18px + var(--safe-bottom)); display: flex; flex-direction: column; gap: 10px; max-height: 62svh; overflow-y: auto; }
.zw-walk__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.zw-walk__dist { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.zw-walk__panel h1 { font-size: 26px; }
.zw-walk__text { font-size: 16px; line-height: 1.55; }
.zw-walk__gps { display: flex; gap: 6px; align-items: flex-start; font-size: 14px; font-weight: 600; color: var(--muted); }
.zw-walk__actions { display: flex; gap: 10px; margin-top: 4px; } .zw-walk__actions .zw-btn { flex: 1; padding: 0 14px; white-space: nowrap; } .zw-walk__actions .zw-btn--primary { flex: 1.25; }
@media (min-width: 900px) {
  .zw-walk { display: grid; grid-template-columns: 1fr 440px; height: 100vh; }
  .zw-walk__map { position: relative; inset: auto; }
  .zw-walk__panel { position: relative; border-radius: 0; box-shadow: none; border-left: .5px solid var(--line); max-height: none; padding: 96px 32px 32px; justify-content: flex-start; }
  .zw-walk__stops { right: 452px; } .zw-walk__me { right: 452px; bottom: 24px; }
}

/* Tappa */
.zw-stop { min-height: 100svh; background: #FFFFFF; }
.zw-stop__photo { position: relative; height: 380px; background: #B8AE9C; overflow: hidden; }
.zw-stop__photo img { width: 100%; height: 100%; object-fit: cover; }
.zw-stop__back { position: absolute; left: 12px; top: calc(12px + var(--safe-top)); }
.zw-stop__tools { position: absolute; right: 12px; top: calc(12px + var(--safe-top)); display: flex; gap: 8px; }
.zw-stop__body { position: relative; margin-top: -40px; border-radius: 24px 24px 0 0; background: #FFFFFF; padding: 20px 24px 200px; display: flex; flex-direction: column; gap: 20px; }
.zw-stop__head { display: flex; flex-direction: column; gap: 4px; }
.zw-stop__head h1 { font-size: 30px; line-height: 1.1; } .zw-stop__head p { font-size: 16px; color: var(--muted); }
.zw-look, .zw-gem { display: flex; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--surface); }
.zw-look .zw-ic { color: var(--gold-dark); }
.zw-look b, .zw-gem b { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 4px; }
.zw-look p { font-size: 16px; line-height: 1.5; }
.zw-gem { background: var(--ink); color: #FFFFFF; } .zw-gem .zw-ic { color: var(--gold-soft); } .zw-gem b { color: var(--gold-soft); }
.zw-gem p { font-family: var(--font-body); font-weight: var(--zw-font-body-weight, 400); font-size: 17px; line-height: var(--zw-line-height-base, 1.5); color: rgba(255,255,255,.92); }
.zw-story { display: flex; flex-direction: column; gap: 12px; } .zw-story h2 { font-size: 22px; } .zw-story p { font-size: 17px; line-height: 1.65; }
.zw-tplayer { display: flex; flex-direction: column; gap: 6px; }
.zw-tplayer__track input { width: 100%; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; --p: 0%; }
.zw-tplayer__track input::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--gold-dark) var(--p), rgba(26,23,20,.12) var(--p)); }
.zw-tplayer__track input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: var(--gold-dark); border: 3px solid #FFFFFF; box-shadow: 0 0 0 .5px rgba(0,0,0,.2); }
.zw-tplayer__track input::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(26,23,20,.12); }
.zw-tplayer__track input::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--gold-dark); }
.zw-tplayer__track input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--gold-dark); border: 3px solid #FFFFFF; }
.zw-tplayer__time { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.zw-tplayer__ctrl { display: flex; align-items: center; justify-content: space-between; }
.zw-tplayer__rate { width: 56px; height: var(--tap); border-radius: var(--r-pill); border: .5px solid var(--line-strong); background: #FFFFFF; font-size: 14px; font-weight: 700; cursor: pointer; }
.zw-tplayer__skip { position: relative; width: 56px; height: 56px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.zw-tplayer__skip small { position: absolute; font-size: 10px; font-weight: 800; top: 50%; left: 50%; transform: translate(-50%, -40%); }
.zw-tplayer__play { width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--gold-dark); color: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.zw-tplayer__play[aria-disabled="true"] { background: #E6E3DE; color: var(--muted); }
.zw-tplayer__spacer { width: 56px; }
.zw-notebox { display: flex; flex-direction: column; gap: 8px; }
.zw-notebox__head { display: flex; align-items: baseline; justify-content: space-between; } .zw-notebox label { font: 600 20px var(--font-display); }
.zw-notebox textarea { min-height: 96px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(26,23,20,.2); font: 16px/1.5 var(--font-body); color: var(--ink); resize: vertical; }
.zw-stop__foot { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; background: #FFFFFF; padding: 10px 12px calc(10px + var(--safe-bottom)); border-top: .5px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.zw-stop__foot > .zw-btn { margin: 0 12px; width: auto; }
.zw-console { display: flex; align-items: center; gap: 8px; }
.zw-console > a, .zw-console > span[aria-disabled] { flex: 1; min-width: 0; min-height: 56px; padding: 0 12px; border-radius: 28px; display: flex; align-items: center; gap: 8px; text-decoration: none; }
.zw-console__prev { box-shadow: inset 0 0 0 .5px var(--line-strong); color: var(--ink); }
.zw-console__prev[aria-disabled] { color: rgba(26,23,20,.35); }
.zw-console__next { background: var(--gold-dark); color: #FFFFFF; justify-content: flex-end; text-align: right; }
.zw-console > a > span, .zw-console > span > span { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.zw-console__next > span { align-items: flex-end; }
.zw-console small { font-size: 11px; font-weight: 700; opacity: .85; }
.zw-console b { display: block; max-width: 100%; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zw-console__next > span { width: 100%; }
.zw-console__n { width: 44px; flex-shrink: 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); }
@media (min-width: 900px) {
  .zw-stop { display: grid; grid-template-columns: minmax(0, 1fr) 560px; }
  .zw-stop__photo { position: sticky; top: 0; height: 100vh; }
  .zw-stop__body { margin-top: 0; border-radius: 0; padding: 40px 40px 220px; }
  .zw-stop__foot { left: auto; width: 560px; border-left: .5px solid var(--line); padding: 12px 20px 16px; }
}

/* Approfondimento */
.zw-appro__bar { position: sticky; top: 0; z-index: 20; height: 68px; padding: calc(var(--safe-top)) 12px 0; display: flex; align-items: center; gap: 10px; background: #FFFFFF; border-bottom: .5px solid var(--line); }
.zw-appro__bar .zw-roundbtn { box-shadow: none; }
.zw-appro__title { flex: 1; min-width: 0; display: flex; flex-direction: column; } .zw-appro__title small { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--gold-dark); } .zw-appro__title b { font: 600 18px var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zw-appro__play { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--gold-dark); color: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.zw-appro__body { padding-top: 24px; padding-bottom: 140px; display: flex; flex-direction: column; gap: 22px; max-width: 760px; }
.zw-appro__body h1 { font-size: 28px; } .zw-appro__body h2 { font-size: 22px; margin-bottom: 12px; }
.zw-appro__p { font-size: 17px; line-height: 1.65; }
.zw-tag { align-self: flex-start; height: 26px; padding: 0 12px; border-radius: 13px; background: var(--surface-2); font-size: 12px; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; }
.zw-appro__photos { display: flex; gap: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); }
.zw-appro__photos figure { margin: 0; width: 260px; flex-shrink: 0; display: flex; flex-direction: column; gap: 6px; }
.zw-appro__photos span { height: 180px; border-radius: 14px; background: var(--ph); overflow: hidden; } .zw-appro__photos img { width: 100%; height: 100%; object-fit: cover; }
.zw-appro__photos figcaption { font-size: 13px; color: var(--muted); }
.zw-dots { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; } .zw-dots li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.55; } .zw-dots li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-dark); }
.zw-info { margin: 0; border-radius: 14px; border: .5px solid var(--line); } .zw-info > div { padding: 12px 14px; } .zw-info > div + div { border-top: .5px solid var(--line); } .zw-info dt { font-size: 13px; font-weight: 700; color: var(--muted); } .zw-info dd { margin: 2px 0 0; font-size: 15px; }
.zw-tip { padding: 18px; border-radius: 16px; background: var(--surface); } .zw-tip b { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 6px; } .zw-tip p { font-size: 16px; line-height: 1.5; }
.zw-near { display: flex; flex-direction: column; gap: 12px; } .zw-near article { padding: 14px; border-radius: 14px; border: .5px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.zw-near__head { display: flex; justify-content: space-between; gap: 10px; } .zw-near h3 { font-size: 16px; font-family: var(--font-body); font-weight: 700; } .zw-near__head span { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.zw-near p { font-size: 15px; line-height: 1.45; } .zw-near small { font-size: 13px; color: var(--muted); }
@media (min-width: 900px) { .zw-appro .zw-stop__foot { left: 50%; transform: translateX(-50%); width: 760px; border: .5px solid var(--line); border-bottom: 0; border-radius: 20px 20px 0 0; } }

/* Elenco tappe, note */
.zw-slist__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; } .zw-slist__head h2 { margin: 2px 0 0; }
.zw-slist { margin: 0 0 16px; padding: 0; list-style: none; }
.zw-slist__row { min-height: 68px; padding: 8px 0 8px 6px; display: flex; align-items: center; gap: 14px; border-bottom: .5px solid var(--line); text-decoration: none; color: var(--ink); }
.zw-slist__row.now .zw-istops__img { box-shadow: 0 0 0 2px var(--gold-dark); }
.zw-slist__row strong { display: block; font-size: 15px; } .zw-slist__row small { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); } .zw-slist__row small.now { color: var(--gold-dark); } .zw-slist__row small .zw-ic { color: var(--gold-dark); }
.zw-notes { padding-top: 16px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.zw-notecard { padding: 14px; border-radius: 14px; border: .5px solid var(--line); display: flex; flex-direction: column; gap: 6px; } .zw-notecard > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .zw-notecard p { font-size: 16px; line-height: 1.5; white-space: pre-line; }

/* Fine */
.zw-fine { position: relative; padding-top: calc(var(--safe-top) + 24px); }
.zw-fine__close { position: absolute; right: 12px; top: calc(12px + var(--safe-top)); box-shadow: none; }
.zw-fine__top { padding-top: 56px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; max-width: 720px; }
.zw-fine__dots { display: flex; gap: 5px; } .zw-fine__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-dark); }
.zw-fine__top h1 { font-size: 32px; line-height: 1.15; } .zw-fine__top h1 span { display: block; font-size: 58px; color: var(--gold-dark); }
.zw-fine__top > p { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 52ch; }
.zw-fine__stats { margin: 6px 0 0; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .zw-fine__stats > div { padding: 12px 4px; border-radius: 14px; background: var(--surface); } .zw-fine__stats dt { font-size: 12px; color: var(--muted); } .zw-fine__stats dd { margin: 2px 0 0; font: 600 18px var(--font-display); }
.zw-fine__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.zw-news { margin: 32px auto 0; max-width: 720px; padding: 20px; border-radius: 16px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.zw-news h2 { font-size: 20px; } .zw-news__body { display: flex; flex-direction: column; gap: 10px; } .zw-news__body > p:first-child { font-size: 15px; color: var(--muted); }
.zw-news__row { display: flex; flex-direction: column; gap: 10px; }
.zw-news__row input { height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-strong); font: 16px var(--font-body); background: #FFFFFF; }
.zw-news__row input[aria-invalid="true"] { border: 2px solid var(--err); }
.zw-news__ok { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; } .zw-news__ok .zw-ic { color: var(--gold-dark); }
.zw-fine__home { margin-top: 20px; }
@media (min-width: 768px) { .zw-news__row { flex-direction: row; } .zw-news__row input { flex: 1; border-radius: 26px; } .zw-fine__top h1 { font-size: 44px; } .zw-fine__top h1 span { font-size: 88px; } .zw-fine__home { max-width: 320px; margin-left: auto; margin-right: auto; } }

/* Mini-player audio globale */
.zw-mini {
  position: fixed;
  z-index: 45;
  left: 8px;
  right: 8px;
  bottom: calc(var(--tabbar-h) + 8px);
  height: 64px;
  padding: 0 8px 0 10px;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 8px 28px rgba(26,23,20,.18), 0 1px 3px rgba(26,23,20,.08);
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease-out;
  touch-action: pan-y;
  user-select: none;
}
.zw-mini[hidden] {
  display: none !important;
}
.zw-mini--closing {
  transform: translateY(96px) !important;
  opacity: 0 !important;
  pointer-events: none;
}
.zw-mini__bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: rgba(196,154,60,.22);
}
.zw-mini__bar i {
  display: block;
  height: 100%;
  background: var(--gold);
}
.zw-mini__img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--ph);
  overflow: hidden;
}
.zw-mini__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.zw-mini__txt {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
}
.zw-mini__txt b {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}
.zw-mini__txt small {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
  margin-top: 2px;
}
.zw-mini__btn {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.zw-mini__btn:active {
  transform: scale(0.92);
}
.zw-mini__close {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 0;
  background: var(--surface);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.zw-mini__close:hover {
  background: rgba(26,23,20,.12);
  color: var(--ink);
}
.zw-mini__close:active {
  transform: scale(0.92);
}
@media (max-width: 899px) {
  .zw-mini--above-cta {
    bottom: calc(96px + var(--safe-bottom));
  }
}
@media (min-width: 768px) {
  .zw-mini {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 480px;
    bottom: 16px;
  }
  .zw-mini--closing {
    transform: translate(-50%, 96px) !important;
  }
}

/* Evita sovrapposizioni alle azioni primarie e testi quando il mini-player è attivo */
body.has-mini-player .zw-walk__panel {
  padding-bottom: calc(92px + var(--safe-bottom));
}
@media (min-width: 900px) {
  body.has-mini-player .zw-walk__panel {
    padding-bottom: 96px;
  }
}
body.has-mini-player:not(.zw-immersive):not(.zw-immersive-m) main {
  padding-bottom: calc(var(--tabbar-h) + 76px);
}
@media (max-width: 899px) {
  body.has-mini-player .zw-imain {
    padding-bottom: calc(230px + var(--safe-bottom));
  }
}

/* ======================= ACCOUNT E AREA PERSONALE ======================= */
.zw-only-d { display: none !important; }
@media (min-width: 768px) { .zw-only-d { display: block !important; } .zw-only-m { display: none !important; } }
.zw-auth { min-height: calc(100svh - var(--tabbar-h)); display: flex; justify-content: center; padding: calc(32px + var(--safe-top)) 24px 40px; }
.zw-auth__card { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 14px; }
.zw-auth__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin: 12px 0 6px; }
.zw-auth__head--left { align-items: flex-start; text-align: left; }
.zw-auth__head h1 { font-size: 26px; } .zw-auth__head p { font-size: 15px; color: var(--muted); }
.zw-auth__ic { width: 68px; height: 68px; border-radius: 50%; background: var(--surface); color: var(--gold-dark); display: flex; align-items: center; justify-content: center; }
@media (min-width: 768px) { .zw-auth { background: var(--surface); align-items: flex-start; padding-top: 64px; } .zw-auth__card { background: #FFFFFF; border-radius: 24px; padding: 36px; box-shadow: 0 4px 24px rgba(26,23,20,.06); } }
.zw-google { min-height: 44px; display: flex; justify-content: center; }
.zw-form { display: flex; flex-direction: column; gap: 14px; }
.zw-form--narrow { max-width: 560px; } .zw-form + .zw-form { margin-top: 32px; padding-top: 24px; border-top: .5px solid var(--line); } .zw-form h2 { font-size: 20px; }
.zw-input { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); min-width: 0; }
.zw-input input, .zw-input textarea { width: 100%; min-height: 52px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: #FFFFFF; font: 16px var(--font-body); color: var(--ink); }
.zw-input textarea { padding: 12px 14px; min-height: 110px; resize: vertical; }
.zw-input input[readonly] { background: var(--surface); color: var(--muted); border-color: var(--line); }
.zw-input input[aria-invalid="true"] { border: 2px solid var(--err); }
.zw-input small { font-size: 12px; font-weight: 600; color: var(--muted); }
.zw-input .zw-err { font-size: 13px; }
.zw-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.zw-phone-in { display: flex; gap: 8px; } .zw-phone-in > span { width: 64px; min-height: 52px; flex-shrink: 0; border-radius: 12px; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; color: var(--ink); }
.zw-okbox { display: flex; gap: 10px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--surface); font-size: 15px; } .zw-okbox .zw-ic { color: var(--gold-dark); }
.zw-coderow { width: 100%; min-height: 60px; padding: 0 16px; border-radius: 14px; border: .5px dashed rgba(138,107,40,.6); background: #FFFFFF; display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer; color: var(--ink); }
.zw-coderow .zw-ic { color: var(--gold-dark); } .zw-coderow span { flex: 1; display: flex; flex-direction: column; } .zw-coderow b { font-size: 14px; } .zw-coderow small { font-size: 12px; color: var(--muted); } .zw-coderow em { font-style: normal; font-size: 14px; font-weight: 700; color: var(--gold-dark); }
.zw-link--muted { color: var(--muted); font-weight: 600; font-size: 14px; }
.zw-btn--danger { background: var(--err); color: #FFFFFF; }
.zw-btn--light { background: #FFFFFF; color: var(--ink); align-self: flex-start; }
.zw-sheet__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }

/* I miei tour */
.zw-my { padding-top: 20px; padding-bottom: 40px; }
.zw-my__top { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; } .zw-my__top h1 { font-size: 30px; }
.zw-seg { height: 48px; padding: 2px; border-radius: 24px; background: var(--surface-2); display: flex; }
.zw-seg button { flex: 1; min-height: 44px; border: 0; border-radius: 22px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 700; cursor: pointer; }
.zw-seg button[aria-selected="true"] { background: #FFFFFF; color: var(--ink); box-shadow: 0 1px 4px rgba(26,23,20,.12); }
.zw-mylist { display: flex; flex-direction: column; gap: 12px; }
.zw-mycard { padding: 12px; border-radius: 16px; border: .5px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.zw-mycard__main { display: flex; gap: 12px; text-decoration: none; color: var(--ink); }
.zw-mycard__img { width: 72px; height: 72px; flex-shrink: 0; border-radius: 10px; background: var(--ph); overflow: hidden; } .zw-mycard__img img { width: 100%; height: 100%; object-fit: cover; }
.zw-mycard__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .zw-mycard__txt b { font: 600 17px var(--font-display); }
.zw-mycard__st { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); } .zw-mycard__st .zw-ic { color: var(--gold-dark); }
.zw-mycard > .zw-btn { min-height: 48px; }
@media (min-width: 768px) {
  .zw-my { padding-top: 40px; }
  .zw-my__top { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 24px; } .zw-my__top h1 { font-size: 40px; } .zw-seg { width: 340px; }
  .zw-coderow--inline { width: auto; margin-left: auto; min-height: 52px; border-radius: 26px; }
  .zw-mylist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .zw-mycard { padding: 14px; } .zw-mycard__main { flex-direction: column; } .zw-mycard__img { width: 100%; height: 170px; border-radius: 12px; }
}

/* Profilo */
.zw-prof { padding-top: 20px; padding-bottom: 48px; }
.zw-prof__side { display: none; }
.zw-prof__main { display: flex; flex-direction: column; gap: 24px; } .zw-prof__main > h1 { font-size: 30px; }
.zw-prof__card, .zw-prof__me { display: flex; align-items: center; gap: 14px; }
.zw-prof__card .zw-avatar { width: 64px; height: 64px; } .zw-prof__card span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.zw-prof__card b, .zw-prof__me b { font: 600 19px var(--font-display); } .zw-prof__card small, .zw-prof__me small { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }

/* Avatar uploader in Personal details */
.zw-avatar-card { display: flex; align-items: center; gap: 20px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 24px; max-width: 560px; }
.zw-avatar-card__visual { position: relative; flex-shrink: 0; }
.zw-avatar--xl { width: 80px; height: 80px; border-radius: 50%; border: 2.5px solid var(--gold-dark); box-shadow: 0 4px 14px rgba(26,23,20,.12); background-size: cover; background-position: center; }
.zw-avatar-card__cam { position: absolute; right: -2px; bottom: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--gold-soft); border: 2px solid #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .15s ease, background .15s ease; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.zw-avatar-card__cam:hover { transform: scale(1.08); background: #000; }
.zw-avatar-card__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.zw-avatar-card__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.zw-avatar-card__btn { min-height: 42px; padding: 0 18px; font-size: 14px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.zw-avatar-card__hint { font-size: 12px; color: var(--muted); line-height: 1.4; }
@media (max-width: 480px) {
  .zw-avatar-card { flex-direction: column; align-items: flex-start; gap: 14px; }
}
.zw-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.zw-stats a { min-height: 72px; border-radius: 14px; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); }
.zw-stats b { font: 600 22px var(--font-display); } .zw-stats small { font-size: 12px; font-weight: 600; color: var(--muted); }
.zw-prof__sec h2 { font-size: 13px; font-family: var(--font-body); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.zw-plist { border-radius: 14px; border: .5px solid var(--line); overflow: hidden; }
.zw-prow { min-height: 56px; padding: 0 14px; display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 600; }
.zw-prow + .zw-prow { border-top: .5px solid var(--line); } .zw-prow > .zw-ic:first-child { color: var(--muted); } .zw-prow span { flex: 1; } .zw-prow em { font-style: normal; font-size: 13px; font-weight: 400; color: var(--muted); } .zw-prow > .zw-ic:last-child { color: var(--muted); }
.zw-guidebox { padding: 20px; border-radius: 18px; background: var(--ink); color: #FFFFFF; display: flex; flex-direction: column; gap: 10px; }
.zw-guidebox .zw-eyebrow { color: var(--gold-soft); } .zw-guidebox h2 { font-size: 21px; } .zw-guidebox p { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.8); }
.zw-prof__end { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.zw-radios { margin: 0; padding: 0; border: 0; max-width: 560px; } .zw-radios legend { padding: 0 0 12px; font-size: 15px; line-height: 1.5; }
.zw-radios label { min-height: 56px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; border: .5px solid var(--line); border-bottom: 0; font-size: 15px; font-weight: 600; cursor: pointer; }
.zw-radios label:first-of-type { border-radius: 14px 14px 0 0; } .zw-radios label:last-of-type { border-bottom: .5px solid var(--line); border-radius: 0 0 14px 14px; }
.zw-radios input { width: 22px; height: 22px; accent-color: var(--gold-dark); }
.zw-acq { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.zw-acqrow { padding: 12px; border-radius: 14px; border: .5px solid var(--line); display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.zw-acqrow .zw-mycard__img { width: 56px; height: 56px; } .zw-acqrow > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; } .zw-acqrow b { font: 600 16px var(--font-display); } .zw-acqrow small { font-size: 13px; color: var(--muted); } .zw-acqrow > .zw-ic { color: var(--muted); }
@media (min-width: 768px) {
  .zw-prof { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; padding-top: 40px; align-items: start; }
  .zw-prof__side { display: flex; flex-direction: column; gap: 4px; position: sticky; top: calc(var(--topnav-h) + 24px); }
  .zw-prof__me { padding: 0 4px 18px; } .zw-prof__me > span:last-child { display: flex; flex-direction: column; min-width: 0; }
  .zw-prof__side nav { display: flex; flex-direction: column; gap: 2px; }
  .zw-prof__side nav a { min-height: 48px; padding: 0 14px; border-radius: 12px; display: flex; align-items: center; font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; }
  .zw-prof__side nav a[aria-current] { background: var(--surface-2); color: var(--ink); font-weight: 700; }
  .zw-prof__side .zw-btn { margin-top: 16px; min-height: 48px; }
  .zw-prof__main > h1 { font-size: 36px; } .zw-prof__main--sub > h1 { margin-bottom: 4px; }
  .zw-stats a { min-height: 96px; } .zw-stats b { font-size: 30px; }
  .zw-guidebox { padding: 28px 32px; } .zw-guidebox h2 { font-size: 26px; }
  .zw-plist--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border: 0; } .zw-plist--grid .zw-prow { border: .5px solid var(--line) !important; border-radius: 14px; }
  .zw-prof__end { align-items: flex-start; }
}

/* Candidatura, FAQ */
.zw-apply { padding-top: 20px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 22px; }
.zw-apply__intro { display: flex; flex-direction: column; gap: 10px; } .zw-apply__intro h1 { font-size: 28px; } .zw-apply__intro p { font-size: 15px; color: var(--muted); }
.zw-apply__perks { margin: 6px 0 0; padding: 0; list-style: none; display: none; flex-direction: column; gap: 14px; } .zw-apply__perks li { display: flex; align-items: center; gap: 12px; font-weight: 700; } .zw-apply__perks .zw-ic { color: var(--gold-dark); }
.zw-apply__form .zw-btn { align-self: stretch; }
@media (min-width: 900px) {
  .zw-apply { display: grid; grid-template-columns: minmax(0, 1fr) 600px; gap: 60px; padding-top: 56px; align-items: start; }
  .zw-apply__intro h1 { font-size: 48px; line-height: 1.05; } .zw-apply__intro p { font-size: 17px; } .zw-apply__perks { display: flex; }
  .zw-apply__form { padding: 36px; border-radius: 24px; border: .5px solid var(--line); box-shadow: 0 8px 30px rgba(26,23,20,.06); } .zw-apply__form .zw-btn { align-self: flex-start; }
}
.zw-faq { padding-top: 16px; padding-bottom: 48px; max-width: 760px; } .zw-faq > h1 { font-size: 40px; margin: 24px 0 20px; }
.zw-faq .zw-iacc summary { font-size: 17px; gap: 12px; padding: 8px 0; }

/* Esplora: card più piccole (due colonne su telefono), indietro, pagine */
.zw-explore__title { display: flex; align-items: center; gap: 10px; }
.zw-explore__title .zw-roundbtn { box-shadow: none; margin-left: -10px; }
.zw-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
.zw-list .zw-card { gap: 4px; }
.zw-list .zw-card__img { aspect-ratio: 4 / 3; border-radius: 14px; margin-bottom: 4px; }
.zw-list .zw-card__by { width: 34px; height: 34px; left: 7px; top: 7px; border-width: 2px; font-size: 14px; }
.zw-list .zw-card__fav { right: 2px; top: 2px; } .zw-list .zw-card__fav span { width: 32px; height: 32px; }
.zw-list .zw-card__title { font-size: 15px; line-height: 1.25; }
.zw-list .zw-card__info { font-size: 12px; gap: 6px; flex-wrap: wrap; } .zw-list .zw-card__info > span:first-child { white-space: normal; }
.zw-list .zw-card__info .zw-chip-lang { height: 20px; font-size: 10px; }
.zw-list .zw-card__who { font-size: 12px; }
.zw-list .zw-card__price { font-size: 15px; margin-top: auto; padding-top: 2px; } .zw-list .zw-card--soon .zw-card__price { font-size: 13px; }
.zw-pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 32px; }
.zw-pager button { min-width: var(--tap); height: var(--tap); padding: 0 10px; border-radius: 22px; border: .5px solid var(--line-strong); background: #FFFFFF; font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.zw-pager button[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.zw-pager button:disabled { opacity: .35; cursor: default; }
@media (min-width: 768px) {
  .zw-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
  .zw-list .zw-card__title { font-size: 16px; } .zw-list .zw-card__info, .zw-list .zw-card__who { font-size: 13px; } .zw-list .zw-card__price { font-size: 16px; }
}
@media (min-width: 1200px) { .zw-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
