
.site-navbar {
  position: fixed; /* au lieu de sticky */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000; /* plus haut que tout */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.97),
    rgba(255, 255, 255, 0.92)
  );
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  pointer-events: none; /* garde ta logique d'origine */
}

/* ===== Toolbar (Filtres + Tri dans .container) ===== */
.toolbar {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  position: sticky;
  top: 64px; /* reste sous la navbar */
  z-index: 90;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.96),
    rgba(255, 255, 255, 0.9)
  );
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(2px);
}

/* Container interne de la toolbar : 2 lignes :
   1) Filtres (full width)
   2) Tri (aligné à droite) */
.toolbar .row-toolbar {
  row-gap: 0.5rem;
}

/* Filtres dropdown en pleine largeur du container */
.dropdown.filters {
  position: static;
} /* important: pas relative */
.dropdown.filters .dropdown-toggle {
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  color: #000;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.dropdown.filters .dropdown-toggle .bi {
  font-size: 1rem;
}

.dropdown.filters .dropdown-menu {
  width: 100%; /* prend toute la largeur du .container */
  height: auto;
  max-height: 70vh;
  overflow-y: auto;
  left: 0 !important; /* colle aux bords du .container */
  right: 0 !important;
  margin-top: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  padding: 0.75rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
}
/* Optionnel: limite douce sur écrans très larges */
@media (min-width: 1200px) {
  .dropdown.filters .dropdown-menu {
    max-width: 1100px;
    margin: auto;
  }
}

/* Tri (dropdown compact) */
.dropdown.sorter .dropdown-toggle {
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  color: #000;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Sections internes des filtres */
.filter-section {
  padding: 0.75rem;
  border-radius: 0.75rem;
}
.filter-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.color-swatch {
  --size: 28px;
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.color-swatch input {
  display: none;
}
.color-swatch.active {
  outline: 2px solid #000;
  outline-offset: 2px;
}
.price-out {
  font-weight: 700;
  min-width: 4ch;
  display: inline-block;
  text-align: right;
}

/* ===== Grille produits ===== */
.product-card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}
.product-img {
  aspect-ratio: 4/5;
  width: 100%;
  object-fit: cover;
  transition: transform 1.1s ease;
}
.product-card:hover .product-img {
  transform: scale(1.04);
}
.price {
  font-weight: 700;
}
.btn-ghost {
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  color: #000;
}
.btn-ghost:hover {
  background: #000;
  color: #fff;
}

/* ===== Fil d'Ariane ===== */
.breadcrumb-wrap {
  --bs-breadcrumb-divider: "›"; /* chevron fin */
}
.breadcrumb {
  margin: 0;
  padding: 0.25rem 0;
  font-size: 0.95rem;
  background: transparent;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(0, 0, 0, 0.45);
}
.breadcrumb a {
  color: #000;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb-wrap .inner {
  display: flex;
  overflow-x: auto; /* défilement si trop long */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  gap: 0.25rem;
}
.breadcrumb .breadcrumb-item.active {
  color: rgba(0, 0, 0, 0.6);
  font-weight: 600;
}

/* Pagination */
.products-pagination {
  display: flex;
  justify-content: center;
}
.products-pagination .page-link {
  color: #000;
}
.products-pagination .page-item.active .page-link {
  background: #e1e1e1;
  border: 2px solid #fff;
}
.products-pagination .page-link:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.15);
}

body {
  padding-top: 72px; /* hauteur de la navbar (~64px + marge) */
  min-width: 370px !important;
}
.text-ellipsis {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}