/* WEtravel NEWS · Menu mobile 1.4.3
   Dock unico con menu + accesso + abbonati, logo SVG ufficiale e drawer laterale compatto.
   Solo smartphone / tablet fino a 991px. */
.wtn-mm__dock, .wtn-mm__panel, .wtn-mm__backdrop, .wtn-mm__account-popover { display: none; }
.wtn-mm__account-popover[hidden] { display:none!important; }
.wtn-mm__panel[hidden], .wtn-mm__backdrop[hidden] { display: none !important; }

@media (max-width: 991px) {
  #masthead .module.widget-handle.mobile-toggle,
  #masthead .module-group.right { display: none !important; }
  #masthead #site-navigation { background-color: #fff !important; }

  /* La Barra Area Abbonati v1.3.1 resta attiva su desktop:
     sui dispositivi mobili usa il dock unificato di questo plugin. */
  .wt-member-dock { display: none !important; }

  .wtn-mm__dock {
    display: flex !important;
    position: fixed !important;
    z-index: 2147483003 !important;
    right: 0 !important;
    top: calc(43% - 70px);
    flex-direction: column;
    gap: 0 !important;
    width: 52px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #3b3e45 !important;
    border-right: 0 !important;
    border-radius: 10px 0 0 10px !important;
    background: #25282e !important;
    color: #fff !important;
    overflow: hidden !important;
    box-shadow: 0 4px 18px rgba(0,0,0,.13) !important;
  }

  .wtn-mm__action {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #25282e !important;
    color: #fff !important;
    text-decoration: none !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .18s ease, color .18s ease;
  }
  .wtn-mm__action + .wtn-mm__action {
    border-top: 1px solid #444850 !important;
    margin-top: 0 !important;
  }
  .wtn-mm__action svg {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
    flex: 0 0 22px;
  }
  .wtn-mm__action--menu,
  .wtn-mm__action--menu:visited {
    background: #CC0000 !important;
    color: #fff !important;
  }
  .wtn-mm__action--secondary:hover,
  .wtn-mm__action--secondary:focus-visible,
  .wtn-mm__action--menu:hover,
  .wtn-mm__action--menu:focus-visible {
    background: #AA0000 !important;
    color: #fff !important;
  }

  .wtn-mm__account-popover:not([hidden]) {
    display: flex !important;
    position: fixed !important;
    top: calc(43% - 18px);
    right: 61px;
    width: min(220px, calc(100vw - 80px));
    z-index: 2147483004 !important;
    padding: 13px 14px !important;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #3b3e45;
    border-radius: 12px;
    background: #25282e;
    color: #fff !important;
    box-shadow: 0 6px 22px rgba(0,0,0,.2);
    box-sizing: border-box;
    font-family: Arial,sans-serif;
  }
  .wtn-mm__account-hello {
    display: block;
    margin: 0;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  .wtn-mm__account-dashboard,
  .wtn-mm__account-dashboard:visited {
    display: flex !important;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    background: #cc0000 !important;
    border: 0 !important;
    border-radius: 8px;
    color: #fff !important;
    padding: 10px 12px !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none !important;
  }
  .wtn-mm__account-dashboard:hover,
  .wtn-mm__account-dashboard:focus-visible {
    background: #3b3e45 !important;
    color: #fff !important;
    text-decoration: none !important;
  }
  .wtn-mm__account-dashboard::before,
  .wtn-mm__account-dashboard::after { text-decoration: none !important; box-shadow: none !important; }

  /* Specificità maggiore del generico '.wtn-mm__action svg':
     nessuna sovrapposizione tra hamburger e X. */
  body:not(.wtn-mm--open) .wtn-mm__dock .wtn-mm__action--menu > svg.wtn-mm__icon-open,
  body.wtn-mm--open .wtn-mm__dock .wtn-mm__action--menu > svg.wtn-mm__icon-close {
    display: block !important;
  }
  body:not(.wtn-mm--open) .wtn-mm__dock .wtn-mm__action--menu > svg.wtn-mm__icon-close,
  body.wtn-mm--open .wtn-mm__dock .wtn-mm__action--menu > svg.wtn-mm__icon-open {
    display: none !important;
  }

  .wtn-mm__action:focus-visible,
  .wtn-mm__panel button:focus-visible,
  .wtn-mm__panel a:focus-visible,
  .wtn-mm__panel input:focus-visible {
    outline: 2px solid #CC0000 !important;
    outline-offset: 3px;
  }

  body.wtn-mm--open { overflow: hidden !important; }
  body.wtn-mm--open .wtn-mm__account-popover { display: none !important; }
  /* Il dock NON cambia altezza quando si apre il drawer:
     prima passava da 43% - 70px al margine superiore, causando il salto. */
  body.wtn-mm--open .wtn-mm__dock {
    top: calc(43% - 70px) !important;
    right: 0 !important;
  }

  .wtn-mm__backdrop:not([hidden]) {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    background: rgba(19, 27, 36, .22) !important;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }

  .wtn-mm__panel:not([hidden]) {
    display: block !important;
    position: fixed !important;
    top: 10px !important;
    right: 60px !important;
    bottom: 10px !important;
    left: auto !important;
    width: min(84vw, 396px) !important;
    max-width: calc(100vw - 74px) !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(255,255,255,.62) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, .90) !important;
    -webkit-backdrop-filter: saturate(135%) blur(18px);
    backdrop-filter: saturate(135%) blur(18px);
    box-shadow: -10px 0 36px rgba(18, 27, 34, .14) !important;
    color: #1b252d !important;
    opacity: 1 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box !important;
    z-index: 2147483002 !important;
  }
  .wtn-mm__panel *, .wtn-mm__panel *::before, .wtn-mm__panel *::after { box-sizing: border-box; }

  .wtn-mm__inner {
    width: 100%;
    min-height: 100%;
    padding: calc(22px + env(safe-area-inset-top, 0px)) 22px calc(28px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0;
  }
  .wtn-mm__header {
    display: flex;
    align-items: center;
    min-height: 62px;
    padding-bottom: 12px;
    border: 0 !important;
  }
  .wtn-mm__brand { min-width: 0; flex: 1 1 auto; line-height: 1.2; }
  .wtn-mm__brand-link {
    display: inline-flex !important;
    align-items: center;
    max-width: 100%;
    line-height: 0;
    text-decoration: none !important;
  }
  .wtn-mm__brand-inline {
    display: inline-block !important;
    width: min(100%, 225px) !important;
    max-width: 100% !important;
    vertical-align: middle;
    line-height: 0;
  }
  .wtn-mm__brand-inline svg {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 54px !important;
    overflow: visible;
  }
  .wtn-mm__brand-logo {
    display: block !important;
    width: auto !important;
    max-width: min(100%, 225px) !important;
    max-height: 42px !important;
    height: auto !important;
    object-fit: contain;
    object-position: left center;
  }
  .wtn-mm__brand small {
    display: block;
    margin-top: 9px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .14em;
    color: #777 !important;
  }

  .wtn-mm__nav { padding: 14px 0 0 !important; }
  .wtn-mm__list, .wtn-mm__list ul {
    display: block !important;
    position: static !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    list-style: none !important;
  }
  .wtn-mm__list li {
    display: block !important;
    position: relative !important;
    float: none !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(30,39,49,.11) !important;
    line-height: 1.3;
  }
  .wtn-mm__list li > a {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 50px;
    padding: 16px 47px 16px 3px !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #222832 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-decoration: none !important;
    white-space: normal !important;
  }
  .wtn-mm__list li > a:hover,
  .wtn-mm__list li > a:focus-visible { color: #CC0000 !important; }
  .wtn-mm__list li > ul { display: none !important; padding-left: 12px !important; }
  .wtn-mm__list li.wtn-mm__expanded > ul { display: block !important; }
  .wtn-mm__list li li > a {
    min-height: 43px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
  }
  .wtn-mm__submenu-toggle {
    display: flex !important;
    position: absolute !important;
    top: 6px;
    right: 0;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(30,39,49,.13) !important;
    border-radius: 11px !important;
    background: rgba(255,255,255,.77) !important;
    color: #cc0000 !important;
    box-shadow: none !important;
    cursor: pointer;
    line-height: 1 !important;
  }
  .wtn-mm__submenu-toggle svg { width: 17px; height: 17px; transition: transform .18s ease; }
  .wtn-mm__expanded > .wtn-mm__submenu-toggle svg { transform: rotate(180deg); }

  .wtn-mm__search { padding: 24px 0 6px !important; margin: 0 !important; }
  .wtn-mm__search label {
    display: block;
    margin-bottom: 11px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    color: #73777d;
  }
  .wtn-mm__searchrow { display: flex; width: 100%; height: 46px; }
  .wtn-mm__searchrow input {
    flex: 1;
    min-width: 0;
    height: 46px;
    margin: 0 !important;
    padding: 0 11px !important;
    border: 1px solid rgba(30,39,49,.17) !important;
    border-radius: 11px 0 0 11px !important;
    box-shadow: none !important;
    background: rgba(255,255,255,.85) !important;
    color: #24282d !important;
    font-size: 13px !important;
  }
  .wtn-mm__searchrow button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    margin: 0 !important;
    padding: 11px !important;
    border: 0 !important;
    border-radius: 0 11px 11px 0 !important;
    background: #CC0000 !important;
    color: #fff !important;
    cursor: pointer;
  }
  .wtn-mm__searchrow button svg { display: block; width: 22px; height: 22px; }

  .wtn-mm__ad {
    width: 100%;
    margin: 30px 0 4px !important;
    padding: 0 !important;
    text-align: center;
    border: 0 !important;
  }
  .wtn-mm__ad-label {
    display: block;
    margin: 0 0 9px;
    font: 600 9px/1.3 Arial, sans-serif;
    letter-spacing: .16em;
    color: #858b90 !important;
  }
  .wtn-mm__ad-slot {
    display: block;
    width: 250px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 13px;
    border: 1px solid rgba(30,39,49,.08);
    background: rgba(255,255,255,.55);
    text-align: center;
  }
  .wtn-mm__ad-slot img,
  .wtn-mm__ad-slot iframe {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .wtn-mm__dock { right: 0 !important; width: 50px !important; }
  .wtn-mm__panel:not([hidden]) {
    right: 56px !important;
    width: min(82vw, 372px) !important;
    max-width: calc(100vw - 68px) !important;
  }
}

@media (max-width: 360px) {
  .wtn-mm__dock { right: 0 !important; width: 46px !important; }
  .wtn-mm__panel:not([hidden]) {
    right: 52px !important;
    max-width: calc(100vw - 62px) !important;
    border-radius: 20px !important;
  }
  .wtn-mm__inner { padding-left: 16px !important; padding-right: 16px !important; }
  .wtn-mm__list li > a { font-size: 15px !important; }
  .wtn-mm__action { min-height: 46px !important; height: 46px !important; }
}


@media (min-width: 992px) {
  .wtn-mm__dock, .wtn-mm__panel, .wtn-mm__backdrop, .wtn-mm__account-popover { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .wtn-mm__action, .wtn-mm__submenu-toggle svg { transition: none !important; }
}

/* WEtravel NEWS v1.5.1 — pannello unico login Simple Membership (mobile e desktop) */
.wtn-mm__account-popover--guest[hidden] { display: none !important; }
.wtn-mm__account-popover--guest,
.wtn-mm__account-popover--guest * { box-sizing: border-box; }
.wtn-mm__account-popover--guest {
  font-family: Arial, Helvetica, sans-serif !important;
  color: #24272c !important;
}
.wtn-mm__account-popover--guest .wtn-mm__auth-heading {
  display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
  padding-bottom:10px; border-bottom:1px solid #e5e5e5;
}
.wtn-mm__account-popover--guest .wtn-mm__auth-heading strong {
  color:#24272c!important; font-size:16px!important; line-height:1.3; font-weight:800;
}
.wtn-mm__account-popover--guest .wtn-mm__auth-heading small {
  display:block; margin-top:3px; color:#555!important; font-size:11px!important;
}
.wtn-mm__account-popover--guest .wtn-mm__auth-close {
  flex:none; width:28px!important; height:28px!important; padding:0!important; border:0!important;
  border-radius:7px!important; color:#24272c!important; background:#f1f1f1!important;
  cursor:pointer; line-height:24px!important; font-size:22px!important; font-weight:400!important;
}
.wtn-mm__account-popover--guest .wtn-mm__auth-native {width:100%;max-width:100%;min-width:0;}
.wtn-mm__account-popover--guest .swpm-login-widget-form,
.wtn-mm__account-popover--guest .swpm-login-widget-form form,
.wtn-mm__account-popover--guest .swpm-login-form-inner {margin:0!important;padding:0!important;width:100%!important;max-width:100%!important;background:transparent!important;}
.wtn-mm__account-popover--guest .swpm-username-label,
.wtn-mm__account-popover--guest .swpm-password-label {margin:0 0 4px!important;padding:0!important;}
.wtn-mm__account-popover--guest .swpm-username-label label,
.wtn-mm__account-popover--guest .swpm-password-label label {color:#24272c!important;font-size:12px!important;font-weight:700!important;}
.wtn-mm__account-popover--guest .swpm-username-input,
.wtn-mm__account-popover--guest .swpm-password-input {margin:0 0 10px!important;padding:0!important;}
.wtn-mm__account-popover--guest .swpm-login-widget-form input[type="text"],
.wtn-mm__account-popover--guest .swpm-login-widget-form input[type="password"],
.wtn-mm__account-popover--guest .swpm-login-widget-form input[type="email"],
.wtn-mm__account-popover--guest .swpm-login-widget-form input[type="number"] {
  display:block; width:100%!important; min-width:0!important; max-width:100%!important; height:39px!important;
  padding:8px 10px!important; margin:0!important; background:#fff!important; border:1px solid #cfd0d1!important;
  border-radius:8px!important; box-shadow:none!important; font:13px Arial,sans-serif!important; color:#202024!important;
}
.wtn-mm__account-popover--guest .swpm-remember-me {
  display:flex!important; align-items:center; gap:6px; margin:7px 0 10px!important;
  font-size:11px!important; color:#434343!important;
}
.wtn-mm__account-popover--guest .swpm-remember-me input {width:15px!important;height:15px!important;accent-color:#cc0000;}
.wtn-mm__account-popover--guest .swpm-login-submit {margin:0 0 8px!important;padding:0!important;}
.wtn-mm__account-popover--guest .swpm-login-submit input[type="submit"] {
  width:100%!important; min-height:40px!important; padding:10px 12px!important; margin:0!important;
  border:0!important; border-radius:8px!important; background:#cc0000!important; color:#fff!important;
  font:700 13px Arial,sans-serif!important; cursor:pointer!important; text-transform:none!important;
}
.wtn-mm__account-popover--guest .swpm-login-submit input[type="submit"]:hover {background:#a80000!important;}
.wtn-mm__account-popover--guest .swpm-forgot-pass-link,
.wtn-mm__account-popover--guest .swpm-join-us-link {display:inline-block!important;margin:0 9px 0 0!important;font-size:11px!important;}
.wtn-mm__account-popover--guest .swpm-join-us-link {display:none!important;} /* Link Abbonati unico nel footer */
.wtn-mm__account-popover--guest .swpm-login-widget-form a,
.wtn-mm__account-popover--guest .wtn-mm__auth-footer a {color:#cc0000!important;text-decoration:none!important;font-weight:700!important;}
.wtn-mm__account-popover--guest .swpm-login-widget-action-msg {color:#9b1010;font-size:12px;}
.wtn-mm__account-popover--guest .wtn-mm__social-login {display:flex;flex-direction:column;gap:7px;margin-top:5px;}
.wtn-mm__account-popover--guest .wtn-mm__social-btn,
.wtn-mm__account-popover--guest .wtn-mm__social-btn:visited {
  display:flex!important;justify-content:center;align-items:center;gap:8px;width:100%!important;min-height:39px;
  padding:8px 10px!important;margin:0!important;text-decoration:none!important;
  border:1px solid #d3d5d7!important;border-radius:8px!important;background:#fff!important;
  color:#252525!important;font:700 12px Arial,sans-serif!important;text-transform:none!important;
  box-shadow:none!important;cursor:pointer;
}
.wtn-mm__account-popover--guest .wtn-mm__social-btn[disabled] {background:#f5f5f5!important;color:#777!important;cursor:not-allowed;opacity:.80;}
.wtn-mm__account-popover--guest .wtn-mm__social-btn:not([disabled]):hover {border-color:#cc0000!important;background:#fff8f8!important;}
.wtn-mm__account-popover--guest .wtn-mm__google-mark {
  display:block!important;width:19px!important;height:19px!important;flex:none;
}
.wtn-mm__account-popover--guest .wtn-mm__apple-mark {display:inline-grid;place-items:center;width:20px;height:20px;font-size:15px;color:inherit;}
.wtn-mm__account-popover--guest .wtn-mm__auth-footer {padding-top:8px;border-top:1px solid #e5e5e5;font-size:11px;color:#4d4d4d!important;}
.wtn-mm__account-popover--guest .wtn-mm__auth-note {font-size:12px;color:#7c1717!important;}
/* The Social Login addon may insert its own button below the SWPM widget; use the WEtravel-branded one instead. */
.wtn-mm__account-popover--guest .wtn-mm__auth-native a[href*="swpm_social_login=google"] {display:none!important;}
.wtn-mm__account-popover--guest :focus-visible {outline:2px solid #cc0000!important;outline-offset:2px!important;}
@media (min-width:992px) {
  .wtn-mm__account-popover--guest:not([hidden]) {
    position:fixed!important;display:flex!important;flex-direction:column!important;gap:11px!important;
    width:330px!important;max-width:calc(100vw - 85px)!important;max-height:calc(100dvh - 32px)!important;
    overflow-x:hidden!important;overflow-y:auto!important;right:61px!important;top:50%!important;
    transform:translateY(-50%);padding:16px!important;margin:0!important;
    background:#fff!important;border:1px solid #d9d9d9!important;border-radius:13px!important;
    box-shadow:0 8px 28px rgba(0,0,0,.2)!important;z-index:99995!important;
  }
}
@media (max-width:991px) {
  .wtn-mm__account-popover--guest:not([hidden]) {
    position:fixed!important;display:flex!important;flex-direction:column!important;gap:10px!important;
    top:max(12px, calc(43% - 160px))!important;right:61px!important;
    width:min(330px, calc(100vw - 75px))!important;max-height:calc(100dvh - 24px)!important;
    overflow-y:auto!important;overflow-x:hidden!important;padding:15px!important;
    border:1px solid #d9d9d9!important;border-radius:13px!important;
    background:#fff!important;color:#24272c!important;box-shadow:0 8px 28px rgba(0,0,0,.20)!important;
    z-index:2147483004!important;
  }
}
@media (prefers-reduced-motion:reduce) { .wtn-mm__account-popover--guest {scroll-behavior:auto;} }

/* WEtravel NEWS 1.5.1 — guida 2FA comprimibile nel login (mobile e desktop) */
.wtn-mm__account-popover--guest .wtn-mm__twofactor-help {
  display:block; margin:0!important; padding:0!important; border:1px solid #e0e1e3!important;
  border-radius:9px!important; background:#fafafa!important; color:#2d3135!important;
}
.wtn-mm__account-popover--guest .wtn-mm__twofactor-help summary {
  display:flex!important;align-items:center;gap:8px;min-height:40px;padding:9px 10px!important;
  margin:0!important;cursor:pointer;list-style:none;color:#2d3135!important;
  font:700 12px/1.35 Arial,Helvetica,sans-serif!important;
}
.wtn-mm__account-popover--guest .wtn-mm__twofactor-help summary::-webkit-details-marker { display:none; }
.wtn-mm__account-popover--guest .wtn-mm__twofactor-help summary::marker { content:''; }
.wtn-mm__account-popover--guest .wtn-mm__twofactor-help summary svg {
  flex:none;width:17px;height:17px;color:#cc0000;
}
.wtn-mm__account-popover--guest .wtn-mm__twofactor-more {
  margin-left:auto;color:#cc0000!important;font:600 10px/1.3 Arial,sans-serif!important;
  white-space:nowrap;
}
.wtn-mm__account-popover--guest .wtn-mm__twofactor-help[open] {background:#fff!important;border-color:#ded0d0!important;}
.wtn-mm__account-popover--guest .wtn-mm__twofactor-help[open] .wtn-mm__twofactor-more {color:#666!important;}
.wtn-mm__account-popover--guest .wtn-mm__twofactor-content {
  padding:9px 11px 11px!important;border-top:1px solid #e7e7e7;
  color:#373b40!important;font:12px/1.5 Arial,Helvetica,sans-serif!important;
}
.wtn-mm__account-popover--guest .wtn-mm__twofactor-content p {
  margin:0 0 8px!important;padding:0!important;color:inherit!important;font:inherit!important;
}
.wtn-mm__account-popover--guest .wtn-mm__twofactor-content ol {
  margin:0 0 9px 17px!important;padding:0!important;list-style:decimal outside!important;
}
.wtn-mm__account-popover--guest .wtn-mm__twofactor-content li {
  margin:0 0 5px!important;padding:0!important;list-style:decimal outside!important;
  font:inherit!important;color:inherit!important;
}
.wtn-mm__account-popover--guest .wtn-mm__twofactor-content strong {font-weight:700!important;color:#23262a!important;}
.wtn-mm__account-popover--guest .wtn-mm__twofactor-content .wtn-mm__twofactor-social-note {
  margin:0!important;padding-top:8px!important;border-top:1px solid #ededed;color:#535a60!important;
}
@media (max-width:360px){
  .wtn-mm__account-popover--guest .wtn-mm__twofactor-more{font-size:9px!important;}
}


/* WEtravel NEWS 1.5.3 — nasconde l'occhio di mostra-password fuori scala.
   SOLO nel form SWPM incorporato nel pannello accesso destro (desktop e mobile).
   Non tocca input password, login, bottoni Google/Apple o guida 2FA. */
.wtn-mm__account-popover--guest .wtn-mm__auth-native .swpm-login-widget-form svg,
.wtn-mm__account-popover--guest .wtn-mm__auth-native .swpm-password-input svg,
.wtn-mm__account-popover--guest .wtn-mm__auth-native .swpm-password-input > button[type="button"],
.wtn-mm__account-popover--guest .wtn-mm__auth-native [class*="toggle-password"],
.wtn-mm__account-popover--guest .wtn-mm__auth-native [class*="password-toggle"],
.wtn-mm__account-popover--guest .wtn-mm__auth-native [class*="password-visibility"],
.wtn-mm__account-popover--guest .wtn-mm__auth-native [class*="show-password"],
.wtn-mm__account-popover--guest .wtn-mm__auth-native [class*="hide-password"],
.wtn-mm__account-popover--guest .wtn-mm__auth-native [class*="eye-icon"],
.wtn-mm__account-popover--guest .wtn-mm__auth-native [class*="fa-eye"],
.wtn-mm__account-popover--guest .wtn-mm__auth-native .dashicons-visibility,
.wtn-mm__account-popover--guest .wtn-mm__auth-native .dashicons-hidden,
.wtn-mm__account-popover--guest .wtn-mm__auth-native button[aria-label*="password" i],
.wtn-mm__account-popover--guest .wtn-mm__auth-native button[title*="password" i],
.wtn-mm__account-popover--guest .wtn-mm__auth-native button[aria-label*="mostra" i],
.wtn-mm__account-popover--guest .wtn-mm__auth-native button[title*="mostra" i] {
  display:none!important;
  width:0!important;
  height:0!important;
  max-width:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
/* Se il tema inietta l'occhio come pseudoelemento, rimuovilo solo dal campo password. */
.wtn-mm__account-popover--guest .wtn-mm__auth-native .swpm-password-input::before,
.wtn-mm__account-popover--guest .wtn-mm__auth-native .swpm-password-input::after {
  content:none!important;
  display:none!important;
}

/* 1.5.5 — registrazione Google nel pannello dell'omino. */
.wtn-mm__account-popover--guest .wtn-mm__google-registration-prompt {margin:1px 0 4px!important;padding:0!important;font-size:11px!important;line-height:1.35!important;color:#4b4b4b!important;}
.wtn-mm__account-popover--guest .wtn-mm__google-register-link {color:#cc0000!important;text-decoration:underline!important;font-weight:700!important;}

/* WEtravel NEWS v1.5.6: pannelli distinti accesso e abbonamenti */
.wtn-mm__subscribe-popover[hidden] {display:none!important;}
.wtn-mm__subscribe-popover,
.wtn-mm__subscribe-popover * {box-sizing:border-box;}
.wtn-mm__subscribe-popover:not([hidden]) {
  display:flex!important;flex-direction:column!important;gap:12px!important;
  position:fixed!important;z-index:2147483004!important;
  top:max(12px,calc(43% - 160px))!important;right:61px!important;
  width:min(350px,calc(100vw - 75px))!important;max-height:calc(100dvh - 24px)!important;
  padding:15px!important;margin:0!important;overflow-x:hidden!important;overflow-y:auto!important;
  border-radius:13px!important;border:1px solid #d9d9d9!important;
  background:#fff!important;color:#24272c!important;box-shadow:0 8px 28px rgba(0,0,0,.20)!important;
  font-family:Arial,Helvetica,sans-serif!important;
}
.wtn-mm__subscribe-popover .wtn-mm__auth-heading {
  display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;
  padding-bottom:11px!important;border-bottom:1px solid #e5e5e5!important;
}
.wtn-mm__subscribe-popover .wtn-mm__auth-heading strong {font-size:16px!important;line-height:1.3!important;color:#252525!important;font-weight:800!important;}
.wtn-mm__subscribe-popover .wtn-mm__auth-heading small {display:block!important;margin-top:4px!important;color:#666!important;font-size:11px!important;}
.wtn-mm__subscribe-popover .wtn-mm__auth-close {
  flex:none!important;width:28px!important;height:28px!important;min-height:0!important;
  padding:0!important;border:0!important;border-radius:7px!important;
  background:#f0f0f0!important;color:#303030!important;font:400 22px/27px Arial,sans-serif!important;
}
.wtn-mm__plans {display:flex!important;flex-direction:column!important;gap:7px!important;}
.wtn-mm__subscribe-popover a.wtn-mm__plan,
.wtn-mm__subscribe-popover a.wtn-mm__plan:visited {
  display:grid!important;grid-template-columns:1fr auto 8px!important;grid-template-rows:auto auto!important;
  column-gap:8px!important;row-gap:2px!important;align-items:center!important;
  border:1px solid #e2e2e2!important;border-radius:9px!important;
  padding:10px 11px!important;background:#fafafa!important;text-decoration:none!important;color:#292929!important;
}
.wtn-mm__subscribe-popover a.wtn-mm__plan:hover {border-color:#cc0000!important;background:#fff8f8!important;}
.wtn-mm__plan-name {grid-area:1/1!important;color:#24272c!important;font-weight:700!important;font-size:13px!important;}
.wtn-mm__plan-price {grid-area:1/2!important;color:#cc0000!important;font-size:14px!important;font-weight:800!important;text-align:right!important;}
.wtn-mm__plan-note {grid-area:2/1/span 1/span 2!important;color:#686868!important;font-size:10px!important;line-height:1.35!important;}
.wtn-mm__plan-arrow {grid-area:1/3/span 2!important;font-size:22px!important;font-weight:400!important;color:#cc0000!important;}
.wtn-mm__subscribe-popover .wtn-mm__plans-all {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  padding:8px 10px!important;margin:0!important;border-radius:8px!important;
  background:#cc0000!important;color:#fff!important;text-decoration:none!important;font-size:12px!important;font-weight:700!important;
}
.wtn-mm__free-register {display:flex!important;flex-direction:column!important;gap:7px!important;padding-top:12px!important;border-top:1px solid #e7e7e7!important;}
.wtn-mm__free-register strong {color:#24272c!important;font-size:14px!important;font-weight:800!important;}
.wtn-mm__free-register p {margin:0 0 4px!important;padding:0!important;color:#595959!important;font-size:11px!important;line-height:1.45!important;}
.wtn-mm__subscribe-popover .wtn-mm__social-btn,
.wtn-mm__subscribe-popover .wtn-mm__social-btn:visited {
  display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  width:100%!important;min-height:39px!important;margin:0!important;padding:8px 10px!important;
  border:1px solid #d3d5d7!important;border-radius:8px!important;background:#fff!important;
  color:#24272c!important;font:700 12px/1.4 Arial,sans-serif!important;text-decoration:none!important;box-shadow:none!important;
}
.wtn-mm__subscribe-popover .wtn-mm__social-btn[disabled] {background:#f5f5f5!important;color:#777!important;cursor:not-allowed!important;opacity:.8!important;}
.wtn-mm__subscribe-popover .wtn-mm__social-btn:not([disabled]):hover {border-color:#cc0000!important;background:#fff8f8!important;}
.wtn-mm__subscribe-popover .wtn-mm__google-mark,.wtn-mm__subscribe-popover .wtn-mm__apple-mark {
  display:block!important;width:19px!important;min-width:19px!important;max-width:19px!important;
  height:19px!important;min-height:19px!important;max-height:19px!important;flex:none!important;
}
.wtn-mm__subscribe-footer {margin:0!important;padding-top:8px!important;border-top:1px solid #e7e7e7!important;color:#555!important;font-size:11px!important;}
.wtn-mm__subscribe-footer button,
.wtn-mm__account-popover--guest .wtn-mm__auth-footer button {
  display:inline!important;min-height:0!important;width:auto!important;margin:0!important;padding:0!important;
  border:0!important;background:transparent!important;color:#cc0000!important;
  font:700 11px/1.5 Arial,sans-serif!important;text-decoration:underline!important;cursor:pointer!important;
}
.wtn-mm__subscribe-footer a,.wtn-mm__account-logout {color:#cc0000!important;font-weight:700!important;font-size:11px!important;}
.wtn-mm__account-logout {text-align:center!important;text-decoration:underline!important;}
.wtn-mm__account-popover--guest .wtn-mm__social-divider {
  color:#686868!important;display:flex!important;align-items:center!important;gap:8px!important;
  margin:0 0 2px!important;font-size:11px!important;line-height:1.3!important;font-weight:600!important;
}
.wtn-mm__account-popover--guest .wtn-mm__social-divider::before,
.wtn-mm__account-popover--guest .wtn-mm__social-divider::after {content:'';height:1px;background:#e5e5e5;flex:1;}
/* Nascondi soltanto il bottone OAuth nativo incorporato da SWPM, NON il pulsante WEtravel. */
.wtn-mm__account-popover--guest .wtn-mm__auth-native a[href*="swpm_social_login"],
.wtn-mm__account-popover--guest .wtn-mm__auth-native a[href*="google"],
.wtn-mm__account-popover--guest .wtn-mm__auth-native .wtn-ga-inline,
.wtn-mm__account-popover--guest .wtn-mm__auth-native [data-wtn-native-social-hidden] {display:none!important;}
@media(min-width:992px) {
  .wtn-mm__subscribe-popover:not([hidden]) {top:50%!important;right:61px!important;transform:translateY(-50%)!important;max-height:calc(100dvh - 32px)!important;z-index:99995!important;}
}
@media(max-width:360px) {.wtn-mm__subscribe-popover:not([hidden]) {right:53px!important;width:calc(100vw - 65px)!important;padding:12px!important;}}
.wtn-mm__subscribe-popover :focus-visible {outline:2px solid #cc0000!important;outline-offset:2px!important;}


/* v1.5.7 — iPhone / Safari: i pannelli devono restare interamente dentro
   la porzione visibile del display. Scorrimento interno nativo, senza
   spostare il menu o sbloccare lo scroll della pagina sottostante. */
@media (max-width: 991px) {
  .wtn-mm__account-popover--guest:not([hidden]),
  .wtn-mm__subscribe-popover:not([hidden]) {
    /* VisualViewport in JS aggiorna queste variabili anche con tastiera aperta. */
    top: calc(var(--wtn-mm-visual-top, 0px) + 10px) !important;
    bottom: auto !important;
    transform: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100vh - 20px) !important;
    max-height: calc(100dvh - 20px) !important;
    max-height: calc(var(--wtn-mm-visual-height, 100dvh) - 20px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    scrollbar-width: thin;
    scrollbar-color: #b7b7b7 transparent;
  }

  /* Il tasto X rimane accessibile anche dopo aver fatto scorrere il modulo. */
  .wtn-mm__account-popover--guest .wtn-mm__auth-heading,
  .wtn-mm__subscribe-popover .wtn-mm__auth-heading {
    position: sticky !important;
    top: -15px !important;
    z-index: 3 !important;
    background: #fff !important;
    padding-top: 15px !important;
  }

  /* Il fondo del pannello non rimane nascosto sotto la toolbar di Safari. */
  .wtn-mm__account-popover--guest:not([hidden])::after,
  .wtn-mm__subscribe-popover:not([hidden])::after {
    content: '';
    display: block;
    flex: 0 0 1px;
  }
}


/* v1.5.8 — brand sopra accesso/abbonamenti; contenuti compatti e leggibili su iPhone. */
.wtn-mm__account-popover--guest .wtn-mm__auth-brand,
.wtn-mm__subscribe-popover .wtn-mm__auth-brand {
  width:100%!important; display:flex!important; justify-content:center!important; align-items:center!important;
  flex:none!important; margin:0!important; padding:1px 0 2px!important;
}
.wtn-mm__account-popover--guest .wtn-mm__auth-brand a,
.wtn-mm__subscribe-popover .wtn-mm__auth-brand a {
  display:inline-flex!important;justify-content:center!important;align-items:center!important;
  width:auto!important;max-width:74%!important;min-height:0!important;
  padding:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;
}
.wtn-mm__account-popover--guest .wtn-mm__auth-brand-svg,
.wtn-mm__subscribe-popover .wtn-mm__auth-brand-svg {
  display:block!important;width:auto!important;max-width:100%!important;height:auto!important;
  max-height:37px!important;overflow:hidden!important;line-height:0!important;
}
.wtn-mm__account-popover--guest .wtn-mm__auth-brand-svg svg,
.wtn-mm__subscribe-popover .wtn-mm__auth-brand-svg svg {
  display:block!important;width:auto!important;max-width:100%!important;height:auto!important;
  max-height:37px!important;margin:0 auto!important;padding:0!important;
}
.wtn-mm__account-popover--guest .wtn-mm__auth-brand-img,
.wtn-mm__subscribe-popover .wtn-mm__auth-brand-img {
  display:block!important;width:auto!important;max-width:100%!important;height:auto!important;
  max-height:37px!important;object-fit:contain!important;margin:0!important;padding:0!important;
}
.wtn-mm__account-popover--guest:not([hidden]),
.wtn-mm__subscribe-popover:not([hidden]) { gap:8px!important; }
.wtn-mm__account-popover--guest .wtn-mm__auth-heading,
.wtn-mm__subscribe-popover .wtn-mm__auth-heading {padding-bottom:8px!important;}
.wtn-mm__account-popover--guest .wtn-mm__auth-native .swpm-username-input,
.wtn-mm__account-popover--guest .wtn-mm__auth-native .swpm-password-input {margin-bottom:7px!important;}
.wtn-mm__account-popover--guest .wtn-mm__auth-native .swpm-login-widget-form input[type="text"],
.wtn-mm__account-popover--guest .wtn-mm__auth-native .swpm-login-widget-form input[type="password"],
.wtn-mm__account-popover--guest .wtn-mm__auth-native .swpm-login-widget-form input[type="email"] {height:36px!important;}
.wtn-mm__account-popover--guest .wtn-mm__auth-native .swpm-remember-me {margin:5px 0 7px!important;}
.wtn-mm__account-popover--guest .wtn-mm__twofactor-help summary {min-height:37px!important;padding:7px 9px!important;}
.wtn-mm__account-popover--guest .wtn-mm__social-login {margin-top:0!important;gap:6px!important;}
.wtn-mm__account-popover--guest .wtn-mm__social-btn {min-height:37px!important;}
.wtn-mm__account-popover--guest .wtn-mm__auth-footer {
  display:flex!important;flex-direction:column!important;gap:5px!important;margin:0!important;
  padding-top:9px!important;line-height:1.5!important;
}
.wtn-mm__account-popover--guest .wtn-mm__auth-footer p {margin:0!important;padding:0!important;color:#4d4d4d!important;font-size:11px!important;}
/* Etichette social isolate dall'eventuale testo spurio del componente OAuth. */
.wtn-mm__account-popover--guest .wtn-mm__social-login > .wtn-mm__social-btn {flex:none!important;}
/* Facciamo rimanere il logo sopra il titolo; durante lo scroll l'intestazione e la X restano visibili. */
@media (max-width:991px) {
  .wtn-mm__account-popover--guest .wtn-mm__auth-heading,
  .wtn-mm__subscribe-popover .wtn-mm__auth-heading {top:-15px!important;}
}

/* v1.5.9 — logo dei pannelli sempre leggibile e dock stabile.
   Il PNG locale sostituisce l'SVG inline SOLO nel login e negli abbonamenti. */
.wtn-mm__account-popover--guest .wtn-mm__auth-brand,
.wtn-mm__subscribe-popover .wtn-mm__auth-brand {
  display:flex!important; flex:0 0 auto!important; width:100%!important;
  min-height:32px!important; align-items:center!important; justify-content:center!important;
  visibility:visible!important; opacity:1!important;
  padding:4px 0 0!important;
}
.wtn-mm__account-popover--guest .wtn-mm__auth-brand a,
.wtn-mm__subscribe-popover .wtn-mm__auth-brand a {
  display:flex!important; width:220px!important; max-width:78%!important;
  min-height:32px!important; align-items:center!important; justify-content:center!important;
  opacity:1!important; visibility:visible!important;
}
.wtn-mm__account-popover--guest .wtn-mm__auth-brand img.wtn-mm__auth-brand-img,
.wtn-mm__subscribe-popover .wtn-mm__auth-brand img.wtn-mm__auth-brand-img {
  display:block!important; width:100%!important; height:auto!important;
  max-width:220px!important; max-height:43px!important;
  opacity:1!important; visibility:visible!important; object-fit:contain!important;
  filter:none!important; transform:none!important;
}
@media (max-width:991px) {
  .wtn-mm__dock, body.wtn-mm--open .wtn-mm__dock {
    top:calc(43% - 70px)!important;
    right:0!important;
    transform:none!important;
  }
}


/* v1.6.1 — il marchio coincide con quello della testata (WE TRAVEL + punto rosso).
 * Regressione v1.6.0 rimossa: NON sovrascrivere il layout desktop dei modali.
 * Le sole regole nuove sono confinate al marchio nelle finestre dedicate.
 */
.wtn-mm__account-popover--guest .wtn-mm__auth-brand,
.wtn-mm__subscribe-popover .wtn-mm__auth-brand {
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  flex:0 0 auto!important;
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  padding:1px 0 5px!important;
  overflow:visible!important;
  visibility:visible!important;
  opacity:1!important;
}
.wtn-mm__account-popover--guest .wtn-mm__auth-brand a.wtn-mm__auth-brand-link,
.wtn-mm__subscribe-popover .wtn-mm__auth-brand a.wtn-mm__auth-brand-link {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 1 auto!important;
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:#28282a!important;
  text-decoration:none!important;
  opacity:1!important;
  visibility:visible!important;
}
.wtn-mm__account-popover--guest .wtn-mm__auth-brand .wtn-mm__auth-site-mark,
.wtn-mm__subscribe-popover .wtn-mm__auth-brand .wtn-mm__auth-site-mark {
  display:inline-flex!important;
  align-items:baseline!important;
  flex:0 1 auto!important;
  justify-content:center!important;
  width:auto!important;
  max-width:100%!important;
  min-height:0!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  white-space:nowrap!important;
  font-family:'Helvetica Neue','Arial Narrow',Arial,sans-serif!important;
  font-weight:300!important;
  font-style:normal!important;
  font-size:clamp(22px, 5vw, 32px)!important;
  line-height:1.15!important;
  letter-spacing:-.055em!important;
  text-transform:uppercase!important;
  opacity:1!important;
  visibility:visible!important;
}
.wtn-mm__account-popover--guest .wtn-mm__auth-site-we,
.wtn-mm__subscribe-popover .wtn-mm__auth-site-we {
  display:inline!important;
  font:inherit!important;
  color:#929292!important;
  letter-spacing:inherit!important;
}
.wtn-mm__account-popover--guest .wtn-mm__auth-site-travel,
.wtn-mm__subscribe-popover .wtn-mm__auth-site-travel {
  display:inline!important;
  font:inherit!important;
  color:#252525!important;
  letter-spacing:inherit!important;
}
.wtn-mm__account-popover--guest .wtn-mm__auth-site-dot,
.wtn-mm__subscribe-popover .wtn-mm__auth-site-dot {
  display:inline-block!important;
  flex:0 0 auto!important;
  width:.28em!important;
  height:.28em!important;
  min-width:0!important;
  min-height:0!important;
  margin-left:.16em!important;
  margin-bottom:.06em!important;
  border-radius:.075em!important;
  background:#cc0000!important;
  vertical-align:baseline!important;
}
@media (max-width:991px) {
  .wtn-mm__account-popover--guest .wtn-mm__auth-brand .wtn-mm__auth-site-mark,
  .wtn-mm__subscribe-popover .wtn-mm__auth-brand .wtn-mm__auth-site-mark {
    font-size:clamp(21px, 6vw, 30px)!important;
  }
}


/* v1.6.2 — ridimensiona il marchio nei popup Accesso/Abbonamenti su iPhone.
   Nessuna modifica al menu laterale, al desktop generale o ai flussi di login.
*/
.wtn-mm__account-popover--guest .wtn-mm__auth-brand,
.wtn-mm__subscribe-popover .wtn-mm__auth-brand {
  padding:0 0 3px!important;
}
.wtn-mm__account-popover--guest .wtn-mm__auth-brand a.wtn-mm__auth-brand-link,
.wtn-mm__subscribe-popover .wtn-mm__auth-brand a.wtn-mm__auth-brand-link {
  max-width:64%!important;
}
.wtn-mm__account-popover--guest .wtn-mm__auth-brand .wtn-mm__auth-site-mark,
.wtn-mm__subscribe-popover .wtn-mm__auth-brand .wtn-mm__auth-site-mark {
  font-size:clamp(16px, 4.2vw, 24px)!important;
  line-height:1.05!important;
  letter-spacing:-.045em!important;
}
.wtn-mm__account-popover--guest .wtn-mm__auth-site-dot,
.wtn-mm__subscribe-popover .wtn-mm__auth-site-dot {
  width:.24em!important;
  height:.24em!important;
  margin-left:.18em!important;
  margin-bottom:.05em!important;
  border-radius:.06em!important;
}
@media (max-width: 991px) {
  .wtn-mm__account-popover--guest .wtn-mm__auth-brand,
  .wtn-mm__subscribe-popover .wtn-mm__auth-brand {
    padding:0 0 2px!important;
  }
  .wtn-mm__account-popover--guest .wtn-mm__auth-brand a.wtn-mm__auth-brand-link,
  .wtn-mm__subscribe-popover .wtn-mm__auth-brand a.wtn-mm__auth-brand-link {
    max-width:48%!important;
  }
  .wtn-mm__account-popover--guest .wtn-mm__auth-brand .wtn-mm__auth-site-mark,
  .wtn-mm__subscribe-popover .wtn-mm__auth-brand .wtn-mm__auth-site-mark {
    font-size:clamp(15px, 4.5vw, 20px)!important;
    line-height:1.02!important;
  }
}


/* WEtravel NEWS v1.6.3 — iPhone: dialog accessibile e sfondo grigio semitrasparente.
   Isolato sul mobile. Nessun cambiamento a menu laterale, desktop o autenticazione. */
.wtn-mm__auth-backdrop[hidden] { display:none!important; }
@media (max-width:991px) {
  .wtn-mm__auth-backdrop:not([hidden]) {
    display:block!important;
    position:fixed!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    z-index:2147483001!important;
    background:rgba(22,29,38,.28)!important;
    -webkit-backdrop-filter:blur(2px)!important;
    backdrop-filter:blur(2px)!important;
    touch-action:none!important;
  }
  .wtn-mm__account-popover--guest:not([hidden]),
  .wtn-mm__subscribe-popover:not([hidden]) {
    /* Uso l'altezza della viewport VISIBILE: barra di Safari e tastiera escluse. */
    top:calc(var(--wtn-mm-visual-top,0px) + 12px)!important;
    bottom:auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:calc(100dvh - 32px)!important;
    max-height:calc(var(--wtn-mm-visual-height,100dvh) - 32px - env(safe-area-inset-bottom,0px))!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-y:contain!important;
    touch-action:pan-y!important;
    scroll-behavior:auto!important;
    scroll-padding-bottom:32px!important;
    padding-bottom:calc(17px + env(safe-area-inset-bottom,0px))!important;
    background:rgba(245,246,248,.94)!important;
    -webkit-backdrop-filter:saturate(120%) blur(16px)!important;
    backdrop-filter:saturate(120%) blur(16px)!important;
    border:1px solid rgba(255,255,255,.75)!important;
    box-shadow:0 14px 42px rgba(14,21,29,.23)!important;
  }
  .wtn-mm__account-popover--guest .wtn-mm__auth-heading,
  .wtn-mm__subscribe-popover .wtn-mm__auth-heading {
    background:rgba(245,246,248,.97)!important;
  }
  /* Non diminuire la leggibilità del form: campi e pulsanti restano opachi. */
  .wtn-mm__account-popover--guest .swpm-login-widget-form input,
  .wtn-mm__subscribe-popover .wtn-mm__plan { backdrop-filter:none; }
}

/* v1.6.4 — Original navigation logo in both dialogs, mobile and desktop. */
.wtn-mm__account-popover--guest .wtn-mm__auth-brand,
.wtn-mm__subscribe-popover .wtn-mm__auth-brand {
  justify-content:flex-start!important;
  padding:0 0 12px!important;
}
.wtn-mm__account-popover--guest .wtn-mm__auth-brand a.wtn-mm__auth-brand-link,
.wtn-mm__subscribe-popover .wtn-mm__auth-brand a.wtn-mm__auth-brand-link {
  display:flex!important;
  width:225px!important;
  max-width:100%!important;
  justify-content:flex-start!important;
}
.wtn-mm__auth-brand .wtn-mm__auth-brand-svg,
.wtn-mm__auth-brand .wtn-mm__auth-brand-img {
  display:block!important;
  width:100%!important;
  max-width:225px!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  line-height:0!important;
}
.wtn-mm__auth-brand .wtn-mm__auth-brand-svg svg {
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:54px!important;
  margin:0!important;
  overflow:visible;
}
.wtn-mm__auth-brand img.wtn-mm__auth-brand-img {
  max-height:42px!important;
  object-fit:contain!important;
  object-position:left center!important;
}

.wtn-mm__account-popover--guest .wtn-mm__auth-brand .wtn-mm__auth-brand-svg,
.wtn-mm__subscribe-popover .wtn-mm__auth-brand .wtn-mm__auth-brand-svg {max-height:none!important;overflow:visible!important;}
.wtn-mm__account-popover--guest .wtn-mm__auth-brand img.wtn-mm__auth-brand-img,
.wtn-mm__subscribe-popover .wtn-mm__auth-brand img.wtn-mm__auth-brand-img {max-width:225px!important;max-height:42px!important;object-position:left center!important;}
