@charset "utf-8";
.breadcrumb-nav {
  font-size: 14px;
}

/* Reset summary */
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

summary::-webkit-details-marker {
  display: none;
}

/* Chevron */
.chevron {
  display: inline-block;
  font-size: 18px;
  transition: transform 0.3s ease;
}

/* Breadcrumb list */
.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 6px 0 0;
  gap: 0;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.3s ease;
  transform: translateY(-4px);
}

.breadcrumb li + li::before {
  content: "›";
  margin: 0 6px;
  color: #888;
}

.breadcrumb a {
  color: #0066cc;
  text-decoration: none;
}

.breadcrumb .current {
  font-weight: 600;
  color: #000;
}

/* Open state */
details[open] .breadcrumb {
  opacity: 1;
  transform: translateY(0);
}

details[open] .chevron {
  transform: rotate(90deg);
}

/* 📱 Mobile only */
@media (max-width: 767px) {

  /* Closed: show only summary */
  .breadcrumb {
    pointer-events: auto;
  }

}

/* 🖥 Desktop: always expanded */
@media (min-width: 768px) {

  details {
    open: true;
  }

  summary {
    cursor: default;
  }

  .breadcrumb {
    opacity: 1;
    transform: none;
    margin-top: 0;
  }

  .chevron {
    display: none;
  }
}


