/* ==================================================================
   FLORIL HEADER PRE SHOPTET CLASSIC
   Farby, rozmery a breakpointy upravujte v tomto subore.
   ================================================================== */

:root {
  --fh-pink: #ec008c;
  --fh-pink-dark: #b8006e;
  --fh-pink-soft: #fdeaf3;
  --fh-ink: #1a1a1a;
  --fh-muted: #6b6069;
  --fh-border: #efe6ec;
  --fh-bg: rgba(255, 255, 255, 0.96);
  --fh-height: 108px;
  --fh-radius: 18px;
  --fh-container: 1440px;
}

/* Povodny horny Shoptet pas skryjeme, funkcie ostavaju dostupne v headeri. */
body .top-navigation-bar {
  display: none !important;
}

body .overall-wrapper::before {
  content: "Upiekli sme pre vás nový e-shop. Prajeme sladké nakupovanie!";
  box-sizing: border-box;
  width: 100%;
  padding: 9px 16px;
  background: var(--fl-teal-hover, #4d7274);
  color: #fff;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 767px) {
  body .overall-wrapper::before {
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* Admin lista. Shoptet ju posiela prihlasenemu administratorovi priamo v HTML,
   preto ju nikdy neskryvame, len doladime vzhlad. */
.admin-bar {
  background: #1f1a1d;
  color: #fff;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-bar a {
  color: #fff;
  text-decoration: none;
}

.admin-bar #bar-menu {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  list-style: none;
}

.admin-bar #bar-menu > li {
  position: relative;
}

.admin-bar #bar-menu > li > a,
.admin-bar #bar-menu > li > span {
  height: 38px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 150ms ease,
    color 150ms ease;
}

.admin-bar #bar-menu > li > a:hover,
.admin-bar #bar-menu > li > span:hover,
.admin-bar #bar-menu > li:hover > a,
.admin-bar #bar-menu > li:hover > span,
.admin-bar #bar-menu > li.hover > span {
  background: rgba(255, 255, 255, 0.09);
  color: var(--fh-pink);
}

.admin-bar #bar-menu > li:first-child > a {
  font-weight: 700;
  color: var(--fh-pink);
}

.admin-bar #bar-menu > li > span::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: 2px;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  opacity: 0.6;
}

.admin-bar #bar-menu > li > ul {
  position: absolute;
  z-index: 2000;
  top: 100%;
  left: 0;
  min-width: 200px;
  margin: 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #2a2327;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  list-style: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 150ms ease,
    transform 150ms ease,
    visibility 150ms ease;
}

.admin-bar #bar-menu > li:hover > ul,
.admin-bar #bar-menu > li.hover > ul {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.admin-bar #bar-menu > li > ul li {
  list-style: none;
}

.admin-bar #bar-menu > li > ul a {
  padding: 8px 12px;
  display: block;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
  transition: background-color 150ms ease;
}

.admin-bar #bar-menu > li > ul a:hover {
  background: var(--fh-pink);
  color: #fff;
}

@media (max-width: 767px) {
  .admin-bar #bar-menu > li > a,
  .admin-bar #bar-menu > li > span {
    height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }
}

body #header {
  position: sticky;
  z-index: 1001;
  top: 0;
  width: 100%;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--fh-border);
  background: var(--fh-bg);
  box-shadow: 0 2px 14px rgba(26, 26, 26, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Riadok hlavicky je navigation-wrapper. Header-top sa rozpusti cez
   display:contents, takze logo, navigacia aj akcie su bunky jednej mriezky a
   header.js nemusi nic presuvat v DOM. */
body #header > .navigation-wrapper {
  position: relative;
  box-sizing: border-box;
  width: min(100%, var(--fh-container));
  max-width: var(--fh-container);
  min-height: var(--fh-height);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

body #header .header-top {
  display: contents;
}

body #header .site-name-wrapper {
  grid-column: 1;
  grid-row: 1;
}

body #header #navigation {
  grid-column: 2;
  grid-row: 1;
}

body #header .floril-header-actions {
  grid-column: 3;
  grid-row: 1;
}

body #header .site-name-wrapper,
body #header .site-name {
  width: auto;
  margin: 0;
  padding: 0;
}

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

body #header .site-name img {
  display: block;
  width: auto;
  max-width: 300px;
  height: 108px;
  max-height: 108px;
  padding: 5px 0;
  object-fit: contain;
}

/* Desktop navigacia. Uzsie obrazovky maju zasuvku, ktoru ovlada header.js:
   sedem poloziek menu, sest ikon a zvacsene logo sa do jedneho riadku pod
   1280 px nezmestia a menu by sa vylialo pod logo a tlacidlo B2B. */
@media (min-width: 1280px) {
  body #navigation {
    position: static;
    display: block;
    width: auto;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  body #navigation .navigation-in {
    position: static;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    background: transparent;
  }
}

body #navigation .menu-level-1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.2vw, 28px);
  width: 100%;
  margin: 0;
  padding: 0;
}

body #navigation .menu-level-1 > li {
  position: relative;
  display: block;
  flex: 0 0 auto;
  border: 0;
}

body #navigation .menu-level-1 > li > a {
  min-height: var(--fh-height);
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--fh-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease;
}

/* Shoptet vklada nazov polozky do <b> a pridava mu vlastny padding. */
body #navigation .menu-level-1 > li > a > b {
  display: inline;
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
}

body #navigation .menu-level-1 > li > a:hover,
body #navigation .menu-level-1 > li > a:focus-visible,
body #navigation .menu-level-1 > li.active > a {
  color: var(--fh-pink);
  padding: 0;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.floril-nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform 180ms ease;
}

body #navigation li:hover > a .floril-nav-chevron,
body #navigation li:focus-within > a .floril-nav-chevron,
body #navigation li.floril-submenu-open > a .floril-nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown */
body #navigation .menu-level-2 {
  position: absolute;
  z-index: 20;
  top: calc(100% - 8px);
  left: 50%;
  width: 288px;
  margin: 0;
  padding: 8px;
  display: block;
  visibility: hidden;
  opacity: 0;
  transform: translateX(-50%);
  border: 1px solid var(--fh-border);
  border-radius: var(--fh-radius);
  background: #fff;
  box-shadow: 0 18px 45px rgba(26, 26, 26, 0.14);
  transition:
    opacity 140ms ease,
    visibility 140ms ease;
}

body #navigation li:hover > .menu-level-2,
body #navigation li:focus-within > .menu-level-2,
body #navigation li.floril-submenu-open > .menu-level-2 {
  visibility: visible;
  opacity: 1;
}

body #navigation .menu-level-2 li {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
}

body #navigation .menu-level-2 a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--fh-ink);
  text-decoration: none;
  transition: background-color 150ms ease;
}

body #navigation .menu-level-2 a:hover,
body #navigation .menu-level-2 a:focus-visible {
  background: var(--fh-pink-soft);
}

.floril-submenu__label {
  display: block;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.floril-submenu__hint {
  display: block;
  margin-top: 2px;
  color: var(--fh-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}

.menu-level-2 > li:first-child > a .floril-submenu__label {
  color: var(--fh-pink-dark);
}

/* Tretia uroven (menu-tree.json). Na desktope bocny panel vedla rozbalenia,
   aby rozbalenie ostalo kompaktne; v zasuvke dalsi akordeon (max-width 1279px). */
body #navigation .menu-level-3 {
  margin: 0;
  list-style: none;
}

body #navigation .menu-level-3 a[aria-current="page"] {
  color: var(--fh-pink-dark);
}

body #navigation .floril-subgroup-toggle {
  display: none;
}

@media (min-width: 1280px) {
  body #navigation .floril-has-subgroup {
    position: relative;
  }

  body #navigation .floril-has-subgroup > a {
    position: relative;
    padding-right: 34px;
  }

  /* Sipka doprava ukazuje, ze riadok ma podkategorie. */
  body #navigation .floril-has-subgroup > a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    background: currentColor;
    opacity: 0.5;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%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 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E")
      center / contain no-repeat;
  }

  body #navigation .floril-has-subgroup:hover > a,
  body #navigation .floril-has-subgroup:focus-within > a {
    background: var(--fh-pink-soft);
  }

  body #navigation .menu-level-3 {
    position: absolute;
    z-index: 21;
    top: -9px;
    left: calc(100% + 12px);
    width: 250px;
    padding: 8px;
    visibility: hidden;
    opacity: 0;
    border: 1px solid var(--fh-border);
    border-radius: var(--fh-radius);
    background: #fff;
    box-shadow: 0 18px 45px rgba(26, 26, 26, 0.14);
    transition:
      opacity 140ms ease,
      visibility 140ms ease;
  }

  /* Most cez medzeru k panelu, aby mys cestou nestratila hover. */
  body #navigation .menu-level-3::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -14px;
    width: 14px;
  }

  /* header.js otoci panel dolava, ked by vpravo presiahol okno. */
  body #navigation .floril-subgroup--left > .menu-level-3 {
    right: calc(100% + 12px);
    left: auto;
  }

  body #navigation .floril-subgroup--left > .menu-level-3::before {
    right: -14px;
    left: auto;
  }

  body #navigation .floril-has-subgroup:hover > .menu-level-3,
  body #navigation .floril-has-subgroup:focus-within > .menu-level-3 {
    visibility: visible;
    opacity: 1;
  }
}

/* Prava cast */
.floril-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  white-space: nowrap;
}

.floril-header-action,
.floril-header-b2b {
  border: 0;
  font: inherit;
  text-decoration: none !important;
  cursor: pointer;
}

.floril-header-action {
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: transparent;
  color: var(--fh-ink) !important;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.floril-header-action:hover,
.floril-header-action:focus-visible {
  color: var(--fh-pink) !important;
  background: var(--fh-pink-soft);
}

.floril-header-action svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Ikona kosika je Shoptetov vlastny odkaz .btn.cart-count, takze musi prebit
   zakladne styly tlacidiel z main.css. */
body.blank-mode-css a.floril-cart-action.btn {
  width: 42px;
  min-height: 0;
  height: 42px;
  padding: 0;
  gap: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 400;
}

body.blank-mode-css a.floril-cart-action.btn:hover,
body.blank-mode-css a.floril-cart-action.btn:focus-visible {
  border-color: transparent;
  background: var(--fh-pink-soft);
}

/* Cena a textovy popis patria do rozbalenia, v hlavicke je len ikona s poctom. */
.floril-cart-action .cart-price {
  display: none;
}

.floril-cart-icon {
  display: inline-flex;
}

.floril-header-b2b {
  min-height: 40px;
  margin-right: 4px;
  padding: 9px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--fh-pink);
  border-radius: 999px;
  background: #fff;
  color: var(--fh-pink-dark) !important;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 160ms ease;
}

.floril-header-b2b svg,
.floril-b2b-short {
  display: none;
}

.floril-header-b2b:hover,
.floril-header-b2b:focus-visible {
  background: var(--fh-pink-soft);
}

.floril-header-cart-count,
.floril-cart-action i {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--fh-pink);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.floril-cart-action i {
  font-style: normal;
}

/* header.js prida triedu, ked Shoptet zmeni pocet v kosiku. */
.floril-header-cart-count.is-bumped,
.floril-cart-action i.is-bumped {
  animation: florilCartBump 650ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes florilCartBump {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.55);
  }
  100% {
    transform: scale(1);
  }
}

body #header .navigation-buttons,
body #header .menu-helper,
body #navigation .navigation-close,
body #navigation .navigationActions {
  display: none !important;
}

/* Vysuvne vyhladavanie */
body #header .search {
  position: absolute;
  z-index: 30;
  top: calc(100% + 12px);
  right: 24px;
  width: min(560px, calc(100vw - 48px));
  margin: 0;
  padding: 10px;
  display: none;
  border: 1px solid var(--fh-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(26, 26, 26, 0.16);
}

body.floril-search-open #header .search {
  display: block;
  animation: florilSearchIn 160ms ease-out both;
}

body #header .search form,
body #header .search .search-form {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body #header .search fieldset {
  width: 100%;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
}

body #header .search .search-input {
  position: static;
  float: none;
  width: 100%;
  min-width: 0;
  height: 48px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid var(--fh-border);
  border-radius: 999px;
  outline: 0;
  background: #f8f6f7;
  color: var(--fh-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 48px;
  box-shadow: none;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

body #header .search .search-input::placeholder {
  color: #887d84;
  opacity: 1;
}

body #header .search .search-input:hover {
  border-color: #dbcbd4;
  background: #fff;
}

body #header .search .search-input:focus {
  border-color: var(--fh-pink);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(236, 0, 140, 0.12);
}

body #header .search button[type="submit"] {
  position: static;
  inset: auto;
  float: none;
  width: auto;
  min-width: 108px;
  height: 48px;
  margin: 0;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--fh-pink);
  color: #fff !important;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 48px;
  text-align: center;
  text-transform: none;
  box-shadow: 0 8px 20px rgba(236, 0, 140, 0.25);
  cursor: pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

body #header .search button[type="submit"]:hover,
body #header .search button[type="submit"]:focus-visible {
  background: var(--fh-pink-dark);
  box-shadow: 0 10px 24px rgba(236, 0, 140, 0.32);
  transform: translateY(-1px);
}

body #header .search button[type="submit"]:focus-visible {
  outline: 3px solid rgba(236, 0, 140, 0.22);
  outline-offset: 2px;
}

/* Naseptavac Shoptet vklada medzi pole a tlacidlo, v mriezke by zabral ich stlpec. */
body #header .search .search-input {
  grid-column: 1;
  grid-row: 1;
}

body #header .search button[type="submit"] {
  grid-column: 2;
  grid-row: 1;
}

body #header .search .search-whisperer {
  grid-column: 1 / -1;
  grid-row: 2;
  max-height: min(70vh, 540px);
  margin: 4px 0 0;
  padding: 12px 2px 2px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid var(--fh-border);
  color: var(--fh-ink);
  font-size: 14px;
  text-align: left;
}

body #header .search .search-whisperer:not(.active),
body #header .search .search-whisperer:empty {
  display: none;
}

body #header .search .search-whisperer-documents {
  margin: 0 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body #header .search a.search-whisperer-document {
  padding: 7px 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--fh-border);
  border-radius: 999px;
  background: #fff;
  color: var(--fh-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    background-color 160ms ease;
}

body #header .search a.search-whisperer-category {
  border-color: rgba(236, 0, 140, 0.35);
  background: var(--fh-pink-soft);
}

body #header .search a.search-whisperer-document:hover,
body #header .search a.search-whisperer-document:focus-visible {
  border-color: var(--fh-pink);
  background: var(--fh-pink-soft);
}

body #header .search .search-whisperer-document em {
  color: var(--fh-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body #header .search .search-whisperer-document em:empty {
  display: none;
}

body #header .search .search-whisperer-products {
  margin: 0;
  padding: 0;
  list-style: none;
}

body #header .search .search-whisperer-products li {
  margin: 0;
  padding: 0;
  list-style: none;
}

body #header .search .search-whisperer-products li + li {
  border-top: 1px solid var(--fh-border);
}

body #header .search .search-whisperer-products a {
  padding: 8px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  color: var(--fh-ink);
  text-decoration: none;
  transition: background-color 160ms ease;
}

body #header .search .search-whisperer-products a:hover,
body #header .search .search-whisperer-products a:focus-visible {
  background: #f8f6f7;
}

body #header .search .search-whisperer-image {
  width: 56px;
  height: 56px;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--fh-pink-soft);
}

body #header .search .search-whisperer-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body #header .search .search-whisperer-products .p-info {
  min-width: 0;
  display: grid;
  gap: 3px;
}

body #header .search .search-whisperer-products .p-name {
  overflow: hidden;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body #header .search .search-whisperer-products .p-availability {
  color: var(--fh-muted);
  font-size: 12px;
  line-height: 1.3;
}

body #header .search .search-whisperer-products .price {
  color: var(--fh-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

body #header .search .search-whisperer-documents.text-center {
  margin: 10px 0 0;
  justify-content: center;
}

body #header .search a.whisperer-trigger {
  width: 100%;
  justify-content: center;
  padding: 11px 16px;
  border-color: transparent;
  background: var(--fh-pink-soft);
  color: var(--fh-pink-dark);
  font-size: 14px;
}

body #header .search a.whisperer-trigger:hover,
body #header .search a.whisperer-trigger:focus-visible {
  border-color: transparent;
  background: #fad5e6;
}

@keyframes florilSearchIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobilne prvky musia byt na desktope explicitne skryte. Shoptet ma vlastne
   vseobecne pravidla pre prvky v #navigation, preto pouzivame vyssiu specificitu. */
body #header .floril-menu-toggle,
body #navigation .floril-mobile-menu-head,
body .floril-menu-overlay {
  display: none !important;
}

@media (max-width: 1439px) {
  body #header > .navigation-wrapper {
    gap: 14px;
  }

  body #navigation .menu-level-1 {
    gap: 12px;
  }

  body #navigation .menu-level-1 > li > a {
    font-size: 14px;
  }

  .floril-header-b2b {
    padding-inline: 11px;
    font-size: 13px;
  }
}

/* Zasuvka s menu: tablety a mensie notebooky */
@media (max-width: 1279px) {
  /* Navigacia je tu zasuvka mimo toku, akcie preto sadnu do druheho stlpca. */
  body #header > .navigation-wrapper {
    grid-template-columns: auto minmax(0, 1fr);
  }

  body #header .floril-header-actions {
    grid-column: 2;
  }

  .floril-header-actions {
    justify-self: end;
  }

  body #header .floril-menu-toggle {
    display: inline-flex !important;
  }

  /* Tretia uroven je v zasuvke dalsi akordeon; odkaz kategorie ostava klikatelny. */
  body #navigation .floril-has-subgroup {
    position: relative;
  }

  body #navigation .floril-has-subgroup > a {
    padding-right: 52px;
  }

  body #navigation .floril-subgroup-toggle {
    position: absolute;
    top: 3px;
    right: 4px;
    width: 40px;
    height: 40px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--fh-ink);
    cursor: pointer;
  }

  body #navigation .floril-subgroup-toggle:hover,
  body #navigation .floril-subgroup-toggle:focus-visible {
    background: var(--fh-pink-soft);
    color: var(--fh-pink);
  }

  body #navigation .floril-subgroup-open > .floril-subgroup-toggle .floril-nav-chevron {
    transform: rotate(180deg);
  }

  body #navigation .menu-level-3 {
    display: block;
    max-height: 0;
    margin: 0;
    padding: 0 0 0 14px;
    overflow: hidden;
    transition: max-height 220ms ease;
  }

  body #navigation .floril-subgroup-open > .menu-level-3 {
    max-height: 700px;
    padding-bottom: 6px;
  }

  body #navigation .menu-level-3 .floril-submenu__label {
    font-size: 14px;
  }

  /* backdrop-filter robi z hlavicky obsahujuci blok pre position: fixed. Odsunute
     mobilne menu by sa potom ratalo do sirky stranky a vznikol by vodorovny posun.
     Pri kryci pozadia 0.96 je rozostrenie aj tak neviditelne. */
  body #header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body #navigation {
    position: fixed;
    z-index: 1003;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(88vw, 390px);
    max-width: 390px;
    height: 100dvh;
    padding: 80px 20px 28px;
    overflow-y: auto;
    overflow-x: hidden;
    visibility: hidden;
    background: #fff;
    box-shadow: -18px 0 45px rgba(26, 26, 26, 0.18);
    opacity: 0;
    transform: translateX(105%);
    transition:
      transform 220ms ease,
      opacity 220ms ease,
      visibility 220ms ease;
  }

  body.floril-menu-open #navigation {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }

  body #navigation .floril-mobile-menu-head {
    position: absolute;
    top: 18px;
    right: 20px;
    left: 20px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }

  .floril-mobile-menu-logo {
    width: auto;
    max-width: 128px;
    height: 38px;
    object-fit: contain;
  }

  body #navigation .menu-level-1 {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
  }

  body #navigation .menu-level-1 > li {
    width: 100%;
  }

  body #navigation .menu-level-1 > li > a {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: 8px 12px !important;
    border-radius: 12px;
    font-size: 17px;
  }

  body #navigation .menu-level-1 > li > a:hover {
    background: var(--fh-pink-soft);
  }

  /* Na dotykovych zariadeniach nesmie orientaciu sipky riadit sticky hover/focus. */
  body #navigation .floril-has-submenu > a .floril-nav-chevron,
  body #navigation .floril-has-submenu:hover > a .floril-nav-chevron,
  body #navigation .floril-has-submenu:focus-within > a .floril-nav-chevron {
    transform: rotate(0deg);
  }

  body #navigation .floril-has-submenu.floril-submenu-open > a .floril-nav-chevron,
  body #navigation .floril-has-submenu.floril-submenu-open:hover > a .floril-nav-chevron,
  body #navigation .floril-has-submenu.floril-submenu-open:focus-within > a .floril-nav-chevron {
    transform: rotate(180deg);
  }

  body #navigation .menu-level-2 {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0 8px;
    display: block !important;
    overflow: hidden;
    visibility: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    transition:
      max-height 220ms ease,
      padding 220ms ease;
  }

  body #navigation li:hover > .menu-level-2,
  body #navigation li:focus-within > .menu-level-2 {
    max-height: 0;
    padding-block: 0;
  }

  body #navigation li.floril-submenu-open > .menu-level-2 {
    max-height: 1400px;
    padding-block: 4px 10px;
    visibility: visible;
    opacity: 1;
  }

  body.floril-menu-open {
    overflow: hidden;
  }
}

/* Mobil a mensi tablet */
@media (max-width: 991px) {
  :root {
    --fh-height: 64px;
  }

  body #header > .navigation-wrapper {
    padding: 0 16px;
  }

  /* Dvojnasobok povodneho loga je najviac, co sa zmesti do 64 px vysokej listy. */
  body #header .site-name img {
    height: 64px;
    max-height: 64px;
    max-width: 150px;
  }

  .floril-header-actions {
    display: grid;
    grid-template-columns: repeat(6, 42px);
    gap: 4px;
    padding-block: 8px;
  }

  .floril-header-b2b {
    width: 42px;
    height: 42px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    flex-direction: column;
    gap: 1px;
  }

  .floril-b2b-label {
    display: none;
  }

  .floril-header-b2b svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .floril-b2b-short {
    display: block;
    font-size: 9px;
    line-height: 10px;
  }

  body #header .search {
    top: calc(100% + 8px);
    right: 16px;
    width: calc(100vw - 32px);
  }
}

@media (max-width: 479px) {
  body #header .floril-header-b2b,
  body #header .floril-header-action,
  body.blank-mode-css a.floril-cart-action.btn {
    width: 100%;
    max-width: 42px;
    height: 38px;
  }

  body #header > .navigation-wrapper {
    padding-inline: 12px;
    gap: 8px;
  }

  body #header .site-name img {
    max-width: 54px;
  }

  .floril-header-actions {
    width: 100%;
    max-width: 272px;
    min-width: 0;
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }


  body #header .search {
    padding: 8px;
    border-radius: 22px;
  }

  body #header .search fieldset {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body #header .search .search-input,
  body #header .search button[type="submit"] {
    width: 100%;
  }

  body #header .search button[type="submit"] {
    grid-column: 1;
    grid-row: 2;
  }

  body #header .search .search-whisperer {
    grid-row: 3;
  }

  body #header .search .search-whisperer-products a {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  body #header .search .search-whisperer-image {
    width: 48px;
    height: 48px;
    grid-row: span 2;
  }

  body #header .search .search-whisperer-products .price {
    grid-column: 2;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body #navigation,
  body #navigation .menu-level-2,
  body #navigation .menu-level-3,
  .floril-header-action,
  .floril-nav-chevron {
    transition: none;
  }

  body.floril-search-open #header .search,
  .floril-header-cart-count.is-bumped,
  .floril-cart-action i.is-bumped {
    animation: none;
  }
}
