/* Generated by AP Mega Menu custom CSS. Do not edit directly. */
/* AP Mega Menu — Termousadka hybrid catalog tweaks v5.
   Safe for the Custom CSS field. Works with AP Mega Menu 4.9.6+. */
:root {
  --apmm-term-yellow: #ffc400;
  --apmm-term-yellow-soft: #fff4bf;
  --apmm-term-dark: #111111;
  --apmm-term-muted: #f8f9fa;
}

.apmm {
  --apmm-vertical-column-width: 24rem;
}

.apmm__termousadka-catalog-root > .apmm__link {
  background: var(--apmm-term-dark);
  border-color: var(--apmm-term-dark);
  color: var(--apmm-term-yellow);
  letter-spacing: .01em;
}

.apmm__termousadka-catalog-root > .apmm__link:hover,
.apmm__termousadka-catalog-root > .apmm__link:focus,
.apmm__termousadka-catalog-root.is-open > .apmm__link,
.apmm__termousadka-catalog-root.is-hovering > .apmm__link {
  background: #000;
  color: #fff;
}

.apmm__term-contact-link > .apmm__link {
  border: 1px solid var(--bs-border-color, #dee2e6);
  border-radius: .65rem;
}

.apmm__term-category > .apmm__link {
  font-size: .95rem;
  line-height: 1.2;
  max-width: 100%;
  min-height: 2.65rem;
  min-width: 0;
  white-space: normal;
}

.apmm__term-category > .apmm__link > .apmm__link-label,
.apmm__term-category > .apmm__link > span:not([class]) {
  flex: 1 1 auto;
  line-height: 1.22;
  min-width: 0;
  overflow-wrap: break-word;
  white-space: normal;
  word-break: normal;
}

.apmm__term-category > .apmm__link > .apmm__submenu-indicator {
  flex: 0 0 auto;
  margin-inline-start: .55rem;
  position: relative;
  z-index: 1;
}

.apmm__term-category > .apmm__link:hover,
.apmm__term-category.is-open > .apmm__link,
.apmm__term-category.is-hovering > .apmm__link,
.apmm__term-category:focus-within > .apmm__link {
  background: var(--apmm-term-yellow-soft);
  color: var(--apmm-term-dark);
}

@media (min-width: 992px) {
  .apmm--layout-hybrid .apmm__termousadka-catalog-root > .apmm__panel {
    border-top: .2rem solid var(--apmm-term-yellow);
    max-height: calc(var(--apmm-viewport-height, 100dvh) - var(--apmm-desktop-panel-top, 5.5rem) - .75rem);
    min-width: var(--apmm-vertical-column-width, 20rem);
    overflow-x: hidden;
    overflow-y: auto;
    scroll-padding-bottom: .75rem;
    scrollbar-color: rgba(17, 17, 17, .28) transparent;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    width: var(--apmm-vertical-column-width, 20rem);
    -webkit-overflow-scrolling: touch;
  }

  .apmm--layout-hybrid .apmm__termousadka-catalog-root > .apmm__panel::-webkit-scrollbar,
  .apmm--layout-hybrid .apmm__term-category > .apmm__panel::-webkit-scrollbar {
    width: .38rem;
  }

  .apmm--layout-hybrid .apmm__termousadka-catalog-root > .apmm__panel::-webkit-scrollbar-track,
  .apmm--layout-hybrid .apmm__term-category > .apmm__panel::-webkit-scrollbar-track {
    background: transparent;
  }

  .apmm--layout-hybrid .apmm__termousadka-catalog-root > .apmm__panel::-webkit-scrollbar-thumb,
  .apmm--layout-hybrid .apmm__term-category > .apmm__panel::-webkit-scrollbar-thumb {
    background: rgba(17, 17, 17, .28);
    border-radius: 999px;
  }

  .apmm--layout-hybrid .apmm__termousadka-catalog-root > .apmm__panel .apmm__link {
    align-items: center;
    max-width: 100%;
    min-height: 2.55rem;
    min-width: 0;
    padding-bottom: .55rem;
    padding-top: .55rem;
    white-space: normal;
  }

  .apmm--layout-hybrid .apmm__termousadka-catalog-root > .apmm__panel .apmm__link-label,
  .apmm--layout-hybrid .apmm__termousadka-catalog-root > .apmm__panel .apmm__link > span:not([class]) {
    flex: 1 1 auto;
    line-height: 1.22;
    min-width: 0;
    overflow-wrap: break-word;
    white-space: normal;
    word-break: normal;
  }

  .apmm--layout-hybrid .apmm__termousadka-catalog-root > .apmm__panel .apmm__submenu-indicator {
    flex: 0 0 auto;
    margin-inline-start: .55rem;
  }

  .apmm--layout-hybrid.apmm--flyout-width-same .apmm__term-category > .apmm__panel.apmm__panel--floating {
    border-top: .2rem solid var(--apmm-term-yellow);
    min-width: 0;
    width: var(--apmm-flyout-current-width, var(--apmm-vertical-column-width, 20rem));
  }

  .apmm--layout-hybrid.apmm--flyout-width-full .apmm__term-category > .apmm__panel.apmm__panel--floating {
    border-top: .2rem solid var(--apmm-term-yellow);
    width: min(760px, calc(100vw - 22rem));
  }

  .apmm--layout-hybrid .apmm__term-category > .apmm__panel .apmm__children:not(.row) {
    display: grid;
    gap: .2rem;
  }
}

@media (max-width: 991.98px) {
  .apmm__termousadka-catalog-root > .apmm__link {
    justify-content: center;
    min-width: 2.75rem;
  }

  .apmm__term-category > .apmm__link {
    min-height: 2.75rem;
  }

  .apmm__termousadka-catalog-root > .apmm__panel,
  .apmm__term-category > .apmm__panel {
    max-height: none;
    overflow: visible;
  }
}
