/* STEVULA navigation 4.3.0 | CSS only. Use with stevula-menu.js.
   Remove the previous sv-mega-menu CSS and JS before installing.
   White navigation, black brand header. No effect without successful JS init. */

:root {
  --sv4-css: 4;
}

#sv4-layer[hidden],
#sv4-layer [hidden] {
  display: none !important;
}

html.sv4-ready #navigation li[data-sv4-key] > .menu-level-2,
html.sv4-ready #navigation li[data-sv4-key] > ul {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html body.sv4-open #header {
  z-index: 10021 !important;
}

html.sv4-ready #navigation li.sv4-active > a {
  text-decoration: underline;
  text-underline-offset: 5px;
}

html body.sv4-mobile-open {
  overflow: hidden !important;
}

html body #sv4-layer {
  position: fixed;
  inset: var(--sv4-top, 52px) 0 0;
  z-index: 10030;
  margin: 0;
  padding: 0;
  color: #111;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
}

html body #sv4-layer * {
  box-sizing: border-box;
  font-family: inherit !important;
}

html body #sv4-layer .sv4-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

html body #sv4-layer .sv4-panel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: #fff;
  color: #111;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  isolation: isolate;
}

html body #sv4-layer ul {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}

html body #sv4-layer li {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

html body #sv4-layer a,
html body #sv4-layer button {
  color: #111 !important;
  text-decoration: none;
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px;
  line-height: 1.4;
}

html body #sv4-layer button {
  appearance: none;
  box-shadow: none;
  border-radius: 0;
  cursor: pointer;
  border: 0;
  margin: 0;
  background: transparent;
  min-height: 44px;
}

html body #sv4-layer a:focus-visible,
html body #sv4-layer button:focus-visible {
  outline: 2px solid #111;
  outline-offset: -2px;
}

html body #sv4-layer .sv4-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 76px;
  align-items: center;
  min-height: 56px;
  padding: 0 16px;
  background: #fff;
  border-bottom: 1px solid #e2e2e2;
}

html body #sv4-layer .sv4-title {
  margin: 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

html body #sv4-layer .sv4-back {
  padding: 8px 4px 8px 0;
  text-align: left;
  font-size: 12px;
}

html body #sv4-layer .sv4-close {
  padding: 8px 0 8px 4px;
  text-align: right;
  font-size: 12px;
}

html body #sv4-layer .sv4-content {
  max-width: 680px;
  margin: auto;
  padding: 14px 18px calc(34px + env(safe-area-inset-bottom, 0px));
}

html body #sv4-layer .sv4-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 12px 14px;
  margin: 0 0 8px;
  border-radius: 2px;
  background: #111;
  color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
}

html body #sv4-layer .sv4-all::after {
  content: "\2192";
  margin-left: 12px;
  font-size: 21px;
}

html body #sv4-layer .sv4-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 50px;
  padding: 12px 3px;
  text-align: left;
  font-weight: 600;
  border: 0;
  border-bottom: 1px solid #dedede;
  background: #fff;
}

html body #sv4-layer button.sv4-row::after {
  content: "\203A";
  margin-left: 12px;
  font-size: 25px;
  line-height: 1;
  font-weight: 400;
}

html body #sv4-layer .sv4-detail .sv4-row {
  font-weight: 400;
}

html body #sv4-layer .sv4-extra {
  margin-top: 10px;
}

html body #sv4-layer .sv4-desktop {
  display: none;
}

/* JS selects the mode, including wide touch screens. */

html body #sv4-layer[data-mode="desktop"] .sv4-mobile {
  display: none;
}

html body #sv4-layer[data-mode="desktop"] .sv4-desktop {
  display: block;
}

html body #sv4-layer[data-mode="desktop"] .sv4-panel {
  height: auto;
  max-height: 100%;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

html body #sv4-layer[data-mode="desktop"] .sv4-bar {
  position: static;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 1480px;
  margin: auto;
  min-height: 52px;
  padding: 0 28px;
}

html body #sv4-layer[data-mode="desktop"] .sv4-title {
  text-align: left;
}

html body #sv4-layer[data-mode="desktop"] .sv4-back {
  display: none;
}

html body #sv4-layer[data-mode="desktop"] .sv4-content {
  max-width: 1480px;
  padding: 16px 28px 28px;
}

html body #sv4-layer .sv4-dtop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

html body #sv4-layer[data-mode="desktop"] .sv4-dall {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid #111;
  border-radius: 2px;
  background: #fff;
  color: #111 !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

html body #sv4-layer[data-mode="desktop"] .sv4-dall:hover,
html body #sv4-layer[data-mode="desktop"] .sv4-dall:focus-visible {
  background: #111;
  color: #fff !important;
  text-decoration: none;
}

html body #sv4-layer .sv4-quick {
  display: flex;
  gap: 20px;
  font-size: 13px;
}

html body #sv4-layer .sv4-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 28px;
}

html body #sv4-layer .sv4-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-right: 24px;
  border-right: 1px solid #e2e2e2;
}

html body #sv4-layer .sv4-columns.sv4-one {
  grid-template-columns: 1fr;
}

html body #sv4-layer .sv4-heading {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

html body #sv4-layer .sv4-dlink {
  display: block;
  padding: 8px 0;
  font-weight: 400;
}

html body #sv4-layer .sv4-priority {
  font-weight: 700;
}

html body #sv4-layer .sv4-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}

html body #sv4-layer .sv4-card {
  display: block;
  min-width: 0;
}

html body #sv4-layer .sv4-media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f4f3f1;
}

html body #sv4-layer .sv4-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

html body #sv4-layer .sv4-media.sv4-thumb {
  aspect-ratio: 4 / 3;
}

html body #sv4-layer .sv4-media.sv4-thumb img {
  object-fit: contain;
}

html body #sv4-layer .sv4-media.sv4-image-failed::after {
  content: "Pozrieť kategóriu \2192";
  padding: 20px;
  text-align: center;
}

html body #sv4-layer .sv4-card-title {
  display: block;
  padding-top: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

html body #sv4-layer .sv4-note {
  display: block;
  padding-top: 4px;
  color: #666;
  font-size: 12px;
}

html body #sv4-layer .sv4-mobile-promo {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  html body #sv4-layer a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  html body #sv4-layer .sv4-row:hover {
    background: #f7f7f7;
  }
}

/* Only the navigation drawer is recolored; brand header and cart keep their theme. */

@media (max-width: 767px) {
  html body #sv4-layer .sv4-mobile-promo {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 2 / 1;
    margin: 24px 0 12px;
    background: #111;
    color: #fff;
    text-decoration: none;
  }

  html body #sv4-layer .sv4-mobile-promo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 28%;
  }

  html body #sv4-layer .sv4-mobile-promo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.78) 0%,
      rgba(0, 0, 0, 0.44) 54%,
      rgba(0, 0, 0, 0.08) 100%
    );
  }

  html body #sv4-layer .sv4-mobile-promo-text {
    position: absolute;
    z-index: 1;
    left: 18px;
    right: 18px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    color: #fff;
  }

  html body #sv4-layer .sv4-mobile-promo-title {
    color: #fff;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 700;
  }

  html body #sv4-layer .sv4-mobile-promo-cta {
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
  }

  html body #sv4-layer .sv4-mobile-promo:focus-visible {
    outline: 2px solid #111;
    outline-offset: 3px;
  }

  html.sv4-ready body #navigation,
  html.sv4-ready body #navigation .navigation-in,
  html.sv4-ready body #navigation .menu-level-1,
  html.sv4-ready body #navigation .menu-level-1 > li,
  html.sv4-ready body #navigation .menu-spodek {
    background: #fff !important;
    color: #111 !important;
  }

  html.sv4-ready body #navigation .menu-level-1 > li > a {
    background: #fff !important;
    color: #111 !important;
    border-bottom: 1px solid #dedede !important;
    min-height: 50px;
    padding: 14px 18px !important;
    font: 600 14px/1.5 "Montserrat", Arial, sans-serif !important;
  }

  html.sv4-ready body #navigation .menu-level-1 > li > a b {
    font-weight: inherit;
  }

  html.sv4-ready body #navigation .menu-spodek a {
    color: #111 !important;
    font-family: "Montserrat", Arial, sans-serif !important;
  }

  html.sv4-ready body #navigation .submenu-arrow,
  html.sv4-ready body #navigation .submenu-arrow::before,
  html.sv4-ready body #navigation .submenu-arrow::after {
    color: #111 !important;
    border-color: #111 !important;
  }
}
/* Oddelenie horného riadka od obsahu desktopového menu */
html body #sv4-layer[data-mode="desktop"] .sv4-dtop {
  border-bottom: 1px solid #e2e2e2;
  padding-bottom: 16px;
  margin-bottom: 18px;
}