/* BP Topbar 1.0.8 — PrestaShop 8.1.x */
.bptb-shell {
  --bptb-height: 38px;
  position: relative;
  width: 100%;
  min-height: var(--bptb-height);
}

.bptb-shell--sticky {
  height: var(--bptb-height);
}

.bptb {
  --bptb-bg: #151515;
  --bptb-text: #fff;
  --bptb-accent: #ec087a;
  --bptb-height: 38px;
  --bptb-gap: 30px;

  position: relative;
  z-index: 80;
  width: 100%;
  min-width: 0;
  height: var(--bptb-height);
  background: var(--bptb-bg);
  color: var(--bptb-text);
  font-family: inherit;
  overflow: hidden;
  isolation: isolate;
}

.bptb,
.bptb *,
.bptb *::before,
.bptb *::after {
  box-sizing: border-box;
}

/* Sticky jest portalowany do BODY przez JS. Shell zostaje w hooku i zajmuje
   dokładnie tyle miejsca, ile pasek zajmowałby bez fixed — bez skoku layoutu. */
.bptb--sticky-enabled.bptb--fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10050;
  width: auto;
  max-width: none;
  margin: 0 !important;
}

/* Black Point / Codezeel: motyw dodaje .cs-sticky-fixed dopiero po
   przekroczeniu progu scrolla. Offset jest wtedy nakładany natychmiast przez
   CSS, bez pomiarów i przełączania stylu headera w zdarzeniu scroll. */
:root {
  --bptb-sticky-offset: 38px;
}

html.bptb-sticky-active .cs-sticky-fixed,
html.bptb-sticky-active .header-top-scrolled {
  top: var(--bptb-sticky-offset) !important;
}

.bptb--full:not(.bptb--fixed) {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.bptb__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bptb__track {
  display: flex;
  align-items: stretch;
  width: max-content;
  min-width: 100%;
  height: 100%;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.bptb__group {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  width: max-content;
  min-width: max-content;
  height: 100%;
}

.bptb__item,
.bptb__dot {
  flex: 0 0 auto;
}

.bptb__item {
  display: inline-flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
}

.bptb__text,
.bptb__link {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0;
  color: var(--bptb-text) !important;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .015em;
  text-decoration: none !important;
  white-space: nowrap;
  transition: opacity .18s ease;
}

.bptb__link:hover,
.bptb__link:focus-visible {
  color: var(--bptb-text) !important;
  opacity: .72;
  text-decoration: none !important;
}

.bptb__link:focus-visible {
  outline: 2px solid var(--bptb-accent);
  outline-offset: -4px;
  border-radius: 4px;
}

.bptb__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-width: 8px;
  margin-left: var(--bptb-gap);
  margin-right: var(--bptb-gap);
  color: var(--bptb-accent);
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
}

.bptb__group--clone {
  pointer-events: none;
}

@media (max-width: 767px) {
  .bptb-shell,
  .bptb {
    --bptb-mobile-height: max(34px, calc(var(--bptb-height) - 4px));
    height: var(--bptb-mobile-height);
    min-height: var(--bptb-mobile-height);
  }

  .bptb-shell--sticky {
    height: var(--bptb-mobile-height);
  }

  .bptb {
    --bptb-gap: min(var(--bptb-gap), 22px);
  }

  .bptb__text,
  .bptb__link {
    font-size: 11px;
  }

  .bptb__dot {
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .bptb {
    --bptb-gap: min(var(--bptb-gap), 18px);
  }

  .bptb__text,
  .bptb__link {
    font-size: 10.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bptb__viewport {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .bptb__viewport::-webkit-scrollbar {
    display: none;
  }

  .bptb__track {
    transform: none !important;
    will-change: auto;
  }

  .bptb__group--clone {
    display: none;
  }
}
