/*
 * Parkovani Ruzyně — canonical site shell 2026
 * One header, mobile menu, language picker and conversion action for every
 * public content page. Loaded after page-specific and redesign styles.
 */

body.site-shell {
  --shell-ink: #06172c;
  --shell-navy: #0f2746;
  --shell-green: #047857;
  --shell-green-dark: #03684c;
  --shell-green-pale: #ecfdf5;
  --shell-muted: #64748b;
  --shell-line: #e2e8f0;
  --shell-soft: #f6f8fb;
  --shell-white: #fff;
  --shell-width: 1320px;
  min-width: 320px;
  overflow-x: clip;
}

/* Parkovato app brand bridge. Kept here because the shell loads after every
 * page-specific stylesheet and therefore owns the canonical navigation. */
body.site-shell {
  --shell-ink: #111114;
  --shell-navy: #173b8e;
  --shell-green: #173b8e;
  --shell-green-dark: #102b6b;
  --shell-green-pale: #eef3ff;
  --shell-muted: #6e6e73;
  --shell-line: #e5e5ea;
  --shell-soft: #f4f6fa;
  --shell-white: #fff;
}

body.site-shell > header {
  border-bottom-color: rgba(184, 199, 234, 0.7) !important;
  box-shadow: 0 5px 22px rgba(16, 43, 107, 0.07) !important;
}

body.site-shell > header .logo-img {
  box-shadow: 0 6px 16px rgba(16, 43, 107, 0.13) !important;
}

body.site-shell > header .btn-nav-rezervace {
  border-color: #173b8e !important;
  background: #173b8e !important;
  box-shadow: 0 3px 8px rgba(16, 43, 107, 0.16) !important;
}

body.site-shell > header .btn-nav-rezervace:hover,
body.site-shell > header .btn-nav-rezervace:focus-visible {
  border-color: #102b6b !important;
  background: #102b6b !important;
}

body.site-shell > header .nav-links > li > a:not(.btn-nav-rezervace):hover,
body.site-shell > header .nav-links > li > a.active:not(.btn-nav-rezervace),
body.site-shell > header .nav-links > li > a[aria-current="page"]:not(.btn-nav-rezervace),
body.site-shell > header .lang-dropdown-btn:hover,
body.site-shell > header .lang-dropdown-btn[aria-expanded="true"],
body.site-shell > header .desktop-header-phone:hover {
  background: #eef3ff !important;
  color: #173b8e !important;
}

body.site-shell > header .mobile-call-btn {
  border: 1px solid #b8c7ea !important;
  background: #eef3ff !important;
  color: #173b8e !important;
}

body.site-shell > header .hamburger {
  border-color: #e5e5ea !important;
  background: #fff !important;
}

body.site-shell > header .hamburger span {
  background: #102b6b !important;
}

body.site-shell > header .lang-dropdown-menu {
  border-color: #e5e5ea !important;
  box-shadow: 0 18px 48px rgba(16, 43, 107, 0.12) !important;
}

@media (max-width: 1024px) {
  body.site-shell > header .nav-links {
    border-color: #e5e5ea !important;
    background: #f4f6fa !important;
    box-shadow: 0 18px 48px rgba(16, 43, 107, 0.14) !important;
  }

  body.site-shell > header .nav-links > li > a:not(.btn-nav-rezervace),
  body.site-shell > header .lang-dropdown-btn,
  body.site-shell > header .desktop-header-phone {
    border-color: #e5e5ea !important;
    background: #fff !important;
  }
}

body.site-shell.nav-open {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

body.site-shell > .topbar {
  display: none !important;
}

body.site-shell > header {
  position: sticky !important;
  top: 0 !important;
  z-index: 10000 !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 5px 22px rgba(15, 39, 70, 0.07) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

body.site-shell > header > .container {
  width: min(calc(100% - 28px), var(--shell-width)) !important;
  max-width: var(--shell-width) !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

body.site-shell > header nav {
  min-height: 74px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 18px !important;
  padding-block: 7px !important;
}

body.site-shell > header .logo {
  min-width: 218px !important;
  display: inline-flex !important;
  flex: 0 1 auto !important;
  align-items: center !important;
  gap: 10px !important;
  margin-right: auto !important;
  color: var(--shell-ink) !important;
  text-decoration: none !important;
}

body.site-shell > header .logo-img {
  width: 48px !important;
  min-width: 48px !important;
  height: 48px !important;
  border-radius: 11px !important;
  box-shadow: 0 8px 18px rgba(15, 39, 70, 0.12) !important;
}

body.site-shell > header .logo-text {
  min-width: 0 !important;
  display: grid !important;
  gap: 2px !important;
}

body.site-shell > header .logo-text strong {
  display: block !important;
  overflow: hidden !important;
  color: var(--shell-ink) !important;
  font-size: 17px !important;
  font-weight: 840 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.06 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.site-shell.master-redesign > header.site-shell-header .logo-text strong,
body.site-shell > header.site-shell-header .logo-text strong {
  font-size: 17px !important;
}

body.site-shell > header.site-shell-header .logo-text strong::before,
body.site-shell > header.site-shell-header .logo-text strong::after {
  content: none !important;
  display: none !important;
}

body.site-shell > header .logo-text > span {
  overflow: hidden !important;
  color: var(--shell-muted) !important;
  font-size: 12px !important;
  font-weight: 680 !important;
  line-height: 1.15 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.site-shell > header .brand-label-mobile {
  display: none;
}

body.site-shell > header.site-shell-header .brand-label-full,
body.site-shell > header.site-shell-header .brand-label-mobile {
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
}

body.site-shell > header .nav-links {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  list-style: none !important;
}

body.site-shell > header .nav-links > li {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.site-shell > header .nav-links > li > a:not(.btn-nav-rezervace),
body.site-shell > header .lang-dropdown-btn,
body.site-shell > header .desktop-header-phone {
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 9px 10px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--shell-ink) !important;
  font: 730 13px/1.15 "Inter", system-ui, sans-serif !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body.site-shell > header .nav-links > li > a:not(.btn-nav-rezervace):hover,
body.site-shell > header .nav-links > li > a.active:not(.btn-nav-rezervace),
body.site-shell > header .nav-links > li > a[aria-current="page"]:not(.btn-nav-rezervace),
body.site-shell > header .lang-dropdown-btn:hover,
body.site-shell > header .lang-dropdown-btn[aria-expanded="true"],
body.site-shell > header .desktop-header-phone:hover {
  background: var(--shell-soft) !important;
  color: var(--shell-green) !important;
}

body.site-shell > header .desktop-header-phone .icon {
  width: 17px !important;
  height: 17px !important;
}

body.site-shell > header .btn-nav-rezervace {
  min-height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 18px !important;
  border: 1px solid var(--shell-green) !important;
  border-radius: 11px !important;
  background: var(--shell-green) !important;
  box-shadow: 0 9px 24px rgba(4, 120, 87, 0.2) !important;
  color: var(--shell-white) !important;
  font: 820 13px/1.15 "Inter", system-ui, sans-serif !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body.site-shell > header .btn-nav-rezervace:hover,
body.site-shell > header .btn-nav-rezervace:focus-visible {
  background: var(--shell-green-dark) !important;
}

body.site-shell > header .lang-switcher {
  position: relative !important;
  margin: 0 !important;
  padding: 0 0 0 5px !important;
  border: 0 !important;
}

body.site-shell > header .lang-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 7px) !important;
  right: 0 !important;
  left: auto !important;
  z-index: 20 !important;
  min-width: 220px !important;
  display: none !important;
  margin: 0 !important;
  padding: 7px !important;
  overflow: hidden !important;
  border: 1px solid var(--shell-line) !important;
  border-radius: 14px !important;
  background: var(--shell-white) !important;
  box-shadow: 0 18px 54px rgba(15, 39, 70, 0.15) !important;
  list-style: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

body.site-shell > header .lang-dropdown.open .lang-dropdown-menu {
  display: grid !important;
  gap: 3px !important;
}

body.site-shell > header .lang-dropdown-menu a {
  min-height: 42px !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 9px 11px !important;
  border-radius: 9px !important;
  color: var(--shell-ink) !important;
  font-size: 13px !important;
  font-weight: 720 !important;
  text-decoration: none !important;
}

body.site-shell > header .lang-dropdown-menu a:hover {
  background: var(--shell-soft) !important;
  color: var(--shell-green) !important;
}

body.site-shell > header .shell-lang-fallback {
  margin-left: auto;
  color: var(--shell-muted);
  font-size: 11px;
  font-weight: 650;
}

body.site-shell > header .mobile-header-actions {
  display: none !important;
}

body.site-shell > header .hamburger {
  display: none !important;
}

body.site-shell .mobile-sticky-cta-inner > a:first-child,
body.site-shell .mobile-cta-bar > a:first-child {
  background: var(--shell-green) !important;
  color: var(--shell-white) !important;
}

@media (max-width: 1120px) and (min-width: 901px) {
  body.site-shell > header nav {
    gap: 8px !important;
  }

  body.site-shell > header .logo {
    min-width: 188px !important;
  }

  body.site-shell > header .logo-text strong {
    max-width: 145px !important;
    font-size: 15px !important;
  }

  body.site-shell > header .nav-links > li > a:not(.btn-nav-rezervace),
  body.site-shell > header .lang-dropdown-btn,
  body.site-shell > header .desktop-header-phone {
    padding-inline: 7px !important;
    font-size: 12px !important;
  }

  body.site-shell > header .desktop-header-phone span {
    display: none !important;
  }
}

@media (max-width: 900px) {
  body.site-shell > header > .container {
    width: min(calc(100% - 28px), var(--shell-width)) !important;
  }

  body.site-shell > header nav {
    min-height: 68px !important;
    gap: 8px !important;
    padding-block: 7px !important;
  }

  body.site-shell > header .logo {
    min-width: 0 !important;
    gap: 9px !important;
  }

  body.site-shell > header .logo-img {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
  }

  body.site-shell.master-redesign > header.site-shell-header .logo-text strong,
  body.site-shell > header.site-shell-header .logo-text strong {
    max-width: min(42vw, 180px) !important;
    font-size: 16px !important;
  }

  body.site-shell > header .brand-label-full {
    display: none !important;
  }

  body.site-shell > header .brand-label-mobile {
    display: inline !important;
  }

  body.site-shell > header .mobile-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto !important;
  }

  body.site-shell > header .mobile-call-btn,
  body.site-shell > header .hamburger {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 1px solid var(--shell-line) !important;
    border-radius: 12px !important;
    background: var(--shell-white) !important;
    color: var(--shell-navy) !important;
    box-shadow: 0 4px 14px rgba(15, 39, 70, 0.07) !important;
  }

  body.site-shell > header .mobile-call-btn .icon {
    width: 21px !important;
    height: 21px !important;
  }

  body.site-shell > header .hamburger {
    flex-direction: column !important;
    gap: 5px !important;
  }

  body.site-shell > header .hamburger span {
    width: 23px !important;
    height: 2px !important;
    display: block !important;
    border-radius: 999px !important;
    background: var(--shell-navy) !important;
    transition: transform 160ms ease, opacity 160ms ease !important;
  }

  body.site-shell > header .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
  }

  body.site-shell > header .hamburger.active span:nth-child(2) {
    opacity: 0 !important;
  }

  body.site-shell > header .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
  }

  body.site-shell > header .nav-links {
    position: fixed !important;
    inset: var(--mobile-nav-offset, 68px) 0 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
    height: calc(100dvh - var(--mobile-nav-offset, 68px)) !important;
    min-height: calc(100dvh - var(--mobile-nav-offset, 68px)) !important;
    max-height: calc(100dvh - var(--mobile-nav-offset, 68px)) !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 16px max(16px, env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    border: 0 !important;
    border-top: 1px solid var(--shell-line) !important;
    border-radius: 0 !important;
    background: var(--shell-white) !important;
    box-shadow: 0 18px 34px rgba(15, 39, 70, 0.14) !important;
  }

  body.site-shell > header .nav-links.open,
  body.site-shell > header .nav-links.active {
    display: flex !important;
  }

  body.site-shell > header .nav-links > li {
    width: 100% !important;
    flex: 0 0 auto !important;
  }

  body.site-shell > header.site-shell-header .nav-links > .shell-nav-item,
  body.site-shell > header.site-shell-header .nav-links > .shell-reservation-item {
    display: list-item !important;
  }

  body.site-shell > header .desktop-header-phone-item {
    display: none !important;
  }

  body.site-shell > header .nav-links > li > a:not(.btn-nav-rezervace),
  body.site-shell > header .lang-dropdown-btn {
    width: 100% !important;
    min-height: 50px !important;
    justify-content: center !important;
    padding: 11px 14px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
  }

  body.site-shell > header .nav-links > li > a.active:not(.btn-nav-rezervace),
  body.site-shell > header .nav-links > li > a[aria-current="page"]:not(.btn-nav-rezervace) {
    background: var(--shell-soft) !important;
    color: var(--shell-green) !important;
  }

  body.site-shell > header.site-shell-header .nav-links > .lang-switcher {
    order: -10 !important;
    width: 100% !important;
    display: block !important;
    margin: 0 0 8px !important;
    padding: 0 0 14px !important;
    border-bottom: 1px solid var(--shell-line) !important;
  }

  body.site-shell > header .lang-dropdown-btn {
    border: 1px solid var(--shell-line) !important;
    background: var(--shell-white) !important;
  }

  body.site-shell > header .lang-dropdown-menu {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 8px !important;
    box-shadow: none !important;
  }

  body.site-shell.master-redesign > header.site-shell-header .nav-links > .shell-reservation-item,
  body.site-shell > header.site-shell-header .nav-links > .shell-reservation-item {
    order: 100 !important;
    margin-top: auto !important;
    padding-top: 10px !important;
  }

  body.site-shell > header .btn-nav-rezervace {
    width: 100% !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 14px 18px !important;
    font-size: 16px !important;
  }
}

@media (max-width: 420px) {
  body.site-shell.master-redesign > header.site-shell-header .logo-text strong,
  body.site-shell > header.site-shell-header .logo-text strong {
    max-width: 132px !important;
    font-size: 15px !important;
  }

  body.site-shell > header .logo-text > span {
    max-width: 132px !important;
  }

  body.site-shell > header .mobile-call-btn,
  body.site-shell > header .hamburger {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.site-shell > header *,
  body.site-shell > header *::before,
  body.site-shell > header *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media print {
  body.site-shell > header {
    display: none !important;
  }
}
/* Shared approved wordmark: intrinsic ratio prevents shifts before JS. */
body.site-shell > header .logo:has(.brand-wordmark) {
  width: 200px !important;
  min-width: 0 !important;
  flex: 0 0 200px !important;
}
body.site-shell > header .logo .brand-wordmark,
body.site-shell .refined-footer-logo .brand-wordmark {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.site-shell .refined-footer-logo:has(.brand-wordmark) {
  width: 210px;
  max-width: 100%;
}
body.site-shell .refined-footer-logo .brand-wordmark {
  filter: brightness(0) invert(1);
}
@media (max-width: 900px) {
  body.site-shell > header .logo:has(.brand-wordmark) {
    width: 156px !important;
    flex-basis: 156px !important;
  }
}
