/* 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 {
  position: absolute;
  top: 0;
  right: 0;
  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: 28px 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; }

/* 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%;
}

/* 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; }
}
