/* MARABIKA Breadcrumb UX v3 — semantic markup remains server-rendered. */
:root {
  --mbbx-ink: #332c27;
  --mbbx-muted: #655b53;
  --mbbx-accent: #9a744c;
  --mbbx-focus: #76522f;
}

/*
 * The impossible ID adds specificity without depending on a route ID. This
 * lets the module beat the legacy late-loaded identity.css declarations while
 * remaining isolated to the breadcrumb component. Checkout and the dark DNA
 * advisor keep their dedicated route designs.
 */
html body:not(#mbbx-specificity-guard):not(#checkout):not(#module-marabikaaiassistant-advisor) .m-breadcrumb.m-breadcrumb.m-breadcrumb {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--mbbx-muted) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  margin: 12px 0 18px !important;
  max-width: 100% !important;
  overflow: hidden !important;
  padding: 0 !important;
  width: 100% !important;
}

html body:not(#mbbx-specificity-guard):not(#checkout):not(#module-marabikaaiassistant-advisor) .m-breadcrumb.m-breadcrumb.m-breadcrumb .m-breadcrumb__list {
  align-items: center !important;
  display: flex !important;
  gap: 0 !important;
  list-style: none !important;
  margin: 0 !important;
  min-height: 36px !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 0 !important;
  scrollbar-width: none !important;
  width: 100% !important;
}

html body:not(#mbbx-specificity-guard):not(#checkout):not(#module-marabikaaiassistant-advisor) .m-breadcrumb.m-breadcrumb.m-breadcrumb .m-breadcrumb__list::-webkit-scrollbar {
  display: none !important;
}

html body:not(#mbbx-specificity-guard):not(#checkout):not(#module-marabikaaiassistant-advisor) .m-breadcrumb.m-breadcrumb.m-breadcrumb .m-breadcrumb__item {
  align-items: center !important;
  color: var(--mbbx-muted) !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  min-height: 36px !important;
  min-width: 0 !important;
  white-space: nowrap !important;
}

html body:not(#mbbx-specificity-guard):not(#checkout):not(#module-marabikaaiassistant-advisor) .m-breadcrumb.m-breadcrumb.m-breadcrumb .m-breadcrumb__item:not(:last-child)::after {
  border: solid var(--mbbx-accent) !important;
  border-width: 0 1.5px 1.5px 0 !important;
  box-sizing: border-box !important;
  content: "" !important;
  display: block !important;
  flex: 0 0 7px !important;
  height: 7px !important;
  margin: 0 12px 0 9px !important;
  transform: rotate(-45deg) !important;
  width: 7px !important;
}

html body:not(#mbbx-specificity-guard):not(#checkout):not(#module-marabikaaiassistant-advisor) .m-breadcrumb.m-breadcrumb.m-breadcrumb .m-breadcrumb__link,
html body:not(#mbbx-specificity-guard):not(#checkout):not(#module-marabikaaiassistant-advisor) .m-breadcrumb.m-breadcrumb.m-breadcrumb .m-breadcrumb__current {
  align-items: center !important;
  color: inherit !important;
  display: inline-flex !important;
  min-height: 36px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding: 0 2px !important;
  text-decoration: none !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body:not(#mbbx-specificity-guard):not(#checkout):not(#module-marabikaaiassistant-advisor) .m-breadcrumb.m-breadcrumb.m-breadcrumb .m-breadcrumb__link {
  font-weight: 700 !important;
}

html body:not(#mbbx-specificity-guard):not(#checkout):not(#module-marabikaaiassistant-advisor) .m-breadcrumb.m-breadcrumb.m-breadcrumb .m-breadcrumb__current {
  color: var(--mbbx-ink) !important;
  font-weight: 600 !important;
  max-width: 38ch !important;
}

html body:not(#mbbx-specificity-guard):not(#checkout):not(#module-marabikaaiassistant-advisor) .m-breadcrumb.m-breadcrumb.m-breadcrumb .m-breadcrumb__link:hover {
  color: var(--mbbx-focus) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
}

html body:not(#mbbx-specificity-guard):not(#checkout):not(#module-marabikaaiassistant-advisor) .m-breadcrumb.m-breadcrumb.m-breadcrumb .m-breadcrumb__link:focus-visible {
  border-radius: 5px !important;
  outline: 2px solid var(--mbbx-focus) !important;
  outline-offset: 3px !important;
}

@media (max-width: 767px) {
  html body:not(#mbbx-specificity-guard):not(#checkout):not(#module-marabikaaiassistant-advisor) .m-breadcrumb.m-breadcrumb.m-breadcrumb {
    font-size: 13px !important;
    line-height: 1.25 !important;
    margin: 4px 0 8px !important;
    overflow: visible !important;
  }

  html body:not(#mbbx-specificity-guard):not(#checkout):not(#module-marabikaaiassistant-advisor) .m-breadcrumb.m-breadcrumb.m-breadcrumb .m-breadcrumb__list {
    min-height: 44px !important;
    overflow: hidden !important;
  }

  html body:not(#mbbx-specificity-guard):not(#checkout):not(#module-marabikaaiassistant-advisor) .m-breadcrumb.m-breadcrumb.m-breadcrumb .m-breadcrumb__item {
    display: none !important;
  }

  html body:not(#mbbx-specificity-guard):not(#checkout):not(#module-marabikaaiassistant-advisor) .m-breadcrumb.m-breadcrumb.m-breadcrumb .m-breadcrumb__item:nth-last-child(2) {
    align-items: center !important;
    display: inline-flex !important;
    flex: 1 1 auto !important;
    max-width: 100% !important;
    min-height: 44px !important;
    overflow: hidden !important;
  }

  html body:not(#mbbx-specificity-guard):not(#checkout):not(#module-marabikaaiassistant-advisor) .m-breadcrumb.m-breadcrumb.m-breadcrumb .m-breadcrumb__item:nth-last-child(2)::before {
    border: solid var(--mbbx-accent) !important;
    border-width: 0 1.5px 1.5px 0 !important;
    box-sizing: border-box !important;
    content: "" !important;
    display: block !important;
    flex: 0 0 auto !important;
    height: 8px !important;
    margin-left: 3px !important;
    margin-right: 13px !important;
    transform: rotate(135deg) !important;
    width: 8px !important;
  }

  html body:not(#mbbx-specificity-guard):not(#checkout):not(#module-marabikaaiassistant-advisor) .m-breadcrumb.m-breadcrumb.m-breadcrumb .m-breadcrumb__item:nth-last-child(2)::after {
    display: none !important;
  }

  html body:not(#mbbx-specificity-guard):not(#checkout):not(#module-marabikaaiassistant-advisor) .m-breadcrumb.m-breadcrumb.m-breadcrumb .m-breadcrumb__item:nth-last-child(2) .m-breadcrumb__link {
    color: var(--mbbx-ink) !important;
    flex: 0 1 auto !important;
    font-weight: 700 !important;
    max-width: calc(100vw - 88px) !important;
    min-height: 44px !important;
    padding: 0 2px !important;
  }
}

@media (prefers-contrast: more) {
  html body:not(#mbbx-specificity-guard):not(#checkout):not(#module-marabikaaiassistant-advisor) .m-breadcrumb.m-breadcrumb.m-breadcrumb {
    --mbbx-muted: #403832;
    --mbbx-accent: #674726;
  }
}
