/* PE-Class v1.18.14
 * Galaxy Z Fold7 unfolded-only cascading navigation.
 * The desktop, MacBook, iPad, Fold7 folded, and iPhone navigation remain unchanged.
 */

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) body.foldCascadeNavOpen {
  overflow: hidden !important;
  overscroll-behavior: none;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .pe87Side {
  z-index: 4100 !important;
  overflow: visible !important;
  padding: 8px 12px !important;
  border-bottom: 1px solid #d7e1eb !important;
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 4px 14px rgba(15, 43, 70, .06) !important;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .sideTabs.foldCascadeSideTabs {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeNav {
  position: relative;
  width: 100%;
  min-width: 0;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeToolbar {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 50px;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeTrigger {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 26px;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 10px 0 16px !important;
  border: 1px solid #1f79d0 !important;
  border-radius: 11px !important;
  background: linear-gradient(135deg, #1989e5, #0f6fca) !important;
  box-shadow: 0 5px 13px rgba(20, 115, 214, .18) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  touch-action: manipulation;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeTrigger > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeChevron {
  display: grid;
  place-items: center;
  width: 26px;
  height: 30px;
  border-left: 1px solid rgba(255, 255, 255, .28);
  font-size: 13px;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeToolbarStatus {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  color: #5c7186;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.2;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeTerm {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef6fd;
  color: #1769b0;
  white-space: nowrap;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeSummary {
  min-width: 0;
  max-width: 390px;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeBackdrop {
  position: fixed !important;
  z-index: 1;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(20, 38, 55, .22) !important;
  -webkit-backdrop-filter: blur(1.5px);
  backdrop-filter: blur(1.5px);
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadePopover {
  position: absolute;
  z-index: 4;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: calc(100dvh - 150px);
  min-height: 330px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid #cbd9e6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(18, 48, 76, .24);
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  min-height: 43px;
  padding: 0 2px 9px;
  border-bottom: 1px solid #dce6ef;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadePath {
  min-width: 0;
  overflow: hidden;
  color: #526b82;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeClose {
  display: grid !important;
  place-items: center !important;
  flex: 0 0 70px;
  width: 70px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border: 1px solid #d3e0ec !important;
  border-radius: 9px !important;
  background: #f7fafc !important;
  color: #405a72 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-align: center !important;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadePanels {
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  min-height: 0;
  padding-top: 9px;
  overflow: hidden;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadePanel {
  display: grid;
  grid-template-rows: 30px minmax(0, 1fr);
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  padding-left: 8px;
  border-left: 1px solid #dce6ef;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeRootPanel {
  flex: 0 0 196px;
  padding-left: 0;
  border-left: 0;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadePanel > strong {
  display: grid;
  place-items: center;
  color: #6b7f92;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeOptions {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 0;
  padding-right: 2px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeOption {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 8px !important;
  overflow: hidden;
  border: 1px solid #d6e2ed !important;
  border-radius: 9px !important;
  background: #f9fbfd !important;
  box-shadow: none !important;
  color: #2e475f !important;
  font-size: 11.5px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-overflow: ellipsis;
  white-space: nowrap !important;
  touch-action: manipulation;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeOption:hover,
:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeOption:focus-visible {
  border-color: #8dbce8 !important;
  background: #eef7ff !important;
  outline: 2px solid rgba(20, 115, 230, .2);
  outline-offset: 1px;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeOption.active {
  border-color: #1473e6 !important;
  background: linear-gradient(135deg, #1b8dea, #116fce) !important;
  color: #fff !important;
}

:is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeEmpty {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 12px;
  border: 1px dashed #cedbe7;
  border-radius: 9px;
  color: #8294a5;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  word-break: keep-all;
}

@media (max-width: 840px) {
  :is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeToolbar {
    grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
  }

  :is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeRootPanel {
    flex-basis: 184px;
  }

  :is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeSummary {
    max-width: 250px;
  }

  :is(html.pe87FoldWide, html[data-pe-fold-wide="true"]) .foldCascadeOption {
    font-size: 11px !important;
  }
}

