/* =========================================================
   DESKTOP HEADER A HLAVNÁ NAVIGÁCIA
   Iba šírka od 992 px – mobil zostáva nedotknutý
   ========================================================= */

@media (min-width: 992px) {

  :root {
   --bb-header-bg: #f7f7f7;
--bb-header-field: #f0f0f0;
    --bb-header-text: #282624;
    --bb-header-muted: #6e6963;
    --bb-header-border: #e7e7e7;
    --bb-header-red: #c63c36;
  }

  /* ---------- Základ hlavičky ---------- */

  #header {
    height: auto !important;
    overflow: visible !important;
    border: 0 !important;
    background: var(--bb-header-bg) !important;
    box-shadow: none !important;
  }

 #header .navigation-wrapper {
  width: calc(100% - 32px) !important;
  max-width: none !important;
  margin: 0 16px !important;
  background: transparent !important;
}

  #header .header-top {
    display: flex !important;
    min-height: 82px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 32px !important;
    padding: 12px 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

/* ---------- Logo ---------- */

#header .site-name-wrapper,
#header .site-name {
    width: auto !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

#header .site-name a {
    display: inline-flex !important;
    align-items: center !important;
}

#header .site-name img {
    display: block !important;
    width: 220px !important;
    max-width: 220px !important;
    height: auto !important;
    max-height: none !important;
}

  /* ---------- Pravá časť: search, účet, košík ---------- */

  #header .bb-header-actions {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    margin-left: auto !important;
  }

  #header .bb-header-actions .search {
    width: 280px !important;
    max-width: 280px !important;
    margin: 0 !important;
  }

  #header .bb-header-actions .search-form,
  #header .bb-header-actions .search-form fieldset {
    width: 100% !important;
  }

  #header .bb-header-actions .search-form fieldset {
    position: relative !important;
    display: flex !important;
    height: 42px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--bb-header-field) !important;
    box-shadow: none !important;
  }

  #header .bb-header-actions .search-form fieldset:focus-within {
    background: #fff !important;
    box-shadow: 0 0 0 1px var(--bb-header-text) !important;
  }

  #header .bb-header-actions .search-input {
    width: 100% !important;
    height: 42px !important;
    padding: 0 48px 0 17px !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: var(--bb-header-text) !important;
    font-size: 13px !important;
  }

  #header .bb-header-actions .search-input::placeholder {
    color: #8c8882 !important;
  }

  #header .bb-header-actions .search-form button {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: block !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background-color: transparent !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23282624' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.8-3.8'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 21px 21px !important;
    color: transparent !important;
    font-size: 0 !important;
  }

  #header .bb-header-actions .search-form button::before,
  #header .bb-header-actions .search-form button::after {
    content: none !important;
  }

  #header .bb-header-actions .search-form button:hover {
    background-color: rgba(40, 38, 36, 0.06) !important;
  }

  /* ---------- Ikona účtu ---------- */

  #header .bb-header-account {
    position: relative !important;
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    border-radius: 50% !important;
    text-decoration: none !important;
  }

  #header .bb-header-account:hover {
    background: var(--bb-header-field) !important;
  }

  #header .bb-header-account::before {
    content: "" !important;
    position: absolute !important;
    top: 9px !important;
    left: 50% !important;
    width: 8px !important;
    height: 8px !important;
    border: 2px solid var(--bb-header-text) !important;
    border-radius: 50% !important;
    transform: translateX(-50%) !important;
  }

  #header .bb-header-account::after {
    content: "" !important;
    position: absolute !important;
    bottom: 8px !important;
    left: 50% !important;
    width: 17px !important;
    height: 10px !important;
    border: 2px solid var(--bb-header-text) !important;
    border-bottom: 0 !important;
    border-radius: 12px 12px 0 0 !important;
    transform: translateX(-50%) !important;
  }

  /* ---------- Košík: cena skrytá, počet zostáva ---------- */

  #header .bb-header-actions .navigation-buttons {
    position: static !important;
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    transform: none !important;
  }

  #header .bb-header-actions .cart-count {
    position: relative !important;
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border-radius: 50% !important;
    transform: none !important;
  }

  #header .bb-header-actions .cart-count:hover {
    background: var(--bb-header-field) !important;
  }

  #header .bb-header-actions .cart-price,
  #header .bb-header-actions [data-testid="headerCartPrice"],
  #header .bb-header-actions .cart-count > .sr-only {
    display: none !important;
  }

  #header .bb-header-actions .cart-count::before {
    margin: 0 !important;
    color: var(--bb-header-text) !important;
    font-size: 25px !important;
  }

  #header .bb-header-actions [data-testid="headerCartCount"] {
    display: flex !important;
    position: absolute !important;
    top: 2px !important;
    right: 0 !important;
    min-width: 17px !important;
    height: 17px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 4px !important;
    border-radius: 999px !important;
    background: var(--bb-header-red) !important;
    color: #fff !important;
    font-size: 10px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 17px !important;
  }

  /* ---------- Tmavý horný informačný pás ---------- */

  .top-navigation-bar {
    min-height: 34px !important;
    height: 34px !important;
    border: 0 !important;
    background: var(--bb-header-text) !important;
    color: #fff !important;
  }

  .top-navigation-bar .container {
    display: flex !important;
    width: calc(100% - 64px) !important;
    max-width: 1320px !important;
    height: 34px !important;
    min-height: 34px !important;
    align-items: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  .top-navigation-bar,
  .top-navigation-bar a,
  .top-navigation-bar span {
    color: #fff !important;
  }

  .top-navigation-bar a:hover {
    color: #fff !important;
    opacity: 0.75 !important;
  }

  .top-navigation-bar .top-navigation-tools,
  .top-navigation-bar .top-navigation-tools--language,
  .top-navigation-bar [data-testid="signin"],
  .top-navigation-bar a[href*="/login"] {
    display: none !important;
  }

  /* ---------- Svetlá hlavná navigácia ---------- */

  #navigation {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 55px !important;
    min-height: 55px !important;
    overflow: visible !important;
    border: 0 !important;
    background: var(--bb-header-bg) !important;
    box-shadow: none !important;
  }

  #navigation .navigation-in {
  display: block !important;
  width: calc(100% - 32px) !important;
  max-width: none !important;
  height: 55px !important;
  min-height: 55px !important;
  overflow: visible !important;
  margin: 0 16px !important;
  border: 0 !important;
  background: transparent !important;
}

  #navigation .menu-level-1 {
    position: static !important;
    display: flex !important;
    width: 100% !important;
    height: 55px !important;
    min-height: 55px !important;
    align-items: stretch !important;
    gap: 2px !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--bb-header-border) !important;
    background: transparent !important;
  }

  #navigation .menu-level-1 > li {
    display: flex !important;
    height: 55px !important;
    align-items: stretch !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #navigation .menu-level-1 > li > a {
    display: flex !important;
    height: 55px !important;
    min-height: 55px !important;
    align-items: center !important;
    padding: 0 18px !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--bb-header-text) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-transform: none !important;
    box-shadow: none !important;
    transition: color 0.2s ease, background-color 0.2s ease !important;
  }

  #navigation .menu-level-1 > li > a > b {
    background: transparent !important;
    color: inherit !important;
    font-weight: inherit !important;
  }

  #navigation .menu-level-1 > li > a:hover,
  #navigation .menu-level-1 > li:hover > a {
    background: var(--bb-header-field) !important;
    color: var(--bb-header-red) !important;
  }

  /* Výpredaj – vyberáme podľa URL, nie podľa poradia položky */

  #navigation .menu-level-1 > li:has(a[href*="/vypredaj-barefoot-obuv/"]) {
    margin-left: auto !important;
  }

  #navigation .menu-level-1 a[href*="/vypredaj-barefoot-obuv/"],
  #navigation .menu-level-1 a[href*="/vypredaj-barefoot-obuv/"] > b {
    color: var(--bb-header-red) !important;
    font-weight: 700 !important;
  }

  #navigation .navigationActions {
    display: none !important;
  }
}
/* =========================================================
   DESKTOP – HORNÝ SERVISNÝ PÁS
   Telefón vľavo, informácia o predajni vpravo.
   Pôvodný obsah Shoptetu je na desktope skrytý.
   Mobil zostáva nedotknutý.
   ========================================================= */

@media (min-width: 992px) {

  .top-navigation-bar {
    display: block !important;
    width: 100% !important;
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: #232323 !important;
  }

  .top-navigation-bar > .container {
    display: block !important;
    width: calc(100% - 32px) !important;
    max-width: none !important;
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 16px !important;
    padding: 0 !important;
    background: transparent !important;
  }

  /* Pôvodné Shoptet prvky */

  .top-navigation-contacts,
  .top-navigation-menu,
  .top-navigation-tools,
  .top-navigation-bar-menu-helper {
    display: none !important;
  }

  /* Náš nový obsah */

  .bb-topbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #f5f5f5 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    letter-spacing: .01em !important;
  }

  .bb-topbar__phone,
  .bb-topbar__store {
    color: #f5f5f5 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  .bb-topbar__phone:hover,
  .bb-topbar__store:hover {
    color: #fff !important;
    opacity: .78 !important;
  }
}
/* =========================================================
   ROZCESTNÍK KATEGÓRIÍ – DETI / ŽENY / MUŽI
   Samostatná obsahová stránka a neskôr titulná stránka.
   Obrázkové karty s textom priamo vo fotografii.
   ========================================================= */

.bb-guide-categories{
    width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    padding:80px 32px;
    background:#fff;
    box-sizing:border-box;
}

.bb-guide-categories__container{
    width:100%;
    max-width:none;
    margin:0;
}

.bb-guide-categories__grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
    width:100%;
}

.bb-guide-category-card{
    height:520px;
}

.bb-guide-category-card__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}

.bb-guide-category-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.02) 30%,
      rgba(0,0,0,.18) 62%,
      rgba(0,0,0,.72) 100%
    );
  transition: background-color .3s ease;
}

.bb-guide-category-card__content {
  position: absolute;
  right: 28px;
  bottom: 27px;
  left: 28px;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #fff;
}

.bb-guide-category-card__title {
  color: #fff;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.035em;
}

.bb-guide-category-card__link {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.bb-guide-category-card__link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform .25s ease;
}

@media (hover: hover) and (pointer: fine) {

  .bb-guide-category-card:hover .bb-guide-category-card__image {
    transform: scale(1.045);
  }

  .bb-guide-category-card:hover .bb-guide-category-card__link span {
    transform: translateX(5px);
  }
}

/* ---------- Tablet ---------- */

@media (max-width: 991px) {

  .bb-guide-categories {
    padding: 42px 0 56px;
  }

  .bb-guide-categories__container {
    width: calc(100% - 32px);
  }

  .bb-guide-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .bb-guide-category-card {
    height: 430px;
  }

  .bb-guide-category-card:last-child {
    grid-column: 1 / -1;
    height: 400px;
  }
}

/* ---------- Mobil ---------- */

@media (max-width: 640px) {

  .bb-guide-categories {
    padding: 34px 0 44px;
  }

  .bb-guide-categories__container {
    width: calc(100% - 24px);
  }

  .bb-guide-categories__header {
    margin-bottom: 26px;
  }

  .bb-guide-categories__kicker {
    font-size: 11px;
  }

  .bb-guide-categories__heading {
    font-size: 34px;
  }

  .bb-guide-categories__intro {
    font-size: 16px;
  }

  .bb-guide-categories__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bb-guide-category-card,
  .bb-guide-category-card:last-child {
    grid-column: auto;
    height: 390px;
    border-radius: 14px;
  }

  .bb-guide-category-card__content {
    right: 20px;
    bottom: 21px;
    left: 20px;
    flex-wrap: wrap;
    gap: 7px 10px;
  }

  .bb-guide-category-card__title {
    font-size: 38px;
  }

  .bb-guide-category-card__link {
    font-size: 13px;
  }
}