/* Brands navigation 1.0.0. Existing link typography is retained. */
@media (min-width: 992px) {
  .main-navbar .main-menu > #menu-item-14912 > .dropdown-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 440px;
    max-width: calc(100vw - 32px);
    left: auto;
    right: 0;
    max-height: var(--lfp-brands-menu-available-height, calc(100vh - 225px));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

.lfp-brands-panel[hidden] {
  display: none !important;
}

@media (max-width: 991px) {
  body.lfp-brands-panel-open {
    overflow: hidden;
  }

  .lfp-brands-panel {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    background: #fff;
    color: var(--bs-secondary, #242424);
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .3px;
    line-height: 45px;
    text-align: left;
    box-sizing: border-box;
    isolation: isolate;
  }

  .lfp-brands-panel__header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    flex: 0 0 auto;
    min-height: 64px;
    padding: env(safe-area-inset-top, 0px) 12px 0;
    border-bottom: 1px solid #eee;
    background: #fff;
  }

  .lfp-brands-panel__title {
    margin: 0;
    font: inherit;
    color: inherit;
  }

  .lfp-brands-panel__back,
  .lfp-brands-panel__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 44px;
    min-height: 48px;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    box-shadow: none;
    cursor: pointer;
  }

  .lfp-brands-panel__back {
    justify-self: start;
    color: var(--bs-primary, #ff7a00);
  }

  .lfp-brands-panel__close {
    justify-self: end;
  }

  .lfp-brands-panel__list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
  }

  .lfp-brands-panel__item {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .lfp-brands-panel__link {
    display: block;
    position: relative;
    padding: 0 25px;
    min-height: 45px;
    border-bottom: 1px solid #eee;
    color: inherit;
    background: #fff;
    font: inherit;
    letter-spacing: inherit;
    text-decoration: none;
  }

  .lfp-brands-panel__link:hover,
  .lfp-brands-panel__link:focus-visible,
  .lfp-brands-panel__back:hover,
  .lfp-brands-panel__close:hover {
    color: var(--bs-primary, #ff7a00);
    background: #fafafa;
  }

  .lfp-brands-panel__footer {
    flex: 0 0 auto;
    padding: 8px 20px calc(8px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #eee;
    background: #fff;
    text-align: center;
  }

  .lfp-brands-panel__all {
    display: block;
    min-height: 45px;
    color: var(--bs-primary, #ff7a00);
    font: inherit;
    text-decoration: none;
  }

  .lfp-brands-panel button:focus-visible,
  .lfp-brands-panel a:focus-visible {
    outline: 2px solid var(--bs-primary, #ff7a00);
    outline-offset: -3px;
  }
}

@media (min-width: 992px) {
  .main-navbar .main-menu > #menu-item-14912:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scaleY(1);
  }
}
@media (max-width: 991px) {
  .lfp-brands-panel__back:focus,
  .lfp-brands-panel__close:focus {
    background: transparent;
    box-shadow: none;
    text-decoration: none;
  }
  .lfp-brands-panel__back:focus {
    color: var(--bs-primary, #ff7a00);
  }
  .lfp-brands-panel__close:focus {
    color: inherit;
  }
}
@media (max-width: 991px) {
  html.lfp-brands-panel-open {
    overflow: hidden;
  }
  #lfp-brands-panel .lfp-brands-panel__back:focus,
  #lfp-brands-panel .lfp-brands-panel__close:focus {
    background: transparent !important;
    box-shadow: none !important;
  }
  #lfp-brands-panel .lfp-brands-panel__back:focus {
    color: var(--bs-primary, #ff7a00) !important;
  }
  #lfp-brands-panel .lfp-brands-panel__close:focus {
    color: var(--bs-secondary, #242424) !important;
  }
}
@media (max-width: 991px) {
  .lfp-brands-panel__link {
    min-height: 50px;
    padding-top: 2px;
    padding-bottom: 2px;
  }
  .lfp-brands-panel__back .fa {
    font-size: 18px;
  }
  .lfp-brands-panel__close .fa {
    font-size: 24px;
  }
}
/* The helper uses the browser top layer, above ordinary dialog z-index. */
body.lfp-brands-panel-open #lfp-quick-helper {
  visibility: hidden !important;
  pointer-events: none !important;
}