/* One compact language disclosure alongside the header actions. */
.top .top-row { gap: 18px; }
.top .main-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; flex: none; }
.top .main-nav > a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.top .header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.language-switch { position: relative; flex: none; }
.language-switch summary { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 600 .875rem/1 var(--sans); cursor: pointer; list-style: none; }
.language-switch summary::-webkit-details-marker { display: none; }
.language-switch summary:hover, .language-switch[open] summary { border-color: var(--sea); background: #f1f8f8; }
.language-globe { width: 18px; height: 18px; }
.language-chevron { width: 12px; height: 12px; transition: rotate .15s ease; }
.language-switch[open] .language-chevron { rotate: 180deg; }
.language-options { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; min-width: 170px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 8px 30px rgba(15,34,51,.14); }
.language-options a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 8px 12px; border-radius: 9px; color: var(--ink); font: 500 .9375rem/1.4 var(--sans); text-decoration: none; }
.language-options a:hover { background: #f1f8f8; }
.language-options a[aria-current] { color: var(--sea); background: #f1f8f8; font-weight: 700; }
.language-options a[aria-current]::after { content: "✓"; }
.language-prompt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 12px; padding: 12px 14px; border: 1px solid #ffe2cd; border-radius: 12px; background: #fff4eb; color: var(--ink); font-size: .875rem; }
.language-prompt a { color: var(--sea); font-weight: 600; }
.language-prompt button { border: 0; padding: 4px 0; color: var(--ink-2); background: transparent; cursor: pointer; font: inherit; text-decoration: underline; }
html[lang="cs"] .stepper-nav li .lbl { font-size: .875rem; }

@media(max-width:1050px) {
  .top .top-row { display: grid; grid-template-columns: minmax(0,1fr) auto; height: auto !important; padding-block: 10px 6px; gap: 4px 12px; }
  .top .top-row > .brand { grid-column: 1; grid-row: 1; min-width: 0; }
  .top .header-actions { grid-column: 2; grid-row: 1; justify-self: end; }
  .top .main-nav { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: center; gap: clamp(20px,6vw,46px); margin: 0; }
  .top .main-nav > a { display: inline-flex; min-height: 36px; padding: 4px 0; color: var(--ink); font-size: .875rem; }
}
@media(max-width:760px) {
  .top .header-actions { gap: 8px; }
  .language-switch summary { min-height: 40px; gap: 5px; padding-inline: 8px; }
  .language-globe { width: 16px; height: 16px; }
  .language-chevron { width: 10px; height: 10px; }
  .top .header-actions .btn-wa { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; }
  .top .header-actions .btn-wa svg { display: block; width: 20px; height: 20px; }
  .top .header-actions .wa-long, .top .header-actions .wa-short { display: none; }
}
@media(max-width:380px) {
  .top .brand { gap: 6px; }
  .top .brand-logo { width: 46px; }
  .top .brand .lockup small { font-size: .45rem; }
  html[lang="cs"] .stepper-nav li { grid-template-columns: minmax(0,1fr); justify-items: start; }
  html[lang="cs"] .stepper-nav li .num { grid-row: 1; grid-column: 1; }
  html[lang="cs"] .stepper-nav li .lbl { grid-row: 2; grid-column: 1; font-size: .8125rem; }
  html[lang="cs"] .stepper-nav li .bar { grid-row: 3; }
}

@media(max-width:350px) {
  .top .brand-logo { width: 40px; }
  .language-switch .language-globe { display: none; }
}
