/* ORIGO V17 · Header pubblico unico, riferimento: Prenota.
   Caricato DOPO i fogli della home/marketplace per evitare header diversi.
   Non modifica contenuto, pagamenti, admin o area cliente. */
:root { --origo-header-bg:#0b0d11; --origo-header-ink:#f7f5ef; }
body header.header.origo-topbar[data-origo-header-version="17.1"] {
  position:sticky!important;top:0!important;left:0;right:0;
  background:rgba(11,13,17,.97)!important;border:0!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
  box-shadow:none!important;z-index:1300!important;
  -webkit-backdrop-filter:blur(16px)!important;backdrop-filter:blur(16px)!important;
}
body header.origo-topbar[data-origo-header-version="17.1"] .header-inner {
  height:64px!important;min-height:64px!important;max-width:1240px;
  padding:0!important;gap:clamp(12px,1.8vw,26px)!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;display:flex!important;align-items:center!important;
}
body header.origo-topbar[data-origo-header-version="17.1"] .origo-wordmark {
  flex:0 0 auto;min-width:104px!important;color:#f7f5ef!important;text-decoration:none;
}
body header.origo-topbar[data-origo-header-version="17.1"] .origo-wordmark span{font-size:18px!important;letter-spacing:.18em!important;line-height:1!important}
body header.origo-topbar[data-origo-header-version="17.1"] .origo-wordmark small{font-size:7px!important;letter-spacing:.34em!important;color:#8f98a8!important;margin-top:4px!important}
body header.origo-topbar[data-origo-header-version="17.1"] .nav {display:flex;align-items:center;gap:clamp(11px,1.55vw,22px)!important;margin-left:auto!important;white-space:nowrap}
body header.origo-topbar[data-origo-header-version="17.1"] .nav a,body header.origo-topbar[data-origo-header-version="17.1"] .header-portal {
  color:#aeb5c1!important;font-size:12px!important;font-weight:750!important;
  letter-spacing:.01em!important;text-decoration:none!important;white-space:nowrap;
}
body header.origo-topbar[data-origo-header-version="17.1"] .nav a{padding:22px 0!important}
body header.origo-topbar[data-origo-header-version="17.1"] .nav a:hover,body header.origo-topbar[data-origo-header-version="17.1"] .nav a.is-active,
body header.origo-topbar[data-origo-header-version="17.1"] .header-portal:hover { color:#fff!important; }
body header.origo-topbar[data-origo-header-version="17.1"] .nav a:after{background:#c8f49b!important}
body header.origo-topbar[data-origo-header-version="17.1"] .header-portal{padding:0!important;flex:0 0 auto}
body header.origo-topbar[data-origo-header-version="17.1"] .header-cta {
  display:inline-flex!important;align-items:center;gap:9px;justify-content:center;
  background:#f7f5ef!important;color:#0b0d11!important;border:1px solid rgba(255,255,255,.18)!important;
  border-radius:999px!important;padding:10px 14px!important;min-height:38px!important;
  font-size:11px!important;font-weight:850!important;white-space:nowrap;flex:0 0 auto;
  margin-left:0!important;text-decoration:none;
}
body header.origo-topbar[data-origo-header-version="17.1"] .header-cta:hover {background:#e3edcf!important;color:#0b0d11!important}
body header.origo-topbar[data-origo-header-version="17.1"] .header-cta-full{display:inline!important}
body header.origo-topbar[data-origo-header-version="17.1"] .header-cta-short{display:none!important}
body header.origo-topbar[data-origo-header-version="17.1"] .header-cta:focus-visible,
body header.origo-topbar[data-origo-header-version="17.1"] .nav a:focus-visible,body header.origo-topbar[data-origo-header-version="17.1"] .header-portal:focus-visible {outline:2px solid #c8f49b;outline-offset:4px}
/* Desktop: enough space for all seven destinations. Switch to menu before wrapping. */
@media(max-width:1080px){
  body header.origo-topbar[data-origo-header-version="17.1"] .nav,body header.origo-topbar[data-origo-header-version="17.1"] .header-portal{display:none!important}
  body header.origo-topbar[data-origo-header-version="17.1"] .header-cta{margin-left:auto!important}
  body header.origo-topbar[data-origo-header-version="17.1"] .menu{display:block!important;flex:0 0 44px!important;margin-left:0!important}
  body header.origo-topbar[data-origo-header-version="17.1"] .mobile-nav[hidden]{display:none!important}
  body header.origo-topbar[data-origo-header-version="17.1"] .mobile-nav:not([hidden]){
    display:grid!important;position:fixed!important;inset:58px 0 0!important;
    top:58px!important;height:calc(100dvh - 58px)!important;max-height:calc(100dvh - 58px)!important;
    overflow-y:auto!important;overscroll-behavior:contain;
    grid-auto-rows:minmax(48px,auto);align-content:start;
    gap:8px!important;padding:14px 16px calc(28px + env(safe-area-inset-bottom))!important;
    background:#0b0d11!important;border:0!important;box-shadow:0 20px 36px rgba(0,0,0,.32)!important;
    z-index:1301!important;
  }
  body header.origo-topbar[data-origo-header-version="17.1"] .mobile-nav a {
    display:flex;align-items:center;min-height:48px;
    padding:12px 16px!important;background:#151820!important;border:1px solid rgba(255,255,255,.1)!important;
    border-radius:12px!important;color:#f7f5ef!important;text-decoration:none!important;font-weight:700;
  }
  body header.origo-topbar[data-origo-header-version="17.1"] .mobile-nav a[aria-current="page"] {border-color:#c8f49b!important}
  body header.origo-topbar[data-origo-header-version="17.1"] .mobile-nav .mobile-nav-cta{background:#c8f49b!important;color:#0b0d11!important;border-color:#c8f49b!important}
}
@media(max-width:1080px){
  body header.origo-topbar[data-origo-header-version="17.1"] .header-inner{height:58px!important;min-height:58px!important;padding:0 14px!important;gap:10px!important}
  body header.origo-topbar[data-origo-header-version="17.1"] .origo-wordmark{min-width:0!important}
  body header.origo-topbar[data-origo-header-version="17.1"] .origo-wordmark span{font-size:16px!important}
  body header.origo-topbar[data-origo-header-version="17.1"] .origo-wordmark small{font-size:6px!important}
  body header.origo-topbar[data-origo-header-version="17.1"] .header-cta{font-size:10px!important;padding:8px 11px!important;min-height:35px!important}
  body header.origo-topbar[data-origo-header-version="17.1"] .header-cta-full{display:none!important}
  body header.origo-topbar[data-origo-header-version="17.1"] .header-cta-short{display:inline!important}
  body header.origo-topbar[data-origo-header-version="17.1"] .menu {width:44px;height:44px;background:#f7f5ef!important;border:1px solid #d4d6d8!important;border-radius:50%!important}
  body header.header.origo-topbar[data-origo-header-version="17.1"] .menu span:not(.sr-only) {background:#101318!important}
}
@media(max-width:390px){
  body header.origo-topbar[data-origo-header-version="17.1"] .header-cta{font-size:9px!important;gap:4px!important;padding:7px 9px!important}
  body header.origo-topbar[data-origo-header-version="17.1"] .origo-wordmark span{font-size:15px!important}
}
