/**
 * Liscano Editorial Lab — Archive UX hotfix · 0.10.19
 *
 * Breadcrumbs live inside the real WooCommerce archive shell instead of
 * floating outside the grid. Uses existing Design System V2 color/spacing
 * tokens when present; does not affect product-detail or AURA templates.
 */

.lco-wc-main .lco-archive.lco-shell {
  padding-block-start: clamp(18px, 2.1vw, 32px);
}

.lco-wc-main .lco-archive.lco-shell > nav.woocommerce-breadcrumb.lco-archive-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 9px;
  row-gap: 7px;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  margin: 0 0 clamp(22px, 3.4vw, 44px);
  border: 0;
  background: transparent;
  color: var(--lco-ds-text-muted, #6d6d73);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  overflow-wrap: anywhere;
}

.lco-wc-main .lco-archive.lco-shell > nav.lco-archive-breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--lco-ds-text-muted, #6d6d73);
  font-size: inherit;
  font-weight: 500;
  text-decoration: none;
  text-transform: none;
  transition: color 150ms ease;
}

.lco-wc-main .lco-archive.lco-shell > nav.lco-archive-breadcrumbs a:hover {
  color: var(--lco-ds-accent, #c71336);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lco-wc-main .lco-archive.lco-shell > nav.lco-archive-breadcrumbs a:focus-visible {
  outline: 2px solid var(--lco-ds-ring, #be1a34);
  outline-offset: 3px;
  border-radius: 3px;
}

.lco-wc-main .lco-archive.lco-shell .lco-archive-breadcrumb-divider {
  color: #b5b5ba;
  font-weight: 400;
  user-select: none;
}

.lco-wc-main .lco-archive.lco-shell .lco-archive-breadcrumb-current {
  color: var(--lco-ds-text, #1c1c1f);
  font-weight: 700;
  overflow-wrap: anywhere;
}

/* Remove inherited headline top whitespace once breadcrumbs share the shell. */
.lco-wc-main .lco-archive.lco-shell > .lco-archive-head {
  padding-block-start: 0 !important;
  margin-block-start: 0 !important;
}
.lco-wc-main .lco-archive.lco-shell > .lco-archive-head h1 {
  margin-block-start: 0;
}

@media (max-width: 767px) {
  .lco-wc-main .lco-archive.lco-shell {
    padding-block-start: 17px;
  }
  .lco-wc-main .lco-archive.lco-shell > nav.woocommerce-breadcrumb.lco-archive-breadcrumbs {
    column-gap: 7px;
    row-gap: 5px;
    margin-block-end: 20px;
    font-size: 12px;
    line-height: 1.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lco-wc-main .lco-archive.lco-shell > nav.lco-archive-breadcrumbs a {
    transition: none;
  }
}
