/* ---------- Breadcrumb (Lovable ".breadcrumbs": small text, muted links, arrows between) ----------
   Markup: themes/tematikjums/breadcrumb.tpl (home link with the shop name, .navigation-pipe separators, the page's own {capture name=path}). */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 15px 0 22px; /* + the 10px page top margin = the 25px Lovable workspace padding */
  padding: 0 32px; /* same left edge as the header content (.site-header__container) */
  overflow: visible;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text); /* the current page: plain text, the links in front of it are muted */
  background: none;
  border: 0;
  border-radius: 0;
}
/* clearfix pseudo elements would become flex items (and add a gap) */
.breadcrumb::before,
.breadcrumb::after {
  display: none;
}
/* the page's path comes as one wrapper span (+ itemscope spans around links): lay it out the same way */
.breadcrumb .navigation_page {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.breadcrumb a,
.breadcrumb a:hover {
  position: static;
  display: inline;
  margin: 0;
  padding: 0;
  background: none;
  color: var(--color-text-muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--color-primary);
}
.breadcrumb a::before,
.breadcrumb a::after {
  display: none;
}
/* separator: Lucide ArrowRight instead of the ">" text */
.breadcrumb .navigation-pipe {
  display: inline-block;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  overflow: hidden;
  font-size: 0;
  text-indent: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a777a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

@media (max-width: 767px) {
  .breadcrumb {
    padding: 0 18px; /* header content inset on phones */
  }
}
