/* ===== extra.css — chargé APRÈS style.css ===== */

/* --- Pas de défilement horizontal (la page ne "glisse" plus sur le côté) --- */
html, body { max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

/* --- Barre de défilement fine, aux couleurs du site --- */
html { scrollbar-width: thin; scrollbar-color: #d7a1b8 #fdf1f4; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #fdf1f4; }
::-webkit-scrollbar-thumb {
  background: #d7a1b8;
  border-radius: 999px;
  border: 2px solid #fdf1f4;
}
::-webkit-scrollbar-thumb:hover { background: #b9798f; }

/* --- Cartes produit : mêmes proportions, ligne et bouton alignés --- */
.shop-card { display: flex; flex-direction: column; }
.shop-card .product-info { flex: 1 1 auto; display: flex; flex-direction: column; }
.shop-card .product-info h3 { box-sizing: border-box; }
.shop-card .product-footer { margin-top: auto; }

/* --- Filtres par catégorie --- */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin: 0 auto 2.2rem;
  padding: 0;
}
.shop-chip {
  appearance: none;
  border: 1.5px solid #8a4a63;
  background: #fff;
  color: #8a4a63;
  font: inherit;
  font-size: .92rem;
  font-weight: 500;
  line-height: 1;
  padding: .7rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: background .2s, color .2s, transform .2s;
}
.shop-chip:hover { transform: translateY(-1px); background: #fbeaf1; }
.shop-chip:focus-visible { outline: 3px solid #f0a9c3; outline-offset: 2px; }
.shop-chip.is-active { background: #8a4a63; color: #fff; }
.shop-chip-count {
  font-size: .74rem;
  opacity: .75;
  font-variant-numeric: tabular-nums;
}

/* --- Cartes produit : masquage / apparition --- */
.shop-card.is-hidden { display: none !important; }
.shop-card.shop-in { animation: shopIn .45s ease both; }
@keyframes shopIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
/* Les cartes ne dépendent plus de l'animation "reveal" au scroll */
.shop-card { opacity: 1; }

/* --- Bouton "Voir plus" --- */
.shop-more {
  display: flex;
  justify-content: center;
  margin-top: 2.4rem;
}
.shop-more[hidden] { display: none; }
.shop-more-btn {
  appearance: none;
  border: 1.5px solid #8a4a63;
  background: transparent;
  color: #8a4a63;
  font: inherit;
  font-weight: 500;
  padding: .9rem 1.8rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.shop-more-btn:hover { background: #8a4a63; color: #fff; }
.shop-more-btn:focus-visible { outline: 3px solid #f0a9c3; outline-offset: 2px; }

/* --- Réseaux sociaux du pied de page --- */
.f-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
  margin: 2.4rem 0 1.6rem;
  position: relative;
  z-index: 2;
}
.f-social {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  background: #fff;
  color: #8a4a63;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
  transition: transform .2s, box-shadow .2s;
}
.f-social:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, .16); }
.f-social:focus-visible { outline: 3px solid #f0a9c3; outline-offset: 2px; }
.f-social svg { width: 18px; height: 18px; flex: none; }

/* --- Badge version bêta --- */
.beta-badge {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .8rem;
  border-radius: 999px;
  background: rgba(138, 74, 99, .93);
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}
.beta-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffd36e;
}
.site-credit {
  margin: .5rem 0 0;
  font-size: .85rem;
  opacity: .85;
}
.beta-note {
  margin: .6rem 0 0;
  font-size: .82rem;
  opacity: .8;
}

/* --- Texte "Notre histoire" --- */
.about-story {
  margin: .9rem 0 1.6rem;
  line-height: 1.75;
  opacity: .88;
}

/* --- Mobile --- */
/* --- En-tête : bouton menu (mobile uniquement) --- */
.nav-burger {
  appearance: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: auto;
  border-radius: 50%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #5e2d44;
  transition: transform .25s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.nav-burger:focus-visible { outline: 3px solid #f0a9c3; outline-offset: 2px; }

.nav-menu { display: none !important; }

@media (max-width: 900px) {
  /* bouton "Commander" de l'en-tête : retiré sur mobile */
  .nav-cta { display: none !important; }
  .nav-burger { display: inline-flex; }
  .nav-menu:not([hidden]) {
    display: flex !important;
    flex-direction: column;
    gap: .15rem;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: .55rem;
    border-radius: 24px;
    background: rgba(255, 250, 248, .98);
    box-shadow: 0 14px 34px rgba(94, 45, 68, .2);
    z-index: 5;
  }
  .nav-menu a {
    display: block;
    padding: .95rem 1.1rem;
    border-radius: 16px;
    color: #5e2d44;
    font-size: 1.02rem;
    font-weight: 500;
    text-decoration: none;
  }
  .nav-menu a:hover,
  .nav-menu a:focus-visible { background: #fbeaf1; outline: none; }
}
@media (max-width: 700px) {
  .shop-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
    padding: 0 0 .3rem;
  }
  .shop-filters::-webkit-scrollbar { display: none; }
  .shop-chip { flex: none; }
  .f-social { padding: .65rem 1rem; font-size: .9rem; }
  /* laisse la place au badge bêta en bas de l'écran */
  .beta-note { margin-bottom: 3.6rem; }
}
