/* dutra-ux.css — Header floating + Back-to-top button */
/* Override sticky → fixed pour permettre la disparition au scroll-down
   sans casser le retour au scroll-up (sticky + transform = bug). */
.site-header {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  transition: transform .35s cubic-bezier(.4,0,.2,1), background .25s, box-shadow .25s, height .22s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
/* Compense le header fixed pour éviter que le contenu passe dessous. */
body {
  padding-top: var(--header-h, 72px);
}
.site-header.header--hidden {
  transform: translateY(-100%);
}

#back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--red, #C91530);
  color: #fff;
  border: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.85);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 9990;
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
#back-to-top:hover {
  background: #a51224;
  transform: translateY(-3px) scale(1.05);
}
#back-to-top svg { width: 22px; height: 22px; }

@media (max-width: 560px) {
  #back-to-top { bottom: 18px; right: 18px; width: 42px; height: 42px; }
  #back-to-top svg { width: 18px; height: 18px; }
}

/* ── Cohérence noms produits : tous en MAJUSCULES (display) ── */
.product-card .card-name,
.product-card .product-name,
.product-name,
.product-h1,
.breadcrumb-name,
.related-name,
.card-name,
#breadcrumb-name {
  text-transform: uppercase;
  letter-spacing: .02em;
}

/* ── Fil d'Ariane global — centré, auto-contrast ─────── */
.global-breadcrumb {
  background: transparent;
  border-bottom: none;
  padding: 18px 24px 10px;
}
.global-breadcrumb-inner {
  max-width: var(--max-w, 1200px);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  font-size: .8rem;
}
.global-breadcrumb a {
  color: var(--dark, #202221);
  text-decoration: none;
  font-weight: 500;
  transition: color .15s;
}
.global-breadcrumb a:hover { color: var(--red, #C91530); }
.global-breadcrumb svg {
  width: 11px; height: 11px;
  color: rgba(80,78,77,.45);
}
.global-breadcrumb .current {
  color: var(--red, #C91530);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
/* Variante sur fond foncé — auto via classe .global-breadcrumb--on-dark */
.global-breadcrumb--on-dark a { color: rgba(255,255,255,.85); }
.global-breadcrumb--on-dark a:hover { color: #fff; }
.global-breadcrumb--on-dark svg { color: rgba(255,255,255,.35); }
.global-breadcrumb--on-dark .current { color: #fff; }
