/* Stálý prostor pro hlavičku i obsah ještě před sestavením menu. */
html.barico-header-pending, html:has(#header[data-barico-header]) { scrollbar-gutter:stable; }
html.barico-header-pending #header:not([data-barico-header]) {
  visibility:hidden!important;
  position:sticky!important;
  inset:0 0 auto!important;
  width:100%!important;
  height:60px!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
html.barico-header-pending body.in-index #content-wrapper,
html.barico-header-pending body.in-index #content > .banners-row,
html.barico-header-pending body.in-index .barico-home-banners { padding-top:0!important; margin-top:0!important; }
@media(max-width:1099px) {
  html.barico-header-pending #header:not([data-barico-header]) { height:52px!important; }
  html.barico-header-pending body.in-index #content .barico-home-banners { padding-top:10px!important; }
  html.barico-header-pending body:not(.in-index) #content-wrapper,
  html.barico-header-pending body:not(.in-index) #content-wrapper > .content-wrapper-in,
  html.barico-header-pending body:not(.in-index) #content > .content-inner { margin-top:0!important; padding-top:0!important; }
  html.barico-header-pending body:not(.in-index) #content-wrapper > .breadcrumbs { min-height:0!important; margin-top:0!important; margin-bottom:0!important; padding-top:6px!important; padding-bottom:6px!important; }
  html.barico-header-pending body:not(.in-index):not(.type-detail) #content h1:first-of-type { margin-top:10px!important; }
  html.barico-header-pending body.type-detail .p-detail-inner { padding-top:8px!important; }
}

/* BARICO — menu v1.0.2 | 12. 11. 2026 | Shoptet Step (template 12).
   Přidat za stávající CSS. Bez informační lišty, bez závislostí.
   Barvy, rozměry a průhlednost se ladí zde. */
:root {
  --barico-menu-rgb: 34, 34, 34;
  --barico-menu-ink: #1a1a1a;
  --barico-menu-rest-opacity: .98;
  --barico-menu-opacity: .75;
  --barico-menu-opacity-end: .65;
  --barico-menu-blur: 30px;
  --barico-menu-height: 64px;
  --barico-menu-mobile-height: 52px;
  --bh-logo-width: 130px;
  --barico-menu-width: 1400px;
  --barico-menu-logo-filter: brightness(0) invert(.168627451);
}
#header[data-barico-header], .bh-menu-dialog {
  color: var(--barico-menu-ink);
  font-family: Poppins, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  --bh-line: rgba(26,26,26,.10);
  --bh-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='10.75' cy='10.75' r='6.75'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E");
  --bh-account: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7.5' r='3.5'/%3E%3Cpath d='M4 21v-2a8 8 0 0 1 16 0v2Z'/%3E%3C/svg%3E");
  --bh-cart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 7-1 14h16L19 7Z'/%3E%3Cpath d='M9 9V5a3 3 0 0 1 6 0v4'/%3E%3C/svg%3E");
  --bh-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M3 7h18M3 12h18M3 17h18'/%3E%3C/svg%3E");
  --bh-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='m5 5 14 14M19 5 5 19'/%3E%3C/svg%3E");
}
#header[data-barico-header] *, .bh-menu-dialog * { box-sizing: border-box; }
#header[data-barico-header],
#header[data-barico-header] .bh-row,
#header[data-barico-header] .bh-brand,
#header[data-barico-header] .bh-brand a,
#header[data-barico-header] .bh-brand img,
#header[data-barico-header] .bh-utilities,
.bh-menu-dialog .bh-brand,
.bh-menu-dialog .bh-brand a,
.bh-menu-dialog .bh-brand img { transition: none !important; }
#header[data-barico-header] {
  position: sticky !important;
  inset: 0 0 auto !important;
  z-index: 56 !important;
  width: 100% !important;
  height: var(--barico-menu-height) !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  isolation: isolate;
}
#header[data-barico-header]::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(var(--barico-menu-rgb));
  border: 0;
  pointer-events: none;
  transition: background-color .2s ease;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #header[data-barico-header]::before {
    background: linear-gradient(135deg, rgba(var(--barico-menu-rgb), var(--barico-menu-opacity)) 9.74%, rgba(var(--barico-menu-rgb), var(--barico-menu-opacity-end)) 90.26%);
    -webkit-backdrop-filter: blur(var(--barico-menu-blur));
    backdrop-filter: blur(var(--barico-menu-blur));
  }
}
/* Samostatná tmavá vrstva dovolí plynulý přechod bez změny blur efektu. */
#header[data-barico-header]::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(var(--barico-menu-rgb));
  opacity: var(--barico-menu-rest-opacity);
  pointer-events: none;
  transition: opacity .25s ease;
}
#header[data-barico-header].bh-scrolled::after { opacity: 0; }
#header[data-barico-header] > .bh-original-navigation { display: none !important; }
#header[data-barico-header] .bh-row {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 40px);
  width: 100%;
  max-width: var(--barico-menu-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
}
/* Pevný rozměr loga nezávisí na roztažení řádku ani na pravidlech šablony. */
#header[data-barico-header] .bh-brand, .bh-menu-dialog .bh-brand {
  display: flex !important;
  flex: 0 0 var(--bh-logo-width);
  align-items: center;
  justify-content: center;
  position: static !important;
  width: var(--bh-logo-width) !important;
  min-width: var(--bh-logo-width) !important;
  max-width: var(--bh-logo-width) !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  transform: none !important;
}
#header[data-barico-header] .bh-brand a, .bh-menu-dialog .bh-brand a {
  display: flex !important;
  flex: 0 0 100%;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--barico-menu-ink) !important;
}
#header[data-barico-header] .bh-brand img, .bh-menu-dialog .bh-brand img {
  display: block !important;
  flex: 0 0 auto;
  position: static !important;
  border: 0 !important;
  width: var(--bh-logo-width) !important;
  min-width: var(--bh-logo-width) !important;
  max-width: var(--bh-logo-width) !important;
  height: calc(var(--bh-logo-width) / 3) !important;
  min-height: calc(var(--bh-logo-width) / 3) !important;
  max-height: calc(var(--bh-logo-width) / 3) !important;
  margin: 0 !important;
  object-fit: contain;
  filter: var(--barico-menu-logo-filter) !important;
  transform: none !important;
}
#header[data-barico-header] .bh-desktop-nav { flex: 1 1 auto; min-width: 0; }
#header[data-barico-header] .bh-links,
#header[data-barico-header] .bh-submenu,
.bh-menu-dialog .bh-mobile-links,
.bh-menu-dialog .bh-submenu { list-style: none; padding: 0; margin: 0; }
#header[data-barico-header] .bh-links { display: flex; align-items: center; gap: clamp(16px, 1.9vw, 28px); }
#header[data-barico-header] .bh-links > li { position: relative; margin: 0; padding: 0; white-space: nowrap; }
#header[data-barico-header] .bh-links a,
#header[data-barico-header] .bh-links summary {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0;
  color: var(--barico-menu-ink) !important;
  font: inherit;
  font-size: 14px;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}
/* Výraznější hlavní kategorie desktopové navigace. */
#header[data-barico-header] .bh-links > li > a,
#header[data-barico-header] .bh-links > li > details > summary { font-weight: 600 !important; }
#header[data-barico-header] .bh-links a:hover,
#header[data-barico-header] .bh-links summary:hover { opacity: .65; }
#header[data-barico-header] .bh-links details > summary,
.bh-menu-dialog details > summary { list-style: none; }
#header[data-barico-header] .bh-links summary::-webkit-details-marker,
.bh-menu-dialog summary::-webkit-details-marker { display: none; }
#header[data-barico-header] .bh-links summary::after,
.bh-menu-dialog .bh-mobile-links summary::after {
  content: '';
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .16s ease;
}
#header[data-barico-header] .bh-links details[open] > summary::after,
.bh-menu-dialog details[open] > summary::after { transform: rotate(225deg); }
#header[data-barico-header] .bh-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: -20px;
  min-width: 240px;
  max-width: min(320px, 90vw);
  padding: 12px 20px;
  border: 1px solid var(--bh-line);
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
#header[data-barico-header] .bh-submenu a { white-space: normal; min-height: 40px; }
#header[data-barico-header] .bh-submenu .bh-submenu { position: static; min-width: 0; padding: 0 0 0 16px; border: 0; box-shadow: none; }
#header[data-barico-header] .bh-utilities {
  display: flex !important;
  align-items: center;
  flex: 0 0 auto;
  gap: 2px;
  position: static !important;
  width: auto !important;
  height: var(--barico-menu-height) !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
#header[data-barico-header] .bh-action, .bh-menu-dialog .bh-action {
  display: inline-flex !important;
  position: relative !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  color: var(--barico-menu-ink) !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
  font: inherit;
  line-height: 1 !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#header[data-barico-header] .bh-action::before,
.bh-menu-dialog .bh-action::before {
  content: '' !important;
  display: block !important;
  position: static !important;
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  background: currentColor !important;
  -webkit-mask: var(--bh-icon) center / contain no-repeat;
  mask: var(--bh-icon) center / contain no-repeat;
  transform: none !important;
}
#header[data-barico-header] .bh-action:hover,
.bh-menu-dialog .bh-action:hover { background: rgba(26,26,26,.045) !important; }
#header[data-barico-header] .bh-search, .bh-menu-dialog .bh-search { --bh-icon: var(--bh-search); }
#header[data-barico-header] .bh-account, .bh-menu-dialog .bh-account { --bh-icon: var(--bh-account); }
#header[data-barico-header] .bh-cart, .bh-menu-dialog .bh-cart { --bh-icon: var(--bh-cart); }
#header[data-barico-header] .bh-menu-toggle { --bh-icon: var(--bh-menu); display: none !important; }
.bh-menu-dialog .bh-close { --bh-icon: var(--bh-close); }
/* Stejná ikona na stejné pozici: hamburger se při otevření promění v křížek. */
#header[data-barico-header] .bh-menu-toggle::before,
.bh-menu-dialog .bh-close::before { display: none !important; }
#header[data-barico-header] .bh-menu-glyph,
.bh-menu-dialog .bh-menu-glyph { display: block; position: relative; width: 18px; height: 16px; pointer-events: none; }
#header[data-barico-header] .bh-menu-stroke,
.bh-menu-dialog .bh-menu-stroke {
  --bh-stroke-y: 0px;
  --bh-stroke-angle: 0deg;
  --bh-stroke-opacity: 0;
  position: absolute;
  top: 7px;
  left: 0;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform: translateY(var(--bh-stroke-y));
}
#header[data-barico-header] .bh-menu-stroke:first-child,
.bh-menu-dialog .bh-menu-stroke:first-child { --bh-stroke-y: -5px; --bh-stroke-angle: 45deg; --bh-stroke-opacity: 1; }
#header[data-barico-header] .bh-menu-stroke:last-child,
.bh-menu-dialog .bh-menu-stroke:last-child { --bh-stroke-y: 5px; --bh-stroke-angle: -45deg; --bh-stroke-opacity: 1; }
.bh-menu-dialog .bh-close .bh-menu-stroke { transform: rotate(var(--bh-stroke-angle)); opacity: var(--bh-stroke-opacity); }
.bh-menu-dialog[open] .bh-close .bh-menu-stroke { animation: bh-menu-to-close .28s cubic-bezier(.22,.61,.36,1) both; }
.bh-menu-dialog.bh-menu-closing .bh-close .bh-menu-stroke { animation: bh-menu-to-open .18s ease-in both; }
@keyframes bh-menu-to-close {
  from { transform: translateY(var(--bh-stroke-y)); opacity: 1; }
  to { transform: rotate(var(--bh-stroke-angle)); opacity: var(--bh-stroke-opacity); }
}
@keyframes bh-menu-to-open {
  from { transform: rotate(var(--bh-stroke-angle)); opacity: var(--bh-stroke-opacity); }
  to { transform: translateY(var(--bh-stroke-y)); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .bh-menu-dialog .bh-close .bh-menu-stroke { animation: none !important; } }
#header[data-barico-header] .bh-native-menu-toggle { display: none !important; }
#header[data-barico-header] .bh-action .cart-price { display: none !important; }
#header[data-barico-header] .bh-cart > i,
.bh-menu-dialog .bh-cart > i {
  position: absolute!important;
  top: 0!important;
  right: 0!important;
  left: auto!important;
  bottom: auto!important;
  margin: 0!important;
  border: 0!important;
  transform: none!important;
  transition: none!important;
  animation: none!important;
  font-family: inherit;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  aspect-ratio: 1;
  border-radius: 50% !important;
  font-size: 10px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-style: normal;
  line-height: 1 !important;
  text-align: center;
  background: var(--barico-menu-ink);
  color: #fff;
}
#header[data-barico-header] .bh-currency { position: relative; order: 4; margin: 0 0 0 6px; padding: 0; }
#header[data-barico-header] .bh-currency > span { display: none !important; }
#header[data-barico-header] .bh-currency > button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  color: var(--barico-menu-ink) !important;
  background: transparent !important;
  font: inherit;
  font-size: 13px;
  box-shadow: none;
}
#header[data-barico-header] .bh-currency .dropdown-menu {
  left: auto;
  right: 0;
  min-width: 110px;
  padding: 8px;
  color: var(--barico-menu-ink);
  background: #fff;
  border: 1px solid var(--bh-line);
  border-radius: 0;
}
#header[data-barico-header] .bh-currency .dropdown-menu a { display: block; padding: 10px 12px; color: var(--barico-menu-ink) !important; }
.bh-menu-dialog {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  height: 100dvh !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
  box-shadow: none !important;
}
.bh-menu-dialog:not([open]) { display: none !important; }
.bh-menu-dialog {
  --bh-logo-width: 104px;
  --barico-menu-ink: #1d1d1f;
  --bh-menu-hover-bg: rgba(29,29,31,.055);
  --bh-menu-hover-ink: #1d1d1f;
  --bh-menu-pressed-bg: rgba(29,29,31,.095);
}
.bh-menu-dialog::backdrop { background: rgba(26,26,26,.30); }
.bh-menu-dialog .bh-mobile-chrome {
  display: grid;
  grid-template-columns: 44px 44px minmax(104px,1fr) 44px 44px;
  align-items: center;
  height: var(--barico-menu-mobile-height);
  padding: 0 12px;
  background: rgb(var(--barico-menu-rgb));
}
.bh-menu-dialog .bh-brand { grid-column: 3; grid-row: 1; justify-self: center; }
.bh-menu-dialog .bh-close { grid-column: 5; grid-row: 1; }
.bh-menu-dialog .bh-search { grid-column: 1; grid-row: 1; }
.bh-menu-dialog .bh-account { display: none !important; }
.bh-menu-dialog .bh-cart { grid-column: 4; grid-row: 1; }
.bh-menu-dialog .bh-drawer {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: calc(100% - var(--barico-menu-mobile-height));
  min-height: 0;
  padding: 12px clamp(28px, 6vw, 60px) 28px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  overflow: auto;
  overscroll-behavior: contain;
  background: #fff;
  animation: bh-drop-in .28s cubic-bezier(.22,.61,.36,1) both;
}
.bh-menu-dialog .bh-drawer > nav { margin: 0; padding: 0; }
.bh-menu-dialog.bh-menu-closing .bh-drawer { animation: bh-drop-out .18s ease-in both; pointer-events: none; }
.bh-menu-dialog .bh-mobile-links > li { margin: 0; padding: 0; }
.bh-menu-dialog .bh-mobile-links a,
.bh-menu-dialog .bh-mobile-links summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  margin: 0 -18px;
  padding: 10px 18px;
  border-radius: 12px;
  color: var(--barico-menu-ink);
  font: inherit;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.bh-menu-dialog .bh-mobile-links a:focus-visible,
.bh-menu-dialog .bh-mobile-links summary:focus-visible,
.bh-menu-dialog .bh-menu-account:focus-visible { background: var(--bh-menu-hover-bg); color: var(--bh-menu-hover-ink); }
@media (hover: hover) {
  .bh-menu-dialog .bh-mobile-links a:hover,
  .bh-menu-dialog .bh-mobile-links summary:hover,
  .bh-menu-dialog .bh-menu-account:hover { background: var(--bh-menu-hover-bg); color: var(--bh-menu-hover-ink); }
  .bh-menu-dialog .bh-mobile-links a:hover::after { translate: 2px 0; }
}
.bh-menu-dialog .bh-mobile-links a:active,
.bh-menu-dialog .bh-mobile-links summary:active,
.bh-menu-dialog .bh-menu-account:active { background: var(--bh-menu-pressed-bg); }
.bh-menu-dialog .bh-mobile-links a::after {
  content: '';
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin-right: 3px;
  border: solid currentColor;
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
  transition: translate .18s ease;
}
.bh-menu-dialog .bh-submenu { padding-left: 14px; }
.bh-menu-dialog .bh-submenu a { font-size: 18px; font-weight: 500; }
.bh-menu-dialog .bh-submenu summary { font-size: 20px; }
.bh-menu-dialog .bh-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin: 14px 0 0;
  padding: 12px 0;
  border-top: 1px solid var(--bh-line);
  border-bottom: 1px solid var(--bh-line);
}
.bh-menu-dialog .bh-secondary a {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: var(--barico-menu-ink);
  font-size: 14px;
  text-decoration: none;
}
/* Rozložení i měřítko shodné s poradenským blokem na produktu. */
.bh-menu-dialog .bh-contact {
  --bh-support-muted: #555;
  flex: 0 0 auto;
  align-self: center;
  width: 100%;
  max-width: 560px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--barico-menu-ink);
  container-type: inline-size;
}
.bh-menu-dialog .bh-support-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) clamp(72px,22.8cqw,120px);
  grid-template-areas: "title title bio" "phone email bio";
  column-gap: clamp(8px,2.4cqw,12px);
  row-gap: clamp(6px,1.8cqw,14px);
  align-items: end;
  justify-items: stretch;
}
.bh-menu-dialog .bh-support-intro { grid-area: title; text-align: center; margin-top: clamp(2px,1.4cqw,7px); align-self: center; }
.bh-menu-dialog .bh-contact h2 {
  margin: 0 0 clamp(1px,.5cqw,3px);
  color: inherit;
  font: 600 clamp(12px,4.3cqw,19px)/1.25 Poppins, sans-serif;
}
.bh-menu-dialog .bh-support-intro p {
  margin: 0;
  color: var(--bh-support-muted);
  font: 400 clamp(10px,2.6cqw,12px)/1.5 Poppins, sans-serif;
}
.bh-menu-dialog .bh-support-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  text-align: center;
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}
.bh-menu-dialog .bh-support-phone { grid-area: phone; }
.bh-menu-dialog .bh-support-email { grid-area: email; }
.bh-menu-dialog .bh-support-value { color: inherit; white-space: nowrap; font: 600 clamp(12px,4cqw,19px)/1.2 Poppins, sans-serif; }
.bh-menu-dialog .bh-support-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: clamp(1px,.7cqw,2px) 0 0;
  color: var(--bh-support-muted);
  white-space: nowrap;
  font: 400 clamp(9px,2.37cqw,12px)/1.5 Poppins, sans-serif;
}
.bh-menu-dialog .bh-support-status { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: #b20000; }
.bh-menu-dialog .bh-support-status.bh-support-online { background: #198754; }
.bh-menu-dialog .bh-support-bio { grid-area: bio; display: grid; justify-items: center; margin: 0; text-align: center; }
.bh-menu-dialog .bh-support-avatar {
  width: clamp(58px,14.8cqw,80px);
  height: clamp(58px,14.8cqw,80px);
  margin-bottom: clamp(6px,2.2cqw,14px);
  overflow: hidden;
  border-radius: 50%;
  background: #111;
}
.bh-menu-dialog .bh-support-avatar img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.bh-menu-dialog .bh-support-bio strong { display: block; color: inherit; font: 600 clamp(10px,2.9cqw,15px)/1.2 Poppins, sans-serif; }
.bh-menu-dialog .bh-support-bio figcaption > span { display: block; color: var(--bh-support-muted); font: 400 clamp(10px,2.37cqw,12px)/1.5 Poppins, sans-serif; }
/* Původní tři sloupce zůstávají čitelné i na 320px telefonu. */
@container (max-width: 300px) {
  .bh-menu-dialog .bh-support-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr) 60px; column-gap: 8px; }
  .bh-menu-dialog .bh-support-value { font-size: clamp(10px,3.7cqw,12px); }
  .bh-menu-dialog .bh-support-note { gap: 4px; font-size: clamp(8px,2.8cqw,9px); }
}
.bh-menu-dialog .bh-support-link:focus-visible { color: #b20000; }
@media (hover: hover) { .bh-menu-dialog .bh-support-link:hover { color: #b20000; } }
.bh-menu-dialog .bh-mobile-currency { border-top: 1px solid var(--bh-line); padding-top: 10px; }
.bh-menu-dialog .bh-mobile-currency summary { padding: 8px 0; font-size: 13px; cursor: pointer; }
.bh-menu-dialog .bh-mobile-currency ul { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; }
.bh-menu-dialog .bh-mobile-currency a { min-width: 44px; }
.bh-menu-dialog .bh-menu-account {
  gap: 10px;
  min-height: 44px;
  margin: 0 -12px;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 500;
  transition: background-color .18s ease, color .18s ease;
}
.bh-menu-dialog .bh-menu-account::before {
  content: '';
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: var(--bh-account) center / contain no-repeat;
  mask: var(--bh-account) center / contain no-repeat;
}
.bh-menu-dialog .bh-menu-currency-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  position: relative;
  isolation: isolate;
  width: 104px;
  height: 44px;
  margin: 0;
  padding: 2px;
  border: 1px solid #d2d2d7;
  border-radius: 22px;
  background: #e5e5ea;
}
.bh-menu-dialog .bh-menu-currency-switch[hidden] { display: none !important; }
.bh-menu-dialog .bh-menu-currency-switch::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 2px;
  top: 2px;
  width: calc(50% - 2px);
  height: calc(100% - 4px);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.16);
  transform: translateX(0);
  transition: transform .22s cubic-bezier(.22,.61,.36,1);
}
.bh-menu-dialog .bh-menu-currency-switch[data-currency="EUR"]::before { transform: translateX(100%); }
.bh-menu-dialog .bh-menu-currency-switch a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  border-radius: 20px;
  color: #5f5f64;
  background: transparent;
  font: 500 13px/1 Poppins, sans-serif;
  text-decoration: none;
}
.bh-menu-dialog .bh-menu-currency-switch a[aria-current="true"] { color: #1d1d1f; }
.bh-menu-dialog.bh-menu-dark .bh-menu-currency-switch { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.08); }
.bh-menu-dialog.bh-menu-dark .bh-menu-currency-switch::before { background: #e5e5e5; }
.bh-menu-dialog.bh-menu-dark .bh-menu-currency-switch a { color: #e5e5e5; }
.bh-menu-dialog.bh-menu-dark .bh-menu-currency-switch a[aria-current="true"] { color: #1d1d1f; }
/* Otevřená roletka přebírá světlou / tmavou polohu horní lišty. */
.bh-menu-dialog.bh-menu-dark {
  --barico-menu-ink: #e5e5e5;
  --bh-line: rgba(229,229,229,.16);
  --bh-menu-hover-bg: rgba(229,229,229,.095);
  --bh-menu-hover-ink: #fff;
  --bh-menu-pressed-bg: rgba(229,229,229,.15);
}
.bh-menu-dialog.bh-menu-dark .bh-drawer { background: #1d1d1f; }
.bh-menu-dialog.bh-menu-dark .bh-mobile-chrome {
  background: #1d1d1f;
  --barico-menu-ink: #e5e5e5;
  --barico-menu-logo-filter: brightness(0) invert(.8980392157);
}
.bh-menu-dialog.bh-menu-dark .bh-mobile-chrome .bh-action:hover { background: rgba(255,255,255,.08) !important; }
.bh-menu-dialog.bh-menu-dark .bh-contact { --bh-support-muted: #b4b4b9; }
.bh-menu-dialog.bh-menu-dark .bh-support-avatar { border: 4px solid #e5e5e5; }
.bh-menu-dialog.bh-menu-dark :focus-visible { outline-color: #b4b4b9; }
#header[data-barico-header] :focus-visible,
.bh-menu-dialog :focus-visible { outline: 2px solid #666; outline-offset: 3px; }
@keyframes bh-drop-in { from { clip-path: inset(0 0 100% 0); transform: translateY(-8px); } to { clip-path: inset(0); transform: none; } }
@keyframes bh-drop-out { from { clip-path: inset(0); transform: none; } to { clip-path: inset(0 0 100% 0); transform: translateY(-6px); } }
/* Užší desktop má kompaktní mezery; logo se nesmršťuje kvůli navigaci. */
@media (min-width: 1100px) and (max-width: 1279px) {
  #header[data-barico-header] .bh-row { gap: 16px; }
  #header[data-barico-header] .bh-links { gap: 16px; }
  #header[data-barico-header] .bh-links > li > a,
  #header[data-barico-header] .bh-links > li > details > summary { font-size: 13px; }
}
@media (max-width: 1099px) {
  #header[data-barico-header] { --bh-logo-width: 104px; height: var(--barico-menu-mobile-height) !important; }
  #header[data-barico-header] .bh-brand img, .bh-menu-dialog .bh-brand img { padding: 0 !important; }
  #header[data-barico-header] .bh-row {
    display: grid;
    grid-template-columns: 44px 44px minmax(104px,1fr) 44px 44px;
    gap: 0;
    position: relative;
    max-width: none;
    padding: 0 12px;
  }
  #header[data-barico-header] .bh-brand { grid-column: 3; grid-row: 1; justify-self: center; z-index: 1; }
  #header[data-barico-header] .bh-desktop-nav { display: none !important; }
  #header[data-barico-header] .bh-menu-toggle { display: inline-flex !important; grid-column: 5; grid-row: 1; }
  #header[data-barico-header] .bh-utilities {
    display: contents !important;
  }
  #header[data-barico-header] .bh-utilities > .bh-action {
    position: relative !important;
    inset: auto !important;
    grid-row: 1;
  }
  #header[data-barico-header] .bh-search { grid-column: 1; }
  #header[data-barico-header] .bh-account { display: none !important; }
  #header[data-barico-header] .bh-cart { grid-column: 4; }
  #header[data-barico-header] .bh-currency { display: none !important; }
}
/* Tablet: stejné logo jako telefon, hledání vedle košíku v pravé skupině. */
@media (min-width: 768px) and (max-width: 1099px) {
  #header[data-barico-header], .bh-menu-dialog { --bh-logo-width: 104px; }
  #header[data-barico-header] .bh-row,
  .bh-menu-dialog .bh-mobile-chrome {
    grid-template-columns: 44px 44px 44px minmax(104px,1fr) 44px 44px 44px;
    padding-inline: 24px;
  }
  #header[data-barico-header] .bh-brand,
  .bh-menu-dialog .bh-brand { grid-column: 4; }
  #header[data-barico-header] .bh-search,
  .bh-menu-dialog .bh-search { grid-column: 5; }
  #header[data-barico-header] .bh-cart,
  .bh-menu-dialog .bh-cart { grid-column: 6; }
  #header[data-barico-header] .bh-menu-toggle,
  .bh-menu-dialog .bh-close { grid-column: 7; }
}
@media (prefers-reduced-motion: reduce) {
  #header[data-barico-header]::before,
  #header[data-barico-header]::after,
  #header[data-barico-header] .bh-links summary::after { transition: none; }
  .bh-menu-dialog .bh-drawer, .bh-menu-dialog.bh-menu-closing .bh-drawer { animation: none; }
  .bh-menu-dialog .bh-menu-currency-switch::before { transition: none; }
  .bh-menu-dialog .bh-mobile-links a, .bh-menu-dialog .bh-mobile-links summary, .bh-menu-dialog .bh-mobile-links a::after, .bh-menu-dialog .bh-menu-account, .bh-menu-dialog .bh-support-link { transition: none; }
}

/* Homepage: stejný levý a pravý okraj jako plocha bannerů. */
@media (min-width: 1100px) {
  #header[data-barico-header] .bh-brand img { object-position: left center; }
  #header[data-barico-header][data-barico-banner-aligned] .bh-row {
    max-width: none;
    padding-left: var(--bh-banner-left);
    padding-right: var(--bh-banner-right);
  }
}

/* Tmavé sklo podle VanMoof; světlé nabídky mají vlastní barvu textu. */
#header[data-barico-header], .bh-menu-dialog .bh-mobile-chrome {
  --barico-menu-ink: #fff;
  --barico-menu-logo-filter: brightness(0) invert(1);
}
#header[data-barico-header] .bh-submenu,
#header[data-barico-header] .bh-currency .dropdown-menu {
  --barico-menu-ink: #1a1a1a;
  color: var(--barico-menu-ink);
}
#header[data-barico-header] .bh-cart > i { background: #fff; color: #222; }
#header[data-barico-header] .bh-action:hover,
.bh-menu-dialog .bh-mobile-chrome .bh-action:hover { background: rgba(255,255,255,.12) !important; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .bh-menu-dialog .bh-mobile-chrome {
    background: linear-gradient(135deg, rgba(var(--barico-menu-rgb), var(--barico-menu-opacity)) 9.74%, rgba(var(--barico-menu-rgb), var(--barico-menu-opacity-end)) 90.26%);
    -webkit-backdrop-filter: blur(var(--barico-menu-blur));
    backdrop-filter: blur(var(--barico-menu-blur));
  }
}


/* Dvě viditelné volby měny, první v pravé skupině ikon. */
#header[data-barico-header] .bh-currency-replaced { display: none !important; }
#header[data-barico-header] .bh-currency-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  position: relative;
  isolation: isolate;
  order: -1;
  flex: 0 0 90px;
  width: 90px;
  height: 36px;
  margin-right: 10px;
  padding: 2px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
}
#header[data-barico-header] .bh-currency-switch[hidden] { display: none; }
#header[data-barico-header] .bh-currency-switch::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 2px;
  top: 2px;
  width: calc(50% - 2px);
  height: calc(100% - 4px);
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
  transform: translateX(0);
  transition: transform .22s cubic-bezier(.22,.61,.36,1);
}
#header[data-barico-header] .bh-currency-switch[data-currency="EUR"]::before { transform: translateX(100%); }
#header[data-barico-header] .bh-currency-switch a {
  display: flex !important;
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  float: none !important;
  transform: none !important;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  color: rgba(255,255,255,.72) !important;
  background: transparent !important;
  font: 500 13px/1 Poppins, sans-serif;
  text-decoration: none;
  transition: color .18s ease;
}
#header[data-barico-header] .bh-currency-switch a:hover { color: #fff !important; }
#header[data-barico-header] .bh-currency-switch a[aria-current="true"] { color: #303030 !important; }
@media (max-width: 1099px) {
  #header[data-barico-header] .bh-currency-switch { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #header[data-barico-header] .bh-currency-switch::before,
  #header[data-barico-header] .bh-currency-switch a { transition: none; }
}

@media (min-width: 1100px) and (max-width: 1279px) {
  #header[data-barico-header] .bh-currency-switch { flex-basis: 82px; width: 82px; margin-right: 6px; }
}

/* O nás: vlastní panel a postupné odhalení odkazů. */
#header[data-barico-header] .bh-about-reveal {
  position: absolute;
  z-index: 5;
  top: calc(100% + 8px);
  left: -18px;
  width: 248px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  background: color-mix(in srgb, #fff calc(var(--bh-rest-factor,1) * 100%), #1d1d1f);
  box-shadow: inset 0 0 0 1px rgba(127,127,127,.18), 0 12px 32px rgba(0,0,0,.13);
}
#header[data-barico-header] .bh-about-reveal > .bh-submenu {
  --barico-menu-ink: color-mix(in srgb, #1a1a1a calc(var(--bh-rest-factor,1) * 100%), #e5e5e5);
  position: static;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
#header[data-barico-header] .bh-about-reveal .bh-submenu a {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 9px;
  font-weight: 500 !important;
  transition: background-color .15s ease;
}
#header[data-barico-header] .bh-about-reveal .bh-submenu a:hover,
#header[data-barico-header] .bh-about-reveal .bh-submenu a:focus-visible { background: rgba(127,127,127,.13); opacity: 1; }
.bh-menu-dialog .bh-about-reveal { overflow: hidden; }
.bh-menu-dialog .bh-about-reveal > .bh-submenu { padding: 4px 0 8px; }
.bh-menu-dialog .bh-about-reveal > .bh-submenu a { min-height: 44px; margin: 0; padding: 8px 16px; }
#header[data-barico-header] .bh-about-menu.bh-about-closing > summary::after,
.bh-menu-dialog .bh-about-menu.bh-about-closing > summary::after { transform: rotate(45deg) translateY(-2px); }
#header[data-barico-header] .bh-about-menu.bh-about-opening > .bh-about-reveal > .bh-submenu > li,
.bh-menu-dialog .bh-about-menu.bh-about-opening > .bh-about-reveal > .bh-submenu > li {
  animation: bh-about-link-in .18s ease-out both;
  animation-delay: calc(var(--bh-about-order,0) * 28ms);
}
@keyframes bh-about-link-in {
  from { opacity: 0; transform: translateY(-7px); filter: blur(2px); }
  to { opacity: 1; transform: none; filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  #header[data-barico-header] .bh-about-menu.bh-about-opening > .bh-about-reveal > .bh-submenu > li,
  .bh-menu-dialog .bh-about-menu.bh-about-opening > .bh-about-reveal > .bh-submenu > li { animation: none; }
  #header[data-barico-header] .bh-about-reveal .bh-submenu a { transition: none; }
}

/* Původní panel košíku Shoptetu sjíždí svisle shora místo rozšiřování zleva. */
body:has(#header[data-barico-header]) #cart-widget.content-window.cart-window {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  height: 100dvh !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  transform: translate3d(0,-100%,0) !important;
  visibility: hidden !important;
  pointer-events: none;
  transition: none !important;
}
body:has(#header[data-barico-header]) #cart-widget.content-window.cart-window.bh-cart-drop-ready {
  transition: transform .22s ease-in, visibility 0s linear .22s !important;
}
body.cart-window-visible:has(#header[data-barico-header]) #cart-widget.content-window.cart-window {
  transform: translate3d(0,0,0) !important;
  visibility: visible !important;
  pointer-events: auto;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), visibility 0s linear 0s !important;
}
@media (prefers-reduced-motion: reduce) {
  body:has(#header[data-barico-header]) #cart-widget.content-window.cart-window,
  body:has(#header[data-barico-header]) #cart-widget.content-window.cart-window.bh-cart-drop-ready { transition: none !important; }
}

/* Desktopová plocha O nás navazuje na celou šířku hlavičky. */
#header[data-barico-header] .bh-about-backdrop { display: none; }
@media (min-width: 1100px) {
  #header[data-barico-header] .bh-about-backdrop {
    display: block;
    position: fixed;
    z-index: 1;
    inset: var(--barico-menu-height) 0 0;
    background: rgba(0,0,0,.2);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility 0s linear .2s;
  }
  #header[data-barico-header]:has(.bh-desktop-nav .bh-about-menu[open]) .bh-about-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
  #header[data-barico-header]:has(.bh-desktop-nav .bh-about-menu.bh-about-closing) .bh-about-backdrop {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility 0s linear .18s;
  }
  #header[data-barico-header]:has(.bh-desktop-nav .bh-about-menu[open])::before {
    background: color-mix(in srgb, #fff calc(var(--bh-rest-factor,1) * 100%), #1d1d1f);
    clip-path: none;
  }
  #header[data-barico-header] .bh-about-reveal {
    position: fixed;
    z-index: 5;
    top: var(--barico-menu-height);
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
    max-height: calc(100dvh - var(--barico-menu-height));
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  #header[data-barico-header] .bh-about-menu.bh-about-opening > .bh-about-reveal,
  #header[data-barico-header] .bh-about-menu.bh-about-closing > .bh-about-reveal { overflow: hidden; }
  #header[data-barico-header] .bh-about-reveal > .bh-submenu {
    padding: 16px max(64px,var(--bh-about-content-right,32px),calc((100% - 1200px) / 2)) 36px max(64px,var(--bh-about-content-left,32px),calc((100% - 1200px) / 2));
  }
  #header[data-barico-header] .bh-about-reveal .bh-submenu a {
    width: fit-content;
    min-height: 44px;
    margin-left: -12px;
    padding: 8px 12px;
    font-size: 24px;
    font-weight: 600 !important;
    line-height: 1.25;
  }
}
@media (prefers-reduced-motion: reduce) { #header[data-barico-header] .bh-about-backdrop { transition: none !important; } }

/* Mobilní rozbalovací šipka má stejnou vodorovnou osu jako odkazy. */
.bh-menu-dialog .bh-mobile-links summary::after {
  flex: 0 0 6px;
  margin-right: 3px;
  transform: translateY(-2px) rotate(45deg);
}
.bh-menu-dialog .bh-mobile-links details[open] > summary::after { transform: rotate(225deg); }
.bh-menu-dialog .bh-mobile-links .bh-about-menu.bh-about-closing > summary::after { transform: translateY(-2px) rotate(45deg); }

/* Šipky v rozbalené mobilní podnabídce o kousek více dovnitř. */
.bh-menu-dialog .bh-about-reveal .bh-submenu a::after { margin-right: 7px; }


/* Desktopová hlavička: celistvý podklad až ke spodnímu pixelu. */
@media (min-width:1100px) {
  #header[data-barico-header] { border-bottom:0!important; outline:0!important; box-shadow:none!important; }
  #header[data-barico-header]::before,
  #header[data-barico-header]::after { clip-path:none!important; border-bottom:0!important; box-shadow:none!important; }
  #header[data-barico-header] .bh-row,
  #header[data-barico-header] .bh-desktop-nav { border-bottom:0!important; box-shadow:none!important; }
}


/* Pevná původní výška mobilní lišty. */
@media (max-width:1099px) {
  #header[data-barico-header], .bh-menu-dialog, .bh-menu-dialog .bh-mobile-chrome { --barico-menu-mobile-height:52px !important; }
}
/* Hamburger i křížek bez rámečku; animace a dotykové efekty zůstávají. */
#header[data-barico-header] .bh-menu-toggle:focus,
#header[data-barico-header] .bh-menu-toggle:focus-visible,
.bh-menu-dialog .bh-close:focus,
.bh-menu-dialog .bh-close:focus-visible { outline:none!important; box-shadow:none!important; }
.bh-menu-dialog .bh-menu-currency-switch[aria-busy="true"] { opacity:.65; }
.bh-menu-dialog .bh-currency-status { margin:0; color:inherit; font:400 13px/1.5 Poppins,sans-serif; }
.bh-menu-dialog .bh-currency-status[hidden] { display:none; }

/* Mobil: obsah ostatních stránek navazuje bez prázdného horního pásu. */
@media (max-width:1099px) {
  body:not(.in-index):has(#header[data-barico-header]) #content-wrapper,
  body:not(.in-index):has(#header[data-barico-header]) #content-wrapper > .content-wrapper-in,
  body:not(.in-index):has(#header[data-barico-header]) #content > .content-inner {
    margin-top:0!important;
    padding-top:0!important;
  }
  body:not(.in-index):has(#header[data-barico-header]) #content-wrapper > .breadcrumbs {
    min-height:0!important;
    margin-top:0!important;
    margin-bottom:0!important;
    padding-top:6px!important;
    padding-bottom:6px!important;
  }
}

@media (max-width:1099px) {
  body:not(.in-index):not(.type-detail):has(#header[data-barico-header]) #content h1:first-of-type { margin-top:10px!important; }
}

/* Menší mezera pod lištou pouze na mobilním detailu produktu. */
@media (max-width:1099px) {
  body.type-detail:has(#header[data-barico-header]) .p-detail-inner { padding-top:8px!important; }
}

.bh-menu-dialog .bh-cart > i { background:#1d1d1f; color:#fff; }
.bh-menu-dialog.bh-menu-dark .bh-cart > i { background:#e5e5e5; color:#1d1d1f; }

/* Pozadí překryvů zasahuje pod iOS UI, poslední ovládání zůstává dostupné. */
@supports (height:100lvh) {
  @media (max-width:1099px) {
    .bh-menu-dialog { height:100lvh!important; }
    .bh-menu-dialog::backdrop { height:100lvh; }
    .bh-menu-dialog .bh-drawer {
      padding-bottom:max(24px,env(safe-area-inset-bottom,0px),calc(100lvh - 100dvh + 24px));
    }
    body:has(#header[data-barico-header]) #cart-widget.content-window.cart-window { height:100lvh!important; }
    body:has(#header[data-barico-header]) #cart-widget .content-window-in {
      padding-bottom:max(24px,env(safe-area-inset-bottom,0px),calc(100lvh - 100dvh + 24px));
    }
  }
}
@media (max-width:1099px) {
  html:has(.bh-menu-dialog[open]), body:has(.bh-menu-dialog[open]) { background-color:#fff!important; }
  html:has(.bh-menu-dialog.bh-menu-dark[open]), body:has(.bh-menu-dialog.bh-menu-dark[open]) { background-color:#1d1d1f!important; }
}

@media (max-width:1099px) {
  body.in-index:has(#header[data-barico-header]) #content .barico-home-banners { padding-top:10px!important; }
}

/* Desktop: panel patří pod celou hlavičku, horní řada má vlastní pořadí vrstev. */
@media (min-width:1100px) {
  #header[data-barico-header] .bh-row,
  #header[data-barico-header] .bh-desktop-nav,
  #header[data-barico-header] .bh-links,
  #header[data-barico-header] .bh-links > li:has(> .bh-about-menu),
  #header[data-barico-header] .bh-about-menu { position:static; }
  #header[data-barico-header] .bh-about-reveal {
    position:absolute;
    top:100%;
    left:0;
    right:0;
    z-index:2;
    transform:none!important;
  }
  #header[data-barico-header] .bh-brand,
  #header[data-barico-header] .bh-utilities { z-index:3; }
  #header[data-barico-header] .bh-links > li > a,
  #header[data-barico-header] .bh-links > li > details > summary { position:relative; z-index:3; }

  /* Stejné místo před inicializací i po ní, aby se nadpis při načtení neposunul. */
  body:not(.in-index):not(.type-detail):not(.ordering-process):has(#header[data-barico-header]) #content-wrapper,
  html.barico-header-pending body:not(.in-index):not(.type-detail):not(.ordering-process) #content-wrapper {
    padding-top:32px!important;
  }
}

/* O nás: souměrná šipka s pevným středem při otočení. */
#header[data-barico-header] .bh-links .bh-about-menu > summary::after,
.bh-menu-dialog .bh-mobile-links .bh-about-menu > summary::after {
  content:'';
  display:block;
  flex:0 0 12px;
  width:12px;
  height:12px;
  margin-right:0;
  border:0;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%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 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transform:rotate(0deg);
  transform-origin:50% 50%;
  transition:transform .18s ease;
}
#header[data-barico-header] .bh-links .bh-about-menu[open] > summary::after,
.bh-menu-dialog .bh-mobile-links .bh-about-menu[open] > summary::after { transform:rotate(180deg); }
#header[data-barico-header] .bh-links .bh-about-menu.bh-about-closing > summary::after,
.bh-menu-dialog .bh-mobile-links .bh-about-menu.bh-about-closing > summary::after { transform:rotate(0deg); }
@media(prefers-reduced-motion:reduce) {
  #header[data-barico-header] .bh-links .bh-about-menu > summary::after,
  .bh-menu-dialog .bh-mobile-links .bh-about-menu > summary::after { transition:none; }
}

/* Desktop: stmívací vrstva začíná na stejné hraně jako panel.
   Vlastní podklad lišty je nad ní, aby světlá varianta neměla šedý pás. */
@media (min-width:1100px) {
  #header[data-barico-header] .bh-about-backdrop {
    position:absolute;
    inset:100% 0 auto;
    height:calc(100dvh - var(--barico-menu-height));
  }
  #header[data-barico-header]:has(.bh-desktop-nav .bh-about-menu[open])::after {
    z-index:1;
    background:color-mix(in srgb, #fff calc(var(--bh-rest-factor,1) * 100%), #1d1d1f);
    opacity:1;
    clip-path:none!important;
  }

  body.type-category:not(.in-index):not(.type-detail):not(.ordering-process):has(#header[data-barico-header]) #content-wrapper,
  html.barico-header-pending body.type-category:not(.in-index):not(.type-detail):not(.ordering-process) #content-wrapper {
    padding-top:24px!important;
  }
  body.in-index:has(#header[data-barico-header]) #content .barico-home-banners,
  html.barico-header-pending body.in-index #content .barico-home-banners {
    padding-top:8px!important;
  }
}

/* BARICO — bílý základ, při scrollu lehké tmavé sklo Apple.
   Jeden průběh --bh-rest-factor pro podklad, logo, texty a ikony. */
#header[data-barico-header], .bh-menu-dialog .bh-mobile-chrome {
  --barico-menu-height: 60px;
  --barico-menu-mobile-height: 52px;
  --barico-menu-rest-opacity: 0;
  --barico-menu-rgb: 29, 29, 31;
  --barico-menu-opacity: .8;
  --barico-menu-opacity-end: .8;
  --barico-menu-ink: rgba(0,0,0,.8);
  --barico-menu-logo-filter: brightness(0) invert(.2);
}
#header[data-barico-header] {
  --bh-light: calc(var(--bh-rest-factor, 1) * 100%);
  --bh-footer-white: #e5e5e5;
  --barico-menu-ink: color-mix(in srgb, rgba(0,0,0,.8) var(--bh-light), var(--bh-footer-white));
  --barico-menu-logo-filter: brightness(0) invert(calc(.8980392157 - .6980392157 * var(--bh-rest-factor, 1)));
}
#header[data-barico-header]::before {
  background: color-mix(in srgb, #fff var(--bh-light), rgba(29,29,31,.8));
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: none;
}
#header[data-barico-header]::after,
#header[data-barico-header].bh-scrolled::after { background: none; opacity: 0; transition: none; }

/* Bez časových přechodů šablony: tlačítko účtu a odkazy mění barvu
   v témže snímku podle scrollu, nikoli různě rychle podle typu prvku. */
#header[data-barico-header] .bh-action,
#header[data-barico-header] .bh-action::before,
#header[data-barico-header] .bh-brand a,
#header[data-barico-header] .bh-brand img,
#header[data-barico-header] .bh-links > li > a,
#header[data-barico-header] .bh-links > li > details > summary,
#header[data-barico-header] .bh-currency-switch,
#header[data-barico-header] .bh-currency-switch a,
#header[data-barico-header] .bh-cart > i { transition: none !important; }
#header[data-barico-header] .bh-action:hover {
  background: color-mix(in srgb, rgba(0,0,0,.04) var(--bh-light), rgba(255,255,255,.08)) !important;
}
#header[data-barico-header] .bh-currency-switch {
  background: color-mix(in srgb, #e5e5ea var(--bh-light), rgba(255,255,255,.08));
  border-color: color-mix(in srgb, #d2d2d7 var(--bh-light), rgba(255,255,255,.22));
}
#header[data-barico-header] .bh-currency-switch::before {
  background: color-mix(in srgb, #fff var(--bh-light), var(--bh-footer-white));
  box-shadow: 0 1px 4px rgba(0,0,0,.16), 0 1px 1px rgba(0,0,0,.06);
}
#header[data-barico-header] .bh-currency-switch a {
  color: color-mix(in srgb, #5f5f64 var(--bh-light), var(--bh-footer-white)) !important;
}
#header[data-barico-header] .bh-currency-switch a[aria-current="true"] { color: #1d1d1f !important; }
#header[data-barico-header] .bh-cart > i {
  background: color-mix(in srgb, #1d1d1f var(--bh-light), var(--bh-footer-white));
  color: color-mix(in srgb, #fff var(--bh-light), #1d1d1f);
}

/* Čistá spodní hrana bez linky a stínů šablony. */
#header[data-barico-header],
#header[data-barico-header]::before,
#header[data-barico-header]::after,
#header[data-barico-header] .bh-row { border-bottom: 0 !important; box-shadow: none !important; }
#header[data-barico-header]::before,
#header[data-barico-header]::after {
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  clip-path: inset(0 0 1px 0);
}

/* Obsah homepage navazuje na lištu bez horního prázdného pásu.
   Stálý rozměr při scrollu zabraňuje poskakování stránky. */
body.in-index:has(#header[data-barico-header]) #content-wrapper,
body.in-index:has(#header[data-barico-header]) #content > .banners-row,
body.in-index:has(#header[data-barico-header]) .barico-home-banners { padding-top: 0 !important; margin-top: 0 !important; }

.bh-menu-dialog .bh-mobile-chrome { background: #fff; }
.bh-menu-dialog .bh-mobile-chrome .bh-action:hover { background: rgba(0,0,0,.04) !important; }


/* Viewportové bannery uvnitř flexboxu nesmějí zvětšit šířku celé stránky. */
body.in-index:has(#header[data-barico-header]) .homepage-texts-wrapper.barico-addon-about .welcome-wrapper {
  flex: 1 1 0%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

/* BARICO — Spotlight: jeden matný skleněný panel. */
.bs-dialog {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  height: 100dvh !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
  color: #f5f5f5;
  font: 400 14px/1.45 Poppins, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.bs-dialog:not([open]), .bs-dialog [hidden] { display: none !important; }
.bs-dialog *, .bs-dialog *::before, .bs-dialog *::after { box-sizing: border-box; }
.bs-dialog::backdrop { background: rgba(0,0,0,.7); }
.bs-dialog .bs-panel {
  --bs-top: clamp(88px, 17vh, 176px);
  display: flex;
  flex-direction: column;
  width: min(700px, calc(100% - 40px));
  max-height: calc(100dvh - var(--bs-top) - 28px);
  margin: var(--bs-top) auto 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 30px;
  background: rgba(239, 240, 242, .96);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -1px 0 rgba(255,255,255,.18), 0 22px 70px rgba(0,0,0,.18), 0 4px 16px rgba(0,0,0,.08);
  animation: bs-enter .16s ease-out;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .bs-dialog .bs-panel {
    background: linear-gradient(135deg, rgba(255,255,255,.20), rgba(255,255,255,.02) 45%, rgba(255,255,255,.09)), rgba(239,240,242,.38);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    backdrop-filter: blur(24px) saturate(1.3);
  }
}
.bs-dialog .bs-form {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 17px;
  min-height: 68px;
  margin: 0;
  padding: 10px 16px 10px 24px;
  border: 0;
  background: transparent;
}
.bs-dialog .bs-magnifier { display: flex; flex: 0 0 26px; color: rgba(245,245,245,.85); }
.bs-dialog svg { display: block; width: 100%; height: 100%; }
.bs-dialog input.bs-input {
  display: block;
  flex: 1 1 auto;
  width: 0;
  min-width: 0;
  height: 46px;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #f5f5f5;
  font: 500 24px/1.3 Poppins, sans-serif;
  letter-spacing: -.5px;
  text-overflow: ellipsis;
  -webkit-appearance: none;
}
.bs-dialog .bs-input::placeholder { color: rgba(245,245,245,.72); opacity: 1; }
.bs-dialog .bs-input::-webkit-search-cancel-button { display: none; }
.bs-dialog .bs-close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: rgba(245,245,245,.85);
  box-shadow: none;
  cursor: pointer;
}
.bs-dialog .bs-close:hover { background: rgba(255,255,255,.22); color: #f5f5f5; }
.bs-dialog .bs-results {
  min-height: 0;
  margin: 0 14px;
  padding: 10px 0 4px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  border-top: 1px solid rgba(245,245,245,.16);
  animation: bs-results-in .18s ease-out;
}
.bs-dialog .bs-categories { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 8px 10px; }
.bs-dialog .bs-category {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.10);
  color: #f5f5f5;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.bs-dialog .bs-product {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 80px;
  margin: 2px 0;
  padding: 10px 12px;
  border-radius: 17px;
  color: #f5f5f5;
  text-decoration: none;
  transition: background .12s;
}
.bs-dialog .bs-product:hover, .bs-dialog .bs-product:focus-visible,
.bs-dialog .bs-category:hover, .bs-dialog .bs-category:focus-visible { background: rgba(255,255,255,.14); }
.bs-dialog .bs-thumb {
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}
.bs-dialog .bs-thumb img { display: block; width: 56px; height: 56px; object-fit: contain; background: #fff; mix-blend-mode: normal; }
.bs-dialog .bs-info { display: flex; flex: 1 1 auto; flex-direction: column; gap: 4px; min-width: 0; }
.bs-dialog .bs-name { font-size: 16px; font-weight: 600; }
.bs-dialog .bs-availability { color: rgba(245,245,245,.76); font-size: 12px; font-weight: 500; }
.bs-dialog .bs-price { flex: 0 0 auto; font-size: 14px; font-weight: 600; white-space: nowrap; }
.bs-dialog .bs-status { margin: 0; padding: 16px 12px 22px; color: rgba(245,245,245,.76); font-size: 14px; font-weight: 500; }
.bs-dialog .bs-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}
.bs-dialog .bs-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  margin: 8px 8px 0;
  padding: 8px 4px;
  border-top: 1px solid rgba(245,245,245,.16);
  color: #f5f5f5;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.bs-dialog .bs-all:hover { color: #fff; }
.bs-dialog .bs-return { font-size: 19px; }
.bs-dialog :focus-visible { outline: 2px solid rgba(245,245,245,.8); outline-offset: -2px; }
.bs-dialog .bs-input:focus-visible { outline: 0; }
.bs-dialog .bs-panel:focus-within { border-color: rgba(255,255,255,.85); }
@keyframes bs-enter { from { opacity: 0; transform: translateY(-5px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes bs-results-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
@media (max-width: 699px) {
  .bs-dialog .bs-panel { --bs-top: max(80px, env(safe-area-inset-top)); width: calc(100% - 40px); border-radius: 24px; }
  .bs-dialog .bs-form { min-height: 62px; gap: 12px; padding: 6px 8px 6px 18px; }
  .bs-dialog .bs-magnifier { flex-basis: 23px; }
  .bs-dialog input.bs-input { font-size: 19px; letter-spacing: -.3px; }
  .bs-dialog .bs-results { margin: 0 8px; }
  .bs-dialog .bs-product { gap: 11px; padding: 9px 8px; }
  .bs-dialog .bs-thumb, .bs-dialog .bs-thumb img { width: 48px; height: 48px; }
  .bs-dialog .bs-thumb { flex-basis: 48px; }
  .bs-dialog .bs-name { font-size: 14px; }
  .bs-dialog .bs-price { font-size: 12px; }
}
@media (max-height: 550px) {
  .bs-dialog .bs-panel { --bs-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .bs-dialog .bs-panel, .bs-dialog .bs-results { animation: none; }
  .bs-dialog .bs-product { transition: none; }
}

@supports (height:100lvh) {
  @media (max-width:1099px) {
    .bs-dialog, .bs-dialog::backdrop { height:100lvh!important; }
    .bs-dialog .bs-panel { max-height:calc(100dvh - var(--bs-top) - max(28px,env(safe-area-inset-bottom,0px))); }
  }
}

/* BARICO — bílý přihlašovací pop-up, zelená podle tlačítka do košíku. */
#login.bl-dialog {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  height: 100dvh !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 24px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: auto !important;
  overscroll-behavior: contain;
  color: #1a1a1a;
  font: 500 14px/1.5 Poppins, sans-serif;
  -webkit-font-smoothing: antialiased;
}
#login.bl-dialog[open] { display: flex !important; flex-direction: column; }
#login.bl-dialog:not([open]), #login.bl-dialog [hidden] { display: none !important; }
#login.bl-dialog *, #login.bl-dialog *::before, #login.bl-dialog *::after { box-sizing: border-box; }
#login.bl-dialog::before, #login.bl-dialog::after { display: none !important; }
#login.bl-dialog::backdrop { background: rgba(0,0,0,.7); }
#login.bl-dialog > .dialog__close { display: none !important; }
#login.bl-dialog .dialog__wrapper {
  position: relative;
  inset: auto;
  display: block;
  flex: none;
  float: none;
  height: auto;
  max-height: none;
  transform: none;
  transition: none;
  width: min(440px, calc(100% - 40px));
  max-width: none;
  min-height: 0;
  margin: auto;
  padding: 0;
  border: 1px solid #ededed;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,.18), 0 4px 16px rgba(0,0,0,.06);
  animation: bl-enter .16s ease-out;
}
#login.bl-dialog .dialog__wrapper::before, #login.bl-dialog .dialog__wrapper::after { display: none; }
#login.bl-dialog .dialog__content {
  position: static;
  display: block;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 32px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
}
#login.bl-dialog .dialog__header { position: relative; margin: 0 0 26px; padding: 0 44px 0 0; border: 0; text-align: left; }
#login.bl-dialog .dialog__heading { margin: 0; padding: 0; color: #1a1a1a; font: 600 26px/1.4 Poppins, sans-serif; letter-spacing: -.6px; text-align: left; }
#login.bl-dialog .dialog__heading::before, #login.bl-dialog .dialog__heading::after { display: none; }
#login.bl-dialog .bl-close {
  position: absolute;
  top: -5px;
  right: -9px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 12px;
  border: 0;
  border-radius: 50%;
  background: #f5f5f5;
  box-shadow: none;
  color: #737373;
  cursor: pointer;
}
#login.bl-dialog .bl-close:hover { background: #ebebeb; color: #1a1a1a; }
#login.bl-dialog .bl-close svg { display: block; width: 20px; height: 20px; }
#login.bl-dialog .dialog__body, #login.bl-dialog form { margin: 0; padding: 0; background: transparent; }
#login.bl-dialog .form-group { display: block; margin: 0 0 18px; padding: 0; }
#login.bl-dialog .form-control-wrapper { position: relative; margin: 0; }
#login.bl-dialog .smart-label-wrapper > label {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 7px;
  padding: 0;
  transform: none;
  pointer-events: auto;
  color: #343434;
  font: 600 13px/1.5 Poppins, sans-serif;
}
#login.bl-dialog .required-asterisk::before, #login.bl-dialog .required-asterisk::after { display: none; }
#login.bl-dialog input.form-control {
  display: block;
  width: 100%;
  height: 52px;
  min-height: 52px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #dedede;
  border-radius: 14px;
  outline: none;
  background: #f8f8f8;
  box-shadow: none;
  color: #1a1a1a;
  font: 500 16px/1.4 Poppins, sans-serif;
  transition: background .12s, border-color .12s;
}
#login.bl-dialog input.form-control:hover { border-color: #bcbcbc; }
#login.bl-dialog input.form-control:focus { border-color: #a6a6a6; background: #fff; box-shadow: 0 0 0 3px rgba(0,0,0,.05); }
#login.bl-dialog input.form-control::placeholder { color: #929292; opacity: 1; }
#login.bl-dialog .submit-wrapper { margin: 24px 0 0; }
#login.bl-dialog button[type="submit"] {
  display: block;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 20px;
  border: 1px solid var(--color-secondary, #198754);
  border-radius: 15px;
  background: var(--color-secondary, #198754);
  box-shadow: none;
  color: #fff;
  font: 600 16px/1.5 Poppins, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
#login.bl-dialog button[type="submit"]:hover { background: var(--color-secondary-hover, #176f49); border-color: var(--color-secondary-hover, #176f49); }
#login.bl-dialog .alternative-links { display: flex; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid #ebebeb; }
#login.bl-dialog .alternative-links a { display: inline-flex; align-items: center; min-height: 34px; margin: -6px -9px; padding: 6px 9px; border-radius: 9px; color: #535353; font-size: 13px; font-weight: 500; text-decoration: none; transition: background .12s, color .12s; }
#login.bl-dialog .alternative-links a:hover, #login.bl-dialog .alternative-links a:focus-visible { background: #f1f1f1; color: #1a1a1a; text-decoration: none; }
#login.bl-dialog .alternative-links a::before, #login.bl-dialog .alternative-links a::after { display: none; }
#login.bl-dialog .bl-preview-status { margin: 16px 0 0; color: #535353; font-size: 13px; }
#login.bl-dialog :focus-visible { outline: 2px solid #a6a6a6; outline-offset: 3px; }
#login.bl-dialog input.form-control:focus-visible { outline: none; }
@keyframes bl-enter { from { opacity: 0; transform: translateY(-5px) scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 699px) {
  #login.bl-dialog .dialog__wrapper { border-radius: 24px; }
  #login.bl-dialog .dialog__content { padding: 24px 22px; }
  #login.bl-dialog .dialog__heading { font-size: 24px; }
  #login.bl-dialog .alternative-links a { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  #login.bl-dialog .dialog__wrapper { animation: none; }
  #login.bl-dialog input.form-control, #login.bl-dialog .alternative-links a { transition: none; }
}

@supports (height:100lvh) {
  @media (max-width:1099px) {
    #login.bl-dialog { height:100lvh!important; box-sizing:border-box; padding-bottom:max(24px,env(safe-area-inset-bottom,0px),calc(100lvh - 100dvh + 24px))!important; }
    #login.bl-dialog::backdrop { height:100lvh; }
  }
}

/* Pouze iOS: roluje dokument, nikoli fixed dialog / vnořený scrollport.
   Celá skutečná plocha tak může pokračovat pod průhledným UI Safari.
   Minimum sleduje dostupnou výšku; dekorativní pozadí nezvětšuje scroll. */
html.bh-ios-overlay { overflow:visible!important; height:auto!important; scroll-behavior:auto!important; overscroll-behavior-y:none; }
body.bh-ios-overlay { display:block!important; position:relative!important; overflow:visible!important; height:auto!important; min-height:100vh!important; min-height:100dvh!important; margin:0!important; padding:0!important; transform:none!important; }
body.bh-ios-overlay > :not(.bh-ios-stage):not(.bh-ios-background):not(script):not(style):not(link) { visibility:hidden!important; pointer-events:none!important; }
body.bh-ios-overlay .bh-ios-background { position:absolute; z-index:0; top:0; left:0; width:100%; height:100%; overflow:hidden; pointer-events:none; }
body.bh-ios-overlay .bh-ios-page { width:100%; transform-origin:top left; }
body.bh-ios-overlay .bh-ios-stage { position:relative; z-index:2147483000; display:flow-root; width:100%; min-height:100vh; min-height:100dvh; background:rgba(0,0,0,.7); }
body.bh-ios-overlay .bh-ios-stage[data-kind="menu"],
body.bh-ios-overlay .bh-ios-stage[data-kind="cart"] { background:#fff; }
body.bh-ios-overlay .bh-ios-stage.bh-ios-dark { background:#1d1d1f; }
body.bh-ios-overlay .bh-ios-stage > .bh-menu-dialog,
body.bh-ios-overlay .bh-ios-stage > .bs-dialog,
body.bh-ios-overlay .bh-ios-stage > #login.bl-dialog,
body.bh-ios-overlay:has(#header[data-barico-header]) .bh-ios-stage > #cart-widget.content-window.cart-window {
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  height:auto!important;
  min-height:100vh!important;
  min-height:100dvh!important;
  max-height:none!important;
  overflow:visible!important;
  transform:none!important;
  transition:none!important;
  visibility:visible!important;
  pointer-events:auto;
  box-sizing:border-box!important;
}
body.bh-ios-overlay .bh-ios-stage > .bh-menu-dialog { background:#fff!important; }
body.bh-ios-overlay .bh-ios-stage > .bh-menu-dialog.bh-menu-dark { background:#1d1d1f!important; }
body.bh-ios-overlay .bh-menu-dialog .bh-mobile-chrome { position:sticky; top:0; z-index:2; }
body.bh-ios-overlay .bh-menu-dialog .bh-drawer {
  height:auto!important; min-height:calc(100vh - var(--barico-menu-mobile-height));
  min-height:calc(100dvh - var(--barico-menu-mobile-height)); overflow:visible!important;
  padding-bottom:max(28px,env(safe-area-inset-bottom,0px))!important;
}
body.bh-ios-overlay .bs-dialog .bs-panel { max-height:none!important; }
body.bh-ios-overlay .bs-dialog .bs-results { overflow:visible!important; flex-shrink:0; }
body.bh-ios-overlay .bh-ios-stage > .bs-dialog { display:flow-root!important; padding-bottom:max(28px,env(safe-area-inset-bottom,0px))!important; }
body.bh-ios-overlay .bh-ios-stage > #login.bl-dialog {
  padding-top:24px!important; padding-bottom:max(24px,env(safe-area-inset-bottom,0px))!important;
}
body.bh-ios-overlay:has(#header[data-barico-header]) #cart-widget .content-window-in {
  height:auto!important; min-height:100vh; min-height:100dvh;
  max-height:none!important; overflow:visible!important; box-sizing:border-box;
  padding-bottom:max(28px,env(safe-area-inset-bottom,0px))!important;
}
body.bh-ios-overlay .bh-ios-stage[data-kind="cart"] { animation:bh-ios-cart-in .3s cubic-bezier(.22,.61,.36,1) both; }
body.bh-ios-overlay .bh-ios-stage[data-kind="cart"].bh-ios-closing { animation:bh-ios-cart-out .22s ease-in both; pointer-events:none; }
@keyframes bh-ios-cart-in { from { transform:translateY(-100vh); } to { transform:none; } }
@keyframes bh-ios-cart-out { from { transform:none; } to { transform:translateY(-100vh); } }
@media(prefers-reduced-motion:reduce) { body.bh-ios-overlay .bh-ios-stage { animation:none!important; } }
