:root {
  --fileo-cookie-black: #0b0b0b;
  --fileo-cookie-white: #ffffff;
  --fileo-cookie-text: #171717;
  --fileo-cookie-muted: #646464;
  --fileo-cookie-line: #d8d8d8;
  --fileo-cookie-active: #4d8f65;
  --fileo-cookie-focus: #2667d8;
}

.fileo-cookie-modal-open {
  overflow: hidden;
}

.fileo-cookie-banner,
.fileo-cookie-modal {
  box-sizing: border-box;
  color: var(--fileo-cookie-text);
  font-family: Inter, Open-Sans, Roboto, sans-serif;
  letter-spacing: 0;
}

.fileo-cookie-banner *,
.fileo-cookie-modal * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.fileo-cookie-banner[hidden],
.fileo-cookie-modal[hidden] {
  display: none !important;
}

.fileo-cookie-banner {
  position: fixed;
  z-index: 2147483000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  border: 1px solid var(--fileo-cookie-black);
  background: var(--fileo-cookie-white);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.fileo-cookie-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 22px 24px;
}

.fileo-cookie-title {
  margin: 0 0 8px;
  color: var(--fileo-cookie-black);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.fileo-cookie-text {
  max-width: 780px;
  margin: 0;
  color: var(--fileo-cookie-muted);
  font-size: 13px;
  line-height: 23px;
}

.fileo-cookie-link,
.fileo-cookie-settings-link {
  color: var(--fileo-cookie-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fileo-cookie-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, auto));
  gap: 8px;
}

.fileo-cookie-button {
  min-height: 44px;
  border: 1px solid var(--fileo-cookie-black);
  border-radius: 0;
  padding: 11px 16px;
  background: var(--fileo-cookie-white);
  color: var(--fileo-cookie-black);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
}

.fileo-cookie-button:hover {
  background: #ededed;
}

.fileo-cookie-button-primary,
.fileo-cookie-action-primary {
  background: var(--fileo-cookie-black);
  color: var(--fileo-cookie-white);
}

.fileo-cookie-button-primary:hover,
.fileo-cookie-action-primary:hover {
  background: #303030;
}

.fileo-cookie-button:focus-visible,
.fileo-cookie-close:focus-visible,
.fileo-cookie-switch input:focus-visible + span,
.fileo-cookie-link:focus-visible,
.fileo-cookie-settings-link:focus-visible {
  outline: 3px solid var(--fileo-cookie-focus);
  outline-offset: 2px;
}

.fileo-cookie-modal {
  position: fixed;
  z-index: 2147483001;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  padding: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.54);
}

.fileo-cookie-dialog {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(600px, 100%);
  height: 100vh;
  height: 100dvh;
  max-height: none;
  border: 0;
  border-left: 1px solid var(--fileo-cookie-line);
  background: var(--fileo-cookie-white);
  box-shadow: -18px 0 48px rgba(0, 0, 0, 0.2);
  animation: fileo-cookie-drawer-in 220ms ease-out;
}

@keyframes fileo-cookie-drawer-in {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

.fileo-cookie-dialog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--fileo-cookie-line);
  padding: 22px 48px 24px 52px;
}

.fileo-cookie-brand {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--fileo-cookie-black);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.fileo-cookie-brand-image {
  display: block;
  width: auto;
  max-width: 92px;
  height: auto;
  max-height: 30px;
  object-fit: contain;
}

.fileo-cookie-dialog-title {
  margin: 0;
  color: var(--fileo-cookie-black);
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
}

.fileo-cookie-close {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--fileo-cookie-black);
  cursor: pointer;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}

.fileo-cookie-close:hover {
  background: #eeeeee;
}

.fileo-cookie-center {
  min-height: 0;
  overflow-y: auto;
  padding: 0 52px;
  background: var(--fileo-cookie-white);
  overscroll-behavior: contain;
}

.fileo-cookie-intro {
  padding: 36px 0 26px;
}

.fileo-cookie-intro p,
.fileo-cookie-setting p {
  margin: 0;
  color: var(--fileo-cookie-muted);
  font-size: 13px;
  line-height: 23px;
}

.fileo-cookie-intro .fileo-cookie-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
}

.fileo-cookie-setting {
  border-top: 1px solid var(--fileo-cookie-line);
  padding: 25px 0 26px;
}

.fileo-cookie-setting-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 10px;
}

.fileo-cookie-setting h3 {
  margin: 0;
  color: var(--fileo-cookie-black);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.fileo-cookie-setting-note {
  margin-top: 8px !important;
  color: #7a7a7a !important;
  font-size: 12px !important;
}

.fileo-cookie-status {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
  color: var(--fileo-cookie-black);
  font-size: 13px;
  font-weight: 500;
}

.fileo-cookie-status-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.fileo-cookie-required {
  color: var(--fileo-cookie-muted);
  font-size: 12px;
  white-space: nowrap;
}

.fileo-cookie-switch {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}

.fileo-cookie-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.fileo-cookie-switch-visual {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  border: 1px solid #777777;
  border-radius: 18px;
  background: #8a8a8a;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.fileo-cookie-switch-visual::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--fileo-cookie-white);
  content: "";
  transition: transform 160ms ease;
}

.fileo-cookie-switch input:checked + .fileo-cookie-switch-visual {
  border-color: var(--fileo-cookie-active);
  background: var(--fileo-cookie-active);
}

.fileo-cookie-switch input:checked + .fileo-cookie-switch-visual::after {
  transform: translateX(20px);
}

.fileo-cookie-dialog-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--fileo-cookie-line);
  padding: 20px 48px 22px 52px;
  background: var(--fileo-cookie-white);
}

.fileo-cookie-action-primary {
  min-height: 50px;
  border-color: var(--fileo-cookie-black);
  padding-right: 22px;
  padding-left: 22px;
  font-weight: 500;
}

.fileo-cookie-action-link {
  min-height: 44px;
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: var(--fileo-cookie-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fileo-cookie-action-link:hover {
  background: transparent;
  text-decoration-thickness: 2px;
}

.fileo-cookie-settings-link {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

@media (max-width: 920px) {
  .fileo-cookie-banner-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .fileo-cookie-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .fileo-cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .fileo-cookie-banner-inner {
    gap: 16px;
    padding: 18px;
  }

  .fileo-cookie-actions {
    grid-template-columns: 1fr;
  }

  .fileo-cookie-modal {
    padding: 0;
  }

  .fileo-cookie-dialog {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    border-left: 0;
  }

  .fileo-cookie-dialog-head {
    padding: 20px 22px 20px 24px;
  }

  .fileo-cookie-brand {
    margin-bottom: 10px;
    font-size: 24px;
  }

  .fileo-cookie-dialog-title {
    font-size: 24px;
    line-height: 32px;
  }

  .fileo-cookie-center {
    padding: 0 24px;
  }

  .fileo-cookie-dialog-actions {
    padding: 16px 24px max(18px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 420px) {
  .fileo-cookie-title {
    font-size: 16px;
  }

  .fileo-cookie-text,
  .fileo-cookie-setting p,
  .fileo-cookie-intro p {
    font-size: 13px;
  }

  .fileo-cookie-dialog-head {
    gap: 12px;
  }
}

.fileo-cookie-settings-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fileo-cookie-settings-link:hover,
.fileo-cookie-settings-link:focus-visible {
  text-decoration-thickness: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .fileo-cookie-switch-visual,
  .fileo-cookie-switch-visual::after {
    transition: none;
  }

  .fileo-cookie-dialog {
    animation: none;
  }
}

/* fileo-catalog-side-menu-hover */
.aside .nav-popup__ul a.nav-popup__category,
.aside .nav-popup__ul a.nav-popup__subcategory {
  text-decoration: none !important;
  transition: color .18s ease;
}

.aside .nav-popup__ul a.nav-popup__category:hover,
.aside .nav-popup__ul a.nav-popup__subcategory:hover,
.aside .nav-popup__ul a.nav-popup__category:focus-visible,
.aside .nav-popup__ul a.nav-popup__subcategory:focus-visible {
  color: #D32222 !important;
  text-decoration: none !important;
}

.aside .nav-popup__ul a.nav-popup__category[href$="/katalog/soon/"],
.aside .nav-popup__ul a.nav-popup__category[style*="#D32222"],
.aside .nav-popup__ul a.nav-popup__category[style*="#d32222"] {
  color: #D32222 !important;
  text-decoration: none !important;
}

/* fileo-menu-unified-hover */
.header-desktop .nav__li > a,
.aside .nav-popup__ul a.nav-popup__category,
.aside .nav-popup__ul a.nav-popup__subcategory,
#menu-mob a {
  text-decoration: none !important;
  border-bottom-color: transparent !important;
}

.header-desktop .nav__li > a {
  position: relative;
  z-index: 0;
  isolation: isolate;
  transition: color .18s ease;
}

.header-desktop .nav__li > a::before {
  content: "";
  position: absolute;
  inset: -7px -10px;
  z-index: -1;
  border-radius: 6px;
  background: rgba(211, 34, 34, .08);
  opacity: 0;
  transition: opacity .18s ease, background-color .18s ease;
  pointer-events: none;
}

.header-desktop .nav__li:hover > a,
.header-desktop .nav__li > a:hover,
.header-desktop .nav__li > a:focus-visible {
  color: #D32222 !important;
  text-decoration: none !important;
  border-bottom-color: transparent !important;
}

.header-desktop .nav__li:hover > a::before,
.header-desktop .nav__li > a:hover::before,
.header-desktop .nav__li > a:focus-visible::before {
  opacity: 1;
}

.header-desktop .nav__li > a[style*="#ff0000"],
.header-desktop .nav__li > a[style*="#FF0000"] {
  color: #D32222 !important;
}

.aside .nav-popup__ul a.nav-popup__category,
.aside .nav-popup__ul a.nav-popup__subcategory {
  position: relative;
  z-index: 0;
  isolation: isolate;
}

.aside .nav-popup__ul a.nav-popup__category::before,
.aside .nav-popup__ul a.nav-popup__subcategory::before {
  content: "";
  position: absolute;
  inset: -4px -8px;
  z-index: -1;
  border-radius: 6px;
  background: rgba(211, 34, 34, .08);
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
}

.aside .nav-popup__ul a.nav-popup__category:hover::before,
.aside .nav-popup__ul a.nav-popup__subcategory:hover::before,
.aside .nav-popup__ul a.nav-popup__category:focus-visible::before,
.aside .nav-popup__ul a.nav-popup__subcategory:focus-visible::before {
  opacity: 1;
}

#menu-mob a {
  border-radius: 6px;
  transition: color .18s ease, background-color .18s ease;
}

#menu-mob a:hover,
#menu-mob a:focus-visible {
  color: #D32222 !important;
  background: rgba(211, 34, 34, .08);
  text-decoration: none !important;
}

/* fileo-menu-hover-card-tuning */
.header-desktop .nav__li > a::before {
  inset: -8px -11px;
  border-radius: 6px;
  background: #f3f0ec;
  box-shadow: 0 1px 0 rgba(24, 22, 20, .03);
}

.aside .nav-popup__ul a.nav-popup__category::before,
.aside .nav-popup__ul a.nav-popup__subcategory::before {
  inset: -7px -10px;
  border-radius: 6px;
  background: #f3f0ec;
  box-shadow: 0 1px 0 rgba(24, 22, 20, .03);
}

.header-desktop .nav__li:hover > a,
.header-desktop .nav__li > a:hover,
.header-desktop .nav__li > a:focus-visible,
.aside .nav-popup__ul a.nav-popup__category:hover,
.aside .nav-popup__ul a.nav-popup__subcategory:hover,
.aside .nav-popup__ul a.nav-popup__category:focus-visible,
.aside .nav-popup__ul a.nav-popup__subcategory:focus-visible {
  color: #D32222 !important;
  text-decoration: none !important;
}

#menu-mob a:hover,
#menu-mob a:focus-visible {
  background: #f3f0ec;
  color: #D32222 !important;
  text-decoration: none !important;
}

/* fileo-menu-partner-style-polish */
.header-desktop .nav__li > a::before {
  inset: auto;
  top: 50%;
  left: -10px;
  right: -10px;
  height: 34px;
  transform: translateY(-50%);
  border-radius: 6px;
  background: #f3f0ec;
}

.aside .nav-popup__ul a.nav-popup__category::before,
.aside .nav-popup__ul a.nav-popup__subcategory::before {
  inset: auto;
  top: 50%;
  left: -10px;
  right: -10px;
  height: 31px;
  transform: translateY(-50%);
  border-radius: 6px;
  background: #f3f0ec;
}

.header-desktop .nav__li:hover > a,
.header-desktop .nav__li > a:hover,
.header-desktop .nav__li > a:focus-visible,
.aside .nav-popup__ul a.nav-popup__category:hover,
.aside .nav-popup__ul a.nav-popup__subcategory:hover,
.aside .nav-popup__ul a.nav-popup__category:focus-visible,
.aside .nav-popup__ul a.nav-popup__subcategory:focus-visible,
#menu-mob a:hover,
#menu-mob a:focus-visible {
  color: #181614 !important;
  text-decoration: none !important;
  border-bottom-color: transparent !important;
}

#menu-mob a:hover,
#menu-mob a:focus-visible {
  background: #f3f0ec;
}

/* fileo-menu-accent-hover-clarity */
.header-desktop .nav__li:hover > a::before,
.header-desktop .nav__li > a:hover::before,
.header-desktop .nav__li > a:focus-visible::before,
.aside .nav-popup__ul a.nav-popup__category:hover::before,
.aside .nav-popup__ul a.nav-popup__subcategory:hover::before,
.aside .nav-popup__ul a.nav-popup__category:focus-visible::before,
.aside .nav-popup__ul a.nav-popup__subcategory:focus-visible::before {
  opacity: 1;
  background: #eee9e3;
}

.header-desktop .nav__li:hover > a,
.header-desktop .nav__li > a:hover,
.header-desktop .nav__li > a:focus-visible,
.aside .nav-popup__ul a.nav-popup__category:hover,
.aside .nav-popup__ul a.nav-popup__subcategory:hover,
.aside .nav-popup__ul a.nav-popup__category:focus-visible,
.aside .nav-popup__ul a.nav-popup__subcategory:focus-visible {
  color: #111111 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

#menu-mob a:hover,
#menu-mob a:focus-visible {
  color: #111111 !important;
  font-weight: 700 !important;
  background: #eee9e3;
}

/* fileo-menu-top-hover-stable */
.header-desktop,
.header-desktop .nav,
.header-desktop .nav__ul,
.header-desktop .nav__li {
  overflow: visible !important;
}

.header-desktop .nav__li > a::before {
  content: none !important;
  display: none !important;
}

.header-desktop .nav__li > a {
  border-radius: 5px !important;
  padding: 6px 10px;
  margin: -6px -10px;
  transition: color .18s ease, background-color .18s ease;
}

.header-desktop .nav__li:hover > a,
.header-desktop .nav__li > a:hover,
.header-desktop .nav__li > a:focus-visible {
  color: #111111 !important;
  background: #eee9e3 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  border-bottom-color: transparent !important;
}

/* fileo-menu-red-unified */
:root {
  --fileo-menu-accent-red: #D32222;
}

.header-desktop .nav__li > a[style*="#ff0000" i],
.header-desktop .nav__li > a[style*="#d32222" i],
a.link_level1[style*="#ff0000" i],
a.link_level1[style*="#d32222" i],
a.nav-popup__category[style*="#ff0000" i],
a.nav-popup__category[style*="#d32222" i],
a.nav-popup__subcategory[style*="#ff0000" i],
a.nav-popup__subcategory[style*="#d32222" i],
#menu-mob a[style*="#ff0000" i],
#menu-mob a[style*="#d32222" i] {
  color: var(--fileo-menu-accent-red) !important;
}

/* fileo-menu-hover-final-polish */
.header-desktop,
.header-desktop .nav,
.header-desktop .nav__ul,
.header-desktop .nav__li {
  overflow: visible !important;
}

.header-desktop .nav__li > a {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: color .18s ease;
}

.header-desktop .nav__li > a::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: -6px !important;
  right: -10px !important;
  bottom: -6px !important;
  left: -10px !important;
  z-index: -1 !important;
  width: auto !important;
  height: auto !important;
  border-radius: 5px !important;
  background: #eee9e3 !important;
  opacity: 0 !important;
  transform: none !important;
  pointer-events: none !important;
  transition: opacity .18s ease, background-color .18s ease;
}

.header-desktop .nav__li:hover > a::before,
.header-desktop .nav__li > a:hover::before,
.header-desktop .nav__li > a:focus-visible::before,
.header-desktop .nav__li:focus-within > a::before {
  opacity: 1 !important;
}

.header-desktop .nav__li:hover > a,
.header-desktop .nav__li > a:hover,
.header-desktop .nav__li > a:focus-visible,
.header-desktop .nav__li:focus-within > a {
  color: #111111 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
  border-bottom-color: transparent !important;
}

/* fileo-nav-dropdown-final-polish */
.header-desktop .fileo-nav-has-dealers,
.header-desktop .nav__li.partnership {
  position: relative !important;
  overflow: visible !important;
  padding-bottom: 12px !important;
  margin-bottom: -12px !important;
}

.header-desktop .fileo-nav-dealers-dropdown,
.header-desktop .nav__li.partnership > .nav-popup {
  top: 100% !important;
  right: auto !important;
  left: 50% !important;
  width: auto !important;
  min-width: 190px !important;
  max-width: calc(100vw - 32px) !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 8px !important;
  border-radius: 8px !important;
  transform: translate(-50%, 4px) !important;
  transition: opacity .14s ease, visibility .14s ease, transform .14s ease !important;
}

.header-desktop .fileo-nav-has-dealers:hover .fileo-nav-dealers-dropdown,
.header-desktop .fileo-nav-has-dealers:focus-within .fileo-nav-dealers-dropdown,
.header-desktop .nav__li.partnership:hover > .nav-popup,
.header-desktop .nav__li.partnership:focus-within > .nav-popup {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translate(-50%, 0) !important;
}

.header-desktop .fileo-nav-dealers-dropdown::before,
.header-desktop .nav__li.partnership > .nav-popup::before {
  top: -14px !important;
  height: 14px !important;
}

.header-desktop .fileo-nav-dealers-link,
.header-desktop .nav__li.partnership > .nav-popup .nav-popup__category {
  min-height: 42px !important;
  padding: 10px 12px !important;
}

/* fileo-side-catalog-hover-final */
.aside .nav-popup__ul a.nav-popup__category,
.aside .nav-popup__ul a.nav-popup__subcategory {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 28px !important;
  padding: 5px 10px !important;
  margin: 0 0 4px -10px !important;
  border-radius: 5px !important;
  background: transparent !important;
  text-decoration: none !important;
  line-height: 1.25 !important;
  transition: background-color .16s ease, color .16s ease, font-weight .16s ease;
}

.aside .nav-popup__ul a.nav-popup__category::before,
.aside .nav-popup__ul a.nav-popup__subcategory::before {
  content: none !important;
  display: none !important;
}

.aside .nav-popup__ul a.nav-popup__category[style*="#ff0000" i],
.aside .nav-popup__ul a.nav-popup__subcategory[style*="#ff0000" i],
.aside .nav-popup__ul a.nav-popup__category[style*="#d32222" i],
.aside .nav-popup__ul a.nav-popup__subcategory[style*="#d32222" i] {
  color: var(--fileo-menu-accent-red, #D32222) !important;
}

.aside .nav-popup__ul a.nav-popup__category:hover,
.aside .nav-popup__ul a.nav-popup__subcategory:hover,
.aside .nav-popup__ul a.nav-popup__category:focus-visible,
.aside .nav-popup__ul a.nav-popup__subcategory:focus-visible {
  background: #eee9e3 !important;
  color: #111111 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  outline: none !important;
}

/* fileo-side-red-hover-keep */
.aside .nav-popup__ul a.nav-popup__category.active,
.aside .nav-popup__ul a.nav-popup__subcategory.active,
.aside .nav-popup__ul a.nav-popup__category[style*="ff0000" i],
.aside .nav-popup__ul a.nav-popup__subcategory[style*="ff0000" i],
.aside .nav-popup__ul a.nav-popup__category[style*="d32222" i],
.aside .nav-popup__ul a.nav-popup__subcategory[style*="d32222" i] {
  color: var(--fileo-menu-accent-red, #D32222) !important;
}

.aside .nav-popup__ul a.nav-popup__category.active:hover,
.aside .nav-popup__ul a.nav-popup__subcategory.active:hover,
.aside .nav-popup__ul a.nav-popup__category.active:focus-visible,
.aside .nav-popup__ul a.nav-popup__subcategory.active:focus-visible,
.aside .nav-popup__ul a.nav-popup__category[style*="ff0000" i]:hover,
.aside .nav-popup__ul a.nav-popup__subcategory[style*="ff0000" i]:hover,
.aside .nav-popup__ul a.nav-popup__category[style*="d32222" i]:hover,
.aside .nav-popup__ul a.nav-popup__subcategory[style*="d32222" i]:hover,
.aside .nav-popup__ul a.nav-popup__category[style*="ff0000" i]:focus-visible,
.aside .nav-popup__ul a.nav-popup__subcategory[style*="ff0000" i]:focus-visible,
.aside .nav-popup__ul a.nav-popup__category[style*="d32222" i]:focus-visible,
.aside .nav-popup__ul a.nav-popup__subcategory[style*="d32222" i]:focus-visible {
  color: var(--fileo-menu-accent-red, #D32222) !important;
  background: #eee9e3 !important;
  font-weight: 700 !important;
}

/* fileo-side-active-and-red-states */
.aside .nav-popup__ul a.nav-popup__category.active,
.aside .nav-popup__ul a.nav-popup__subcategory.active,
.aside .nav-popup__ul a.nav-popup__category.active:hover,
.aside .nav-popup__ul a.nav-popup__subcategory.active:hover,
.aside .nav-popup__ul a.nav-popup__category.active:focus-visible,
.aside .nav-popup__ul a.nav-popup__subcategory.active:focus-visible {
  color: #111111 !important;
  background: #eee9e3 !important;
  font-weight: 700 !important;
}

.aside .nav-popup__ul a.nav-popup__category[style*="ff0000" i]:not(.active),
.aside .nav-popup__ul a.nav-popup__subcategory[style*="ff0000" i]:not(.active),
.aside .nav-popup__ul a.nav-popup__category[style*="d32222" i]:not(.active),
.aside .nav-popup__ul a.nav-popup__subcategory[style*="d32222" i]:not(.active),
.aside .nav-popup__ul a.nav-popup__category[href*="/katalog/?filter=new"],
.aside .nav-popup__ul a.nav-popup__category[href*="/katalog/delovoy_stil/"],
.aside .nav-popup__ul a.nav-popup__category[href*="/katalog/soon/"] {
  color: var(--fileo-menu-accent-red, #D32222) !important;
}

.aside .nav-popup__ul a.nav-popup__category[style*="ff0000" i]:not(.active):hover,
.aside .nav-popup__ul a.nav-popup__subcategory[style*="ff0000" i]:not(.active):hover,
.aside .nav-popup__ul a.nav-popup__category[style*="d32222" i]:not(.active):hover,
.aside .nav-popup__ul a.nav-popup__subcategory[style*="d32222" i]:not(.active):hover,
.aside .nav-popup__ul a.nav-popup__category[style*="ff0000" i]:not(.active):focus-visible,
.aside .nav-popup__ul a.nav-popup__subcategory[style*="ff0000" i]:not(.active):focus-visible,
.aside .nav-popup__ul a.nav-popup__category[style*="d32222" i]:not(.active):focus-visible,
.aside .nav-popup__ul a.nav-popup__subcategory[style*="d32222" i]:not(.active):focus-visible,
.aside .nav-popup__ul a.nav-popup__category[href*="/katalog/?filter=new"]:hover,
.aside .nav-popup__ul a.nav-popup__category[href*="/katalog/delovoy_stil/"]:hover,
.aside .nav-popup__ul a.nav-popup__category[href*="/katalog/soon/"]:hover,
.aside .nav-popup__ul a.nav-popup__category[href*="/katalog/?filter=new"]:focus-visible,
.aside .nav-popup__ul a.nav-popup__category[href*="/katalog/delovoy_stil/"]:focus-visible,
.aside .nav-popup__ul a.nav-popup__category[href*="/katalog/soon/"]:focus-visible {
  color: var(--fileo-menu-accent-red, #D32222) !important;
  background: #eee9e3 !important;
  font-weight: 700 !important;
}

.aside .nav-popup__ul a.nav-popup__category.active[href*="/katalog/?filter=new"],
.aside .nav-popup__ul a.nav-popup__category.active[href*="/katalog/delovoy_stil/"],
.aside .nav-popup__ul a.nav-popup__category.active[href*="/katalog/soon/"],
.aside .nav-popup__ul a.nav-popup__category.active[href*="/katalog/?filter=new"]:hover,
.aside .nav-popup__ul a.nav-popup__category.active[href*="/katalog/delovoy_stil/"]:hover,
.aside .nav-popup__ul a.nav-popup__category.active[href*="/katalog/soon/"]:hover {
  color: var(--fileo-menu-accent-red, #D32222) !important;
  background: #eee9e3 !important;
  font-weight: 700 !important;
}

/* fileo-catalog-hover-bridge */
.header-desktop .nav__li.catalog-hover {
  overflow: visible !important;
  padding-bottom: 18px !important;
  margin-bottom: -18px !important;
}

.header-desktop .nav__li.catalog-hover > .nav-popup {
  pointer-events: auto !important;
}

.header-desktop .nav__li.catalog-hover > .nav-popup::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: -34px !important;
  height: 34px !important;
  display: block !important;
  background: transparent !important;
  pointer-events: auto !important;
}

.header-desktop .nav__li.catalog-hover:hover > .nav-popup,
.header-desktop .nav__li.catalog-hover:focus-within > .nav-popup,
.header-desktop .nav__li.catalog-hover > .nav-popup:hover {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* fileo-dept-active-polish */
.header-desktop .header-grey-line__info .dept {
  border: 0 !important;
  color: #5f5e5c;
  text-decoration: none !important;
}

.header-desktop .header-grey-line__info .dept .city {
  position: relative;
  display: inline-block;
  border-bottom: 0 !important;
  color: #111111 !important;
  line-height: 14px !important;
  margin: 0 2.5px !important;
  padding: 0 !important;
  transition: color .16s ease, font-weight .16s ease;
}

.header-desktop .header-grey-line__info .dept.active {
  cursor: default;
}

.header-desktop .header-grey-line__info .dept.active .city {
  color: #111111 !important;
  font-weight: 600 !important;
}

.header-desktop .header-grey-line__info .dept.active .city::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: #111111;
}

.header-desktop .header-grey-line__info .dept:not(.active):hover .city,
.header-desktop .header-grey-line__info .dept:not(.active):focus-visible .city {
  color: #111111 !important;
  font-weight: 500 !important;
}

/* fileo-top-dropdown-stability */
.header-desktop .nav__li.catalog-hover {
  overflow: visible !important;
}

.header-desktop .nav__li.catalog-hover:not(.partnership) {
  padding-bottom: 22px !important;
  margin-bottom: -22px !important;
}

.header-desktop .nav__li.catalog-hover:not(.partnership) > .nav-popup {
  pointer-events: none !important;
}

.header-desktop .nav__li.catalog-hover:not(.partnership) > .nav-popup::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: -38px !important;
  height: 38px !important;
  display: block !important;
  background: transparent !important;
  pointer-events: auto !important;
}

.header-desktop .nav__li.catalog-hover:not(.partnership):hover > .nav-popup,
.header-desktop .nav__li.catalog-hover:not(.partnership):focus-within > .nav-popup,
.header-desktop .nav__li.catalog-hover:not(.partnership) > .nav-popup:hover {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.header-desktop .nav__li.catalog-hover.partnership {
  position: relative !important;
  overflow: visible !important;
  padding-bottom: 12px !important;
  margin-bottom: -12px !important;
}

.header-desktop .nav__li.catalog-hover.partnership > .nav-popup {
  top: 100% !important;
  right: auto !important;
  left: 50% !important;
  width: auto !important;
  min-width: 204px !important;
  max-width: calc(100vw - 32px) !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 8px !important;
  border-radius: 8px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate(-50%, 4px) !important;
  transition: opacity .14s ease, visibility .14s ease, transform .14s ease !important;
}

.header-desktop .nav__li.catalog-hover.partnership > .nav-popup::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: -18px !important;
  height: 18px !important;
  display: block !important;
  background: transparent !important;
  pointer-events: auto !important;
}

.header-desktop .nav__li.catalog-hover.partnership:hover > .nav-popup,
.header-desktop .nav__li.catalog-hover.partnership:focus-within > .nav-popup,
.header-desktop .nav__li.catalog-hover.partnership > .nav-popup:hover {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translate(-50%, 0) !important;
}

/* fileo-top-menu-js-open */
.header-desktop .nav__li.catalog-hover {
  overflow: visible !important;
}

.header-desktop .nav__li.catalog-hover > a {
  position: relative !important;
  z-index: 100002 !important;
  pointer-events: auto !important;
  text-decoration: none !important;
}

.header-desktop .nav__li.catalog-hover:not(.partnership),
.header-desktop .nav__li.catalog-hover.partnership {
  padding-bottom: 8px !important;
  margin-bottom: -8px !important;
}

.header-desktop .nav__li.catalog-hover > .nav-popup::before {
  pointer-events: none !important;
}

.header-desktop .nav__li.catalog-hover.fileo-menu-open > a::before,
.header-desktop .nav__li.catalog-hover:hover > a::before,
.header-desktop .nav__li.catalog-hover:focus-within > a::before {
  opacity: 1 !important;
}

.header-desktop .nav__li.catalog-hover.fileo-menu-open > a {
  text-decoration: none !important;
  border-bottom-color: transparent !important;
}

.header-desktop .nav__li.catalog-hover.fileo-menu-open > .nav-popup {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.header-desktop .nav__li.catalog-hover.partnership.fileo-menu-open > .nav-popup {
  transform: translate(-50%, 0) !important;
}

/* fileo-skirts-neutral */
.aside .nav-popup__ul a.nav-popup__category[href$="/katalog/yubki/"],
.aside .nav-popup__ul a.nav-popup__category[href$="/katalog/yubki/"]:hover,
.aside .nav-popup__ul a.nav-popup__category[href$="/katalog/yubki/"]:focus-visible,
.aside .nav-popup__ul a.nav-popup__category[href$="/katalog/yubki/"].active,
.aside .nav-popup__ul a.nav-popup__category[href$="/katalog/yubki/"].active:hover,
.aside .nav-popup__ul a.nav-popup__category[href$="/katalog/yubki/"].active:focus-visible {
  color: #111111 !important;
}

/* fileo-top-menu-highlight-full-width */
.header-desktop .nav__li > a::before {
  max-width: none !important;
}

/*
 * FILEO desktop mega-menu containment candidate.
 * Scoped override for the desktop navigation only.
 */
@media (min-width: 1001px) {
  .header-desktop .nav__li.picture > .nav-popup {
    box-sizing: border-box !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    min-height: clamp(420px, 32vw, 560px) !important;
    padding: clamp(26px, 3vw, 48px) clamp(32px, 7vw, 180px) !important;
    overflow: hidden !important;
    display: grid !important;
    grid-template-columns: minmax(180px, 0.85fr) minmax(0, 2.15fr) !important;
    gap: clamp(32px, 5vw, 100px) !important;
    align-items: start !important;
    background-color: #fff !important;
  }

  .header-desktop .nav__li.picture > .nav-popup::before,
  .header-desktop .nav__li.picture > .nav-popup::after {
    content: none !important;
    display: none !important;
  }

  .header-desktop .nav__li.picture > .nav-popup .wrap-menu {
    box-sizing: border-box !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    columns: 2 !important;
    column-gap: clamp(20px, 2.5vw, 48px) !important;
    overflow: visible !important;
  }

  .header-desktop .nav__li.picture > .nav-popup .nav-popup__ul {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 6px !important;
    break-inside: avoid;
  }

  .header-desktop .nav__li.picture > .nav-popup .nav-popup__categories {
    position: static !important;
    box-sizing: border-box !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(14px, 1.5vw, 28px) !important;
    justify-content: initial !important;
    align-items: start !important;
  }

  .header-desktop .nav__li.picture > .nav-popup a.nav-popup__categories-link {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    overflow: hidden !important;
    transform: none !important;
  }

  .header-desktop .nav__li.picture > .nav-popup .nav-popup__categories-img-wrap {
    width: 100% !important;
    height: clamp(190px, 18vw, 340px) !important;
    display: block !important;
    overflow: hidden !important;
  }

  .header-desktop .nav__li.picture > .nav-popup .nav-popup__categories-img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
  }

  .header-desktop .nav__li.picture > .nav-popup .nav-popup__categories-name {
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 10px 0 0 !important;
    display: block !important;
    overflow-wrap: anywhere;
    text-align: center !important;
  }
}

@media (min-width: 1001px) and (max-width: 1599px) {
  .header-desktop .nav__li.picture > .nav-popup {
    grid-template-columns: minmax(170px, 0.75fr) minmax(0, 2.25fr) !important;
    gap: clamp(24px, 3vw, 52px) !important;
    padding-left: clamp(24px, 4vw, 64px) !important;
    padding-right: clamp(24px, 4vw, 64px) !important;
  }
}

/* CODEX_FILEO_MEGA_MENU_COMPACT_20260729_BEGIN */
/*
 * FILEO desktop mega-menu compact spacing candidate.
 *
 * This file is intentionally loaded after the existing containment fix.
 * It changes only vertical spacing inside the text list and the minimum
 * desktop popup height. Product grids, promotional images, JavaScript and
 * mobile navigation are outside this scope.
 */
@media (min-width: 1001px) {
  .header-desktop .nav__li.picture > .nav-popup {
    min-height: clamp(410px, 27vw, 500px) !important;
  }

  .header-desktop .nav__li.picture > .nav-popup .wrap-menu .nav-popup__ul {
    margin-bottom: 0 !important;
  }

  .header-desktop .nav__li.picture > .nav-popup .wrap-menu a.nav-popup__category,
  .header-desktop .nav__li.picture > .nav-popup .wrap-menu a.nav-popup__subcategory {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    padding-top: 1px !important;
    padding-bottom: 1px !important;
    line-height: 1.35 !important;
  }

  .content-catalog .catalog__content > .aside .nav__ul > .nav-popup__ul {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .content-catalog .catalog__content > .aside .nav__ul > .nav-popup__ul > li {
    margin-bottom: 4px !important;
  }
}
/* CODEX_FILEO_MEGA_MENU_COMPACT_20260729_END */

/*
 * FILEO desktop top navigation: underline-only interaction state.
 *
 * Scope is intentionally limited to direct links in the desktop top menu
 * and text links inside its dropdowns. Catalog grids, mobile navigation
 * and page content are untouched.
 */
@media (min-width: 1001px) {
  .header-desktop .nav > .nav__ul > .nav__li > a::before,
  .header-desktop .nav > .nav__ul > .nav__li:hover > a::before,
  .header-desktop .nav > .nav__ul > .nav__li:focus-within > a::before,
  .header-desktop .nav > .nav__ul > .nav__li.fileo-menu-open > a::before {
    background: transparent !important;
    box-shadow: none !important;
    opacity: 0 !important;
  }

  .header-desktop .nav > .nav__ul > .nav__li:hover > a,
  .header-desktop .nav > .nav__ul > .nav__li > a:hover,
  .header-desktop .nav > .nav__ul > .nav__li:focus-within > a,
  .header-desktop .nav > .nav__ul > .nav__li > a:focus-visible,
  .header-desktop .nav > .nav__ul > .nav__li > a.active,
  .header-desktop .nav > .nav__ul > .nav__li > a.underline,
  .header-desktop .nav > .nav__ul > .nav__li.fileo-menu-open > a {
    background: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
    text-decoration-color: currentColor !important;
    text-decoration-line: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
  }

  .header-desktop .nav > .nav__ul > .nav__li:hover > a:not([href*="filter=new"]):not([href*="/katalog/soon/"]),
  .header-desktop .nav > .nav__ul > .nav__li:focus-within > a:not([href*="filter=new"]):not([href*="/katalog/soon/"]),
  .header-desktop .nav > .nav__ul > .nav__li > a.active:not([href*="filter=new"]):not([href*="/katalog/soon/"]),
  .header-desktop .nav > .nav__ul > .nav__li > a.underline:not([href*="filter=new"]):not([href*="/katalog/soon/"]) {
    color: #111 !important;
  }

  .header-desktop .nav > .nav__ul > .nav__li:hover > a[href*="filter=new"],
  .header-desktop .nav > .nav__ul > .nav__li:hover > a[href*="/katalog/soon/"],
  .header-desktop .nav > .nav__ul > .nav__li:focus-within > a[href*="filter=new"],
  .header-desktop .nav > .nav__ul > .nav__li:focus-within > a[href*="/katalog/soon/"],
  .header-desktop .nav > .nav__ul > .nav__li > a.active[href*="filter=new"],
  .header-desktop .nav > .nav__ul > .nav__li > a.active[href*="/katalog/soon/"],
  .header-desktop .nav > .nav__ul > .nav__li > a.underline[href*="filter=new"],
  .header-desktop .nav > .nav__ul > .nav__li > a.underline[href*="/katalog/soon/"] {
    color: #d32222 !important;
  }

  .header-desktop .nav > .nav__ul > .nav__li > a:focus-visible {
    outline: none !important;
  }

  .header-desktop .nav > .nav__ul > .nav__li.picture > .nav-popup .wrap-menu a.nav-popup__category:hover,
  .header-desktop .nav > .nav__ul > .nav__li.picture > .nav-popup .wrap-menu a.nav-popup__subcategory:hover,
  .header-desktop .nav > .nav__ul > .nav__li.picture > .nav-popup .wrap-menu a.nav-popup__category:focus,
  .header-desktop .nav > .nav__ul > .nav__li.picture > .nav-popup .wrap-menu a.nav-popup__subcategory:focus,
  .header-desktop .nav > .nav__ul > .nav__li.picture > .nav-popup .wrap-menu a.nav-popup__category:focus-visible,
  .header-desktop .nav > .nav__ul > .nav__li.picture > .nav-popup .wrap-menu a.nav-popup__subcategory:focus-visible {
    background: transparent !important;
    color: #111 !important;
    font-weight: 400 !important;
    outline: none !important;
    text-decoration-color: currentColor !important;
    text-decoration-line: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
  }

  .header-desktop .nav > .nav__ul > .nav__li.picture > .nav-popup .wrap-menu a[href*="/katalog/delovoy_stil/"]:hover,
  .header-desktop .nav > .nav__ul > .nav__li.picture > .nav-popup .wrap-menu a[href*="/katalog/delovoy_stil/"]:focus,
  .header-desktop .nav > .nav__ul > .nav__li.picture > .nav-popup .wrap-menu a[href*="/katalog/delovoy_stil/"]:focus-visible,
  .header-desktop .nav > .nav__ul > .nav__li.picture > .nav-popup .wrap-menu a[href*="/katalog/soon/"]:hover,
  .header-desktop .nav > .nav__ul > .nav__li.picture > .nav-popup .wrap-menu a[href*="/katalog/soon/"]:focus,
  .header-desktop .nav > .nav__ul > .nav__li.picture > .nav-popup .wrap-menu a[href*="/katalog/soon/"]:focus-visible,
  .header-desktop .nav > .nav__ul > .nav__li.picture > .nav-popup .wrap-menu a[href*="/katalog/vechernie_obrazy/"]:hover,
  .header-desktop .nav > .nav__ul > .nav__li.picture > .nav-popup .wrap-menu a[href*="/katalog/vechernie_obrazy/"]:focus,
  .header-desktop .nav > .nav__ul > .nav__li.picture > .nav-popup .wrap-menu a[href*="/katalog/vechernie_obrazy/"]:focus-visible {
    color: #d32222 !important;
  }
}

/*
 * FILEO desktop catalog navigation consistency and hover intent.
 *
 * The catalog sidebar keeps its existing geometry and click area. Only the
 * visual hover/active treatment changes from a filled pill to an underline.
 * The popup gate prevents legacy :hover rules from bypassing the JS delay.
 */
@media (min-width: 1001px) {
  .content-catalog > .catalog__content > .aside .nav a.nav-popup__category,
  .content-catalog > .catalog__content > .aside .nav a.nav-popup__subcategory {
    background: transparent !important;
    border-radius: 0 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
  }

  .content-catalog > .catalog__content > .aside .nav a.nav-popup__category:hover,
  .content-catalog > .catalog__content > .aside .nav a.nav-popup__subcategory:hover,
  .content-catalog > .catalog__content > .aside .nav a.nav-popup__category:focus-visible,
  .content-catalog > .catalog__content > .aside .nav a.nav-popup__subcategory:focus-visible,
  .content-catalog > .catalog__content > .aside .nav a.nav-popup__category.active,
  .content-catalog > .catalog__content > .aside .nav a.nav-popup__subcategory.active {
    background: transparent !important;
    color: #111 !important;
    font-weight: 400 !important;
    outline: none !important;
    text-decoration-color: currentColor !important;
    text-decoration-line: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
  }

  .content-catalog > .catalog__content > .aside .nav a[href="/katalog/"]:hover,
  .content-catalog > .catalog__content > .aside .nav a[href="/katalog/"]:focus-visible,
  .content-catalog > .catalog__content > .aside .nav a[href="/katalog/"].active,
  .content-catalog > .catalog__content > .aside .nav a[href*="filter=new"]:hover,
  .content-catalog > .catalog__content > .aside .nav a[href*="filter=new"]:focus-visible,
  .content-catalog > .catalog__content > .aside .nav a[href*="filter=new"].active,
  .content-catalog > .catalog__content > .aside .nav a[href*="/katalog/delovoy_stil/"]:hover,
  .content-catalog > .catalog__content > .aside .nav a[href*="/katalog/delovoy_stil/"]:focus-visible,
  .content-catalog > .catalog__content > .aside .nav a[href*="/katalog/delovoy_stil/"].active,
  .content-catalog > .catalog__content > .aside .nav a[href*="/katalog/soon/"]:hover,
  .content-catalog > .catalog__content > .aside .nav a[href*="/katalog/soon/"]:focus-visible,
  .content-catalog > .catalog__content > .aside .nav a[href*="/katalog/soon/"].active,
  .content-catalog > .catalog__content > .aside .nav a[href*="/katalog/vechernie_obrazy/"]:hover,
  .content-catalog > .catalog__content > .aside .nav a[href*="/katalog/vechernie_obrazy/"]:focus-visible,
  .content-catalog > .catalog__content > .aside .nav a[href*="/katalog/vechernie_obrazy/"].active {
    color: #d32222 !important;
  }

  .header-desktop .nav__li.catalog-hover:not(.fileo-menu-open):hover > .nav-popup,
  .header-desktop .nav__li.catalog-hover:not(.fileo-menu-open):focus-within > .nav-popup,
  .header-desktop .nav__li.catalog-hover:not(.fileo-menu-open) > .nav-popup:hover {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/*
 * FILEO compact service dropdowns.
 *
 * Scope: desktop "Partners" and "Contacts" dropdowns only.
 * The fixed font weight and padding prevent layout movement on hover.
 */
.header-desktop .nav > .nav__ul > .nav__li.partnership > a,
.header-desktop .nav > .nav__ul > .nav__li.fileo-nav-has-dealers > a,
.header-desktop .nav > .nav__ul > .nav__li.partnership:hover > a,
.header-desktop .nav > .nav__ul > .nav__li.fileo-nav-has-dealers:hover > a,
.header-desktop .nav > .nav__ul > .nav__li.partnership:focus-within > a,
.header-desktop .nav > .nav__ul > .nav__li.fileo-nav-has-dealers:focus-within > a {
  font-weight: 600 !important;
}

.header-desktop .nav__li.catalog-hover.partnership > .nav-popup {
  min-width: 184px !important;
}

.header-desktop .nav__li.fileo-nav-has-dealers > .fileo-nav-dealers-dropdown {
  min-width: 190px !important;
}

.header-desktop .nav__li.fileo-nav-has-dealers > .fileo-nav-dealers-dropdown,
.header-desktop .nav__li.catalog-hover.partnership > .nav-popup {
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 6px !important;
  border-radius: 6px !important;
  box-shadow: 0 12px 30px rgba(22, 22, 20, 0.13) !important;
}

.header-desktop .nav__li.catalog-hover.partnership > .nav-popup,
.header-desktop .nav__li.fileo-nav-has-dealers > .fileo-nav-dealers-dropdown {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.header-desktop .nav__li.catalog-hover.partnership > .nav-popup .wrap-menu {
  gap: 2px !important;
}

.header-desktop .nav__li.fileo-nav-has-dealers > .fileo-nav-dealers-dropdown .fileo-nav-dealers-link,
.header-desktop .nav__li.catalog-hover.partnership > .nav-popup .nav-popup__category {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 7px 10px !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #1f1f1d !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap !important;
  transition: color 0.12s ease !important;
}

.header-desktop .nav__li.fileo-nav-has-dealers > .fileo-nav-dealers-dropdown .fileo-nav-dealers-link:hover,
.header-desktop .nav__li.fileo-nav-has-dealers > .fileo-nav-dealers-dropdown .fileo-nav-dealers-link:focus-visible,
.header-desktop .nav__li.fileo-nav-has-dealers > .fileo-nav-dealers-dropdown .fileo-nav-dealers-link.active,
.header-desktop .nav__li.catalog-hover.partnership > .nav-popup .nav-popup__category:hover,
.header-desktop .nav__li.catalog-hover.partnership > .nav-popup .nav-popup__category:focus-visible,
.header-desktop .nav__li.catalog-hover.partnership > .nav-popup .nav-popup__category.active {
  background: transparent !important;
  color: #111 !important;
  font-weight: 600 !important;
  outline: none !important;
  text-decoration-color: currentColor !important;
  text-decoration-line: underline !important;
  text-decoration-style: solid !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
}

/*
 * Keep the legacy :hover rules from bypassing the short hover-intent delay.
 * The open class is controlled by the isolated service-menu script.
 */
.header-desktop .nav__li.catalog-hover.partnership:not(.fileo-menu-open):hover > .nav-popup,
.header-desktop .nav__li.catalog-hover.partnership:not(.fileo-menu-open):focus-within > .nav-popup,
.header-desktop .nav__li.catalog-hover.partnership:not(.fileo-menu-open) > .nav-popup:hover,
.header-desktop .nav__li.fileo-nav-has-dealers:not(.fileo-menu-open):hover > .fileo-nav-dealers-dropdown,
.header-desktop .nav__li.fileo-nav-has-dealers:not(.fileo-menu-open):focus-within > .fileo-nav-dealers-dropdown,
.header-desktop .nav__li.fileo-nav-has-dealers:not(.fileo-menu-open) > .fileo-nav-dealers-dropdown:hover {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.header-desktop .nav__li.catalog-hover.partnership.fileo-menu-open > .nav-popup,
.header-desktop .nav__li.fileo-nav-has-dealers.fileo-menu-open > .fileo-nav-dealers-dropdown {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translate(-50%, 0) !important;
}
