/* ==========================================
   STYLE LORIA AVEC SOUFFLE VIOLET PASTEL
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: #faf6f1;
  font-family: "Baloo 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #2b2333;
  overflow-x: hidden;
}
/* Fond violet fixe derrière tout le contenu.
   On passe par un pseudo-élément position:fixed (et NON
   "background-attachment: fixed" sur le body) car ce dernier n'est pas affiché
   par Safari sur iPhone/iPad -> le fond disparaissait sur mobile.
   Le nom du fichier est en minuscules ("LORIA.png") : le serveur Linux de
   Hostinger est sensible à la casse, "LORIA.PNG" ne se chargeait pas. */
/* Fond de page épuré (crème), à la Bellura : la couleur vient des accents
   (en-tête, boutons, footer) et des photos, pas d'un aplat violet plein. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #faf6f1;
}

/* Banderole violette défilante */
.announcement-bar {
  background-color: #ffffff;
  color: #8a64c0;
  border-bottom: 1px solid #ece3f5;
  padding: 10px 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  overflow: hidden;
  white-space: nowrap;
}
.announcement-track {
  display: inline-flex;
  width: max-content;
  animation: announcement-scroll 90s linear infinite;
}
.announcement-track span {
  padding: 0 40px;
}
@keyframes announcement-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .announcement-track {
    animation: none;
  }
  .announcement-bar {
    text-align: center;
  }
}

header {
  background-color: #b48ede;
  background-image: url("banner.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 100%;
  border-bottom: 1px solid rgba(74, 43, 109, 0.12);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 5%;
  min-height: 110px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.social-svg-icon {
  width: 22px;
  height: 22px;
  fill: #fbf6ff;
  transition: fill 0.2s ease, transform 0.2s ease;
}
.social-icon:hover .social-svg-icon {
  fill: #4a2b6d;
  transform: scale(1.1);
}
/* La bannière (fond de l'en-tête) affiche déjà "LORIA" : le logo n'est plus
   qu'une zone transparente cliquable au centre, qui renvoie à l'accueil. */
.logo {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
  width: 42%;
  max-width: 360px;
  text-indent: -9999px;
  overflow: hidden;
}

#main-nav {
  display: none;
}
#main-nav.nav-visible {
  display: block;
  position: relative;
  background-color: #fcfaf7;
  border-bottom: 1px solid #efe9f5;
  padding: 12px 5%;
}
/* Flèche retour discrète, en haut à gauche de la première image d'une catégorie */
.cat-back-btn {
  position: absolute;
  top: 6px;
  left: -56px;
  z-index: 5;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
/* Sur écrans moins larges (peu de marge), on la ramène tout à gauche */
@media (max-width: 1240px) {
  .cat-back-btn {
    left: 4px;
  }
}
.cat-back-btn:hover {
  opacity: 1;
  transform: translateX(-2px);
}
.cat-back-btn svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 3px rgba(74, 43, 109, 0.45));
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  justify-content: center;
}
.nav-links a {
  text-decoration: none;
  color: #2b2333;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
}
.nav-links a:hover {
  color: #8a64c0;
}
.dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  background: #ffffff;
  border: 1px solid #efe9f5;
  padding: 10px;
  list-style: none;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(138, 100, 192, 0.08);
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu li {
  margin: 8px 0;
}
.dropdown-menu a {
  font-size: 0.8rem;
  text-transform: none;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}
.header-auth-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-auth-buttons .btn-primary {
  padding: 8px 16px;
  font-size: 0.7rem;
}
.lang-selector {
  color: #f0e6fb;
}
.lang-selector button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Baloo 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  color: #f0e6fb;
}
.lang-selector button.active {
  font-weight: 600;
  color: #ffffff;
}
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}
/* Petit effet quand un bijou est ajouté au panier (sans ouvrir le tiroir) */
@keyframes cart-bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.3); }
  60% { transform: scale(0.92); }
  100% { transform: scale(1); }
}
.icon-btn.cart-bump {
  animation: cart-bump 0.5s ease;
}
.header-svg-icon {
  width: 22px;
  height: 22px;
  fill: #fbf6ff;
}
.header-svg-icon:hover {
  fill: #4a2b6d;
}
.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #4a2b6d;
  color: white;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  font-size: 0.65rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hidden {
  display: none !important;
}

/* PAGES INTERNES (site one-page, navigation en JS/ancre) */
.page-section {
  display: none;
}
.page-section.active {
  display: block;
}

/* HERO SECTOR VIOLET PASTEL */
.hero {
  padding: 80px 5%;
  text-align: center;
  background: linear-gradient(180deg, #f6f0fd 0%, #fcfaf7 100%);
}
.hero h1 {
  font-family: "Baloo 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 400;
  color: #bc9ae7;
}
.hero p {
  color: #6e6475;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.btn-primary {
  background: #8a64c0;
  color: white;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover {
  background: #7b52b6;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #8a64c0;
  padding: 13px 28px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  border: 1px solid #8a64c0;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
  text-align: center;
}
.btn-secondary:hover {
  background: #8a64c0;
  color: white;
}

/* Section "valeurs" : deux cartes (Acier inoxydable + Histoire) côte à côte */
.brand-values {
  padding: 55px 5%;
  background: #faf5ff;
  border-top: 1px solid #efe9f5;
}
.brand-values-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}
.value-card {
  background: linear-gradient(160deg, #f3ebfc 0%, #e6d8f7 100%);
  border: 1px solid #e4d6f5;
  border-radius: 18px;
  padding: 34px 34px 38px 34px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(74, 43, 109, 0.06);
}
.value-card h2 {
  font-family: "Baloo 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.55rem;
  font-weight: 500;
  margin: 0 0 14px 0;
  color: #4a2b6d;
}
.value-card h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 12px;
  background: #b89ee0;
  border-radius: 2px;
}
.value-card p {
  color: #5f5470;
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0;
}
@media (max-width: 760px) {
  .brand-values {
    padding: 40px 6%;
  }
  .brand-values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .value-card {
    padding: 26px 24px 30px 24px;
  }
}

.main-container {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 20px;
}
.collection-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  border-bottom: 1px solid #f0e6fc;
  padding-bottom: 10px;
}
.collection-row-header h2 {
  font-family: "Baloo 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: #4a2b6d;
}
.view-more-link {
  text-decoration: none;
  color: #8a64c0;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}
.view-more-link:hover {
  color: #6e4ba0;
}

/* GRILLE PRODUITS */
.products-grid {
  /* Flex (et non grid) pour que la DERNIÈRE ligne, quand elle est incomplète
     (ex : 4 produits sur 3 colonnes), soit CENTRÉE au lieu d'être collée à
     gauche. Le nombre de colonnes vient du sélecteur d'affichage. */
  --grid-gap: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--grid-gap);
}

/* Sélecteur d'affichage — style épuré à la Zara/Stradivarius :
   pas de cadre ni de fond, juste des icônes de grille. Inactif = gris clair,
   actif = noir. */
.grid-density-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin: 0 0 20px 0;
}
.grid-density-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border: none;
  background: none;
  color: #cfc8d6;
  cursor: pointer;
  transition: color 0.15s;
}
.grid-density-icon {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.grid-density-btn:hover {
  color: #8a7e93;
}
.grid-density-btn.is-active {
  color: #2b2333;
}
.product-card {
  /* Largeur calculée pour tenir --product-cols cartes par ligne (avec les
     gouttières). box-sizing:border-box (défini globalement) inclut le padding. */
  width: calc(
    (100% - (var(--product-cols, 3) - 1) * var(--grid-gap, 30px)) /
      var(--product-cols, 3)
  );
  background: #ffffff;
  border: 1px solid #efe9f5;
  border-radius: 6px;
  padding: 20px;
  text-align: center;
  position: relative;
  /* Flex colonne : permet au bouton "Ajouter au panier" (margin-top:auto,
     voir .add-btn) de toujours rester calé en bas de la carte, même quand
     le nom du bijou fait 1 ou 2 lignes selon sa longueur — sinon les
     boutons se retrouvaient à des hauteurs différentes d'une carte à
     l'autre sur une même rangée. */
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(138, 100, 192, 0.04);
}
.product-card h3 {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 15px 0 5px 0;
  color: #2b2333;
}
.product-card .price {
  font-size: 0.95rem;
  font-weight: 600;
  color: #8a64c0;
  margin-top: 5px;
}

/* Images conteneurs */
.card-img-holder {
  background: #fcfaf7;
  /* Vignette carrée qui s'adapte à la largeur de la colonne (2/3/4 par ligne)
     au lieu d'une hauteur fixe. */
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s;
}
.card-img-holder:hover {
  background-color: #f7f1fd;
}
.card-bow-icon {
  font-size: 2.5rem;
}

/* Badge violet pastel mignon */
.product-badge-new {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #f2eafa;
  color: #7b52b6;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid #e3d4f7;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* HISTOIRE ET REVIEWS DISCRETES */
.reviews-section {
  padding: 50px 0;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.reviews-section h2 {
  font-family: "Baloo 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  padding: 0 20px;
}
/* Défilement volontairement toujours actif (y compris prefers-reduced-motion) : le carrousel d'avis ne doit jamais s'arrêter. */
.reviews-track {
  display: flex;
  width: max-content;
  animation: reviews-scroll 45s linear infinite;
}
.reviews-track {
  display: flex;
  width: max-content;
  animation: reviews-scroll 45s linear infinite;
}
.review-box {
  flex: 0 0 300px;
  margin-right: 20px;
  background: white;
  border: 1px solid #efe9f5;
  padding: 20px;
  border-radius: 6px;
}
.stars {
  color: #8a64c0;
  margin-bottom: 10px;
}
@keyframes reviews-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.review-form-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 20px 60px 20px;
}
.review-form-section h2 {
  font-family: "Baloo 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 25px;
}
.review-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: white;
  border: 1px solid #efe9f5;
  border-radius: 6px;
  padding: 25px;
}
.review-form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.review-form-row label,
.review-form-row span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2b2333;
}
.review-form input[type="text"],
.review-form textarea {
  border: 1px solid #efe9f5;
  border-radius: 4px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.9rem;
  color: #2b2333;
}
.review-form textarea {
  resize: vertical;
  min-height: 90px;
}
.review-form-msg {
  font-size: 0.85rem;
  color: #8a64c0;
  min-height: 1.2em;
}
.review-form-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: #8a7e93;
  line-height: 1.4;
}

.star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}
.star-rating-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.star-rating-input label {
  font-size: 1.8rem;
  line-height: 1;
  color: #e3dcee;
  cursor: pointer;
}
.star-rating-input input:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
  color: #8a64c0;
}

/* Pastilles de catégories (accès rapide sur l'accueil) */
.quick-categories {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  padding: 35px 5% 25px 5%;
  background: #ffffff;
}
.quick-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  width: 130px;
}
.quick-cat-circle {
  position: relative;
  width: 130px;
  height: 130px;
  /* Forme "groovy" : rayons irréguliers -> contour ondulé organique */
  border-radius: 47% 53% 48% 52% / 56% 47% 53% 44%;
  border: 3px solid #aeb4bf;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, border-radius 0.4s ease;
}
/* Chaque bulle un peu différente pour un rendu plus organique */
.quick-cat-item:nth-child(3n) .quick-cat-circle {
  border-radius: 54% 46% 57% 43% / 45% 55% 45% 55%;
}
.quick-cat-item:nth-child(3n + 1) .quick-cat-circle {
  border-radius: 43% 57% 45% 55% / 52% 44% 56% 48%;
}
.quick-cat-item:hover .quick-cat-circle {
  transform: scale(1.06) rotate(-2deg);
  border-radius: 50% 50% 52% 48% / 50% 52% 48% 50%;
}
/* On mise sur le texte violet au centre : pas de photo dans la bulle */
.quick-cat-img {
  display: none;
}
.quick-cat-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.quick-cat-circle-label {
  position: relative;
  z-index: 1;
  color: #2b2333;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}
/* Bulle "Voir tout" : légèrement distincte (action) tout en restant douce. */
.quick-cat-circle-all {
  background: #faf6fe;
}
.quick-cat-circle-all .quick-cat-circle-label {
  color: #2b2333;
}

/* Bannière lifestyle sous les bulles de catégories */
/* Bannière promo accueil : une seule photo plein cadre, texte posé
   directement dessus (pas de bloc blanc séparé), en vrai HTML/police du
   site. */
.promo-photo-banner{
  width: 100%;
  height: 40vw;
  min-height: 320px;
  max-height: 520px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.promo-photo-banner-text{
  width: 38%;
  max-width: 440px;
  padding-right: 5%;
  text-align: center;
}
.promo-photo-banner-text h2{
  font-family: var(--nd-display);
  font-weight: 500;
  font-size: 2.1rem;
  line-height: 1.15;
  color: #2b2333;
  margin: 0 0 14px;
}
.promo-photo-banner-text p{
  font-family: var(--nd-ui);
  font-weight: 400;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #4a4350;
  margin: 0 0 20px;
}
@media (max-width: 760px) {
  .promo-photo-banner{
    height: auto; min-height: 340px; max-height: none;
    justify-content: center; padding: 30px 6%;
  }
  .promo-photo-banner-text{
    width: 100%; max-width: 420px; padding-right: 0;
  }
  /* Pas de bloc blanc sur mobile non plus (même esprit que le desktop) :
     le texte reste lisible sur la photo grâce à l'ombre portée, pas à un
     cadre qui semble déconnecté du reste du site. */
  .promo-photo-banner-text h2{
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0,0,0,.55);
  }
  .promo-photo-banner-text p{
    color: #fff;
    text-shadow: 0 1px 8px rgba(0,0,0,.55);
  }
}

.lifestyle-banner {
  position: relative;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 40vw;
  min-height: 380px;
  max-height: 560px;
  background: #c9a0dc url("backgroundbanderolle.png") center center / cover
    no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* Voile dégradé violet : ancre le texte sur la photo (au lieu de "posé dessus") */
.lifestyle-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(58, 33, 82, 0.62) 0%,
    rgba(74, 43, 109, 0.34) 42%,
    rgba(74, 43, 109, 0) 72%
  );
}
.lifestyle-banner-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
}
/* Petit trait d'accent au-dessus du titre pour une compo plus soignée */
.lifestyle-banner-overlay h2::before {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  border-radius: 2px;
  background: #ffffff;
  opacity: 0.9;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px rgba(58, 33, 82, 0.4);
}
.lifestyle-banner-overlay h2 {
  color: #ffffff;
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  max-width: 560px;
  margin: 0;
  text-shadow: 0 2px 12px rgba(58, 33, 82, 0.45);
  line-height: 1.15;
}
@media (max-width: 680px) {
  .lifestyle-banner-overlay h2 {
    font-size: 1.9rem;
  }
}

footer {
  background: linear-gradient(160deg, #e6d8f7 0%, #d3bdee 100%);
  color: #4a2b6d;
  padding: 0 20px 24px 20px;
  margin-top: 0;
  border-top: none;
}
/* Rangée de garanties (style Bellura) */
.footer-trust {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(74, 43, 109, 0.18);
}
.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-trust-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: #7a52b3;
}
.footer-trust-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4a2b6d;
  margin-bottom: 2px;
}
.footer-trust-item span {
  font-size: 0.78rem;
  color: #6e5a8a;
  line-height: 1.4;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding-top: 40px;
}
.footer-block h3 {
  font-family: "Baloo 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #4a2b6d;
}
.footer-block h4 {
  font-family: "Baloo 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #4a2b6d;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.footer-block p {
  font-size: 0.85rem;
  color: #6e5a8a;
  line-height: 1.6;
  margin: 0 0 8px 0;
}
.footer-block ul {
  list-style: none;
}
.footer-block ul li {
  font-size: 0.85rem;
  margin: 8px 0;
}
.footer-block a {
  color: #6e5a8a;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-block a:hover {
  color: #4a2b6d;
}
.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 14px;
}
.footer-socials .social-svg-icon {
  width: 24px;
  height: 24px;
  fill: #6e4ba0;
  transition: transform 0.2s ease, fill 0.2s ease;
}
.footer-socials .social-icon:hover .social-svg-icon {
  fill: #4a2b6d;
  transform: scale(1.12);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin: 12px 0 16px 0;
}
.newsletter-form input {
  flex-grow: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(74, 43, 109, 0.25);
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: "Baloo 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: rgba(255, 255, 255, 0.6);
  color: #4a2b6d;
}
.newsletter-form input::placeholder {
  color: #8a7ba3;
}
.newsletter-form button {
  padding: 10px 16px;
  font-size: 0.7rem;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.payment-badge {
  border: 1px solid rgba(74, 43, 109, 0.25);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #5a4780;
  background: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(74, 43, 109, 0.18);
  margin-top: 30px;
  padding-top: 20px;
  font-size: 0.75rem;
  color: #6e5a8a;
}

/* PAGES DE CONTENU STATIQUE (FAQ, CGV, contact...) */
.static-page {
  max-width: 800px;
  margin: 40px auto;
  padding: 60px 20px 80px 20px;
  background: #ffffff;
  border-radius: 10px;
}
.static-page h1 {
  font-family: "Baloo 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #2b2333;
}
.static-page .page-intro {
  color: #6e6475;
  font-size: 0.95rem;
  margin-bottom: 30px;
}
.static-page h2 {
  font-family: "Baloo 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.3rem;
  margin: 30px 0 10px 0;
  color: #4a2b6d;
}
.static-page p,
.static-page li {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #44394e;
  margin-bottom: 10px;
}
.static-page ul,
.static-page ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.static-page a {
  color: #8a64c0;
}

.faq-item {
  border-bottom: 1px solid #efe9f5;
  padding: 18px 0;
}
.faq-item h2 {
  margin-top: 0;
}
.faq-item p {
  margin-bottom: 0;
}

.simple-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
  margin-top: 20px;
}
.simple-form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6e6475;
  text-transform: uppercase;
  margin-bottom: -6px;
}
.simple-form input,
.simple-form textarea {
  padding: 12px 14px;
  border: 1px solid #d6cfcb;
  border-radius: 4px;
  font-family: "Baloo 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
}
.simple-form textarea {
  min-height: 120px;
  resize: vertical;
}

.track-order-result {
  max-width: 420px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 0.85rem;
  line-height: 1.6;
}
.track-order-result:empty {
  display: none;
}
.track-order-result.track-order-success {
  background: var(--nd-surface, #faf6fe);
  border: 1px solid var(--nd-line, #cbb3ec);
  color: var(--nd-ink, #4a2b6d);
}
.track-order-result.track-order-error {
  background: #fdf1ef;
  border: 1px solid #f0c9c2;
  color: #a13a2b;
}

.legal-disclaimer {
  background: #faf6fe;
  border: 1px dashed #cbb3ec;
  border-radius: 4px;
  padding: 14px;
  font-size: 0.8rem;
  color: #4a2b6d;
  margin-bottom: 30px;
}

/* PAGE ADMIN (produits, commandes, avis) */
.admin-page {
  max-width: 1100px;
}
.admin-status {
  background: #faf6fe;
  border: 1px dashed #cbb3ec;
  border-radius: 4px;
  padding: 16px;
  font-size: 0.9rem;
  color: #4a2b6d;
}
.admin-status.hidden,
.admin-panel.hidden {
  display: none;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #efe9f5;
  margin-bottom: 24px;
}
.admin-tab {
  background: none;
  border: none;
  padding: 12px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6e6475;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  text-transform: uppercase;
}
.admin-tab.active {
  color: #8a64c0;
  border-bottom-color: #8a64c0;
}

.admin-section {
  display: none;
}
.admin-section.active {
  display: block;
}

.admin-inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.admin-inline-form input,
.admin-inline-form select {
  padding: 10px 12px;
  border: 1px solid #d6cfcb;
  border-radius: 4px;
  font-family: "Baloo 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
}
.admin-inline-form input[type="number"] {
  width: 110px;
}
.admin-inline-form input[type="text"]:not([name="image"]) {
  width: 160px;
}

.admin-msg {
  font-size: 0.85rem;
  color: #8a64c0;
  min-height: 1.2em;
  margin-bottom: 10px;
}

/* Boîte "Activer les notifications" (app LORIA / push) dans l'onglet Commandes */
.admin-push-box {
  border: 1px solid #ece3d4;
  background: #faf7f1;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 24px;
}
.admin-push-text {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: #5a4a34;
}
.admin-push-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.admin-btn-secondary {
  background: transparent;
  border: 1px solid #cbb890;
  color: #7a6440;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
}
.admin-btn-secondary:hover { background: #f0e8d8; }

.admin-table-wrap {
  overflow-x: auto;
  margin-bottom: 40px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.admin-table th {
  text-align: left;
  padding: 10px 12px;
  background: #faf6fe;
  color: #4a2b6d;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}
.admin-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #efe9f5;
  vertical-align: middle;
}
.admin-table input,
.admin-table select {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #d6cfcb;
  border-radius: 4px;
  font-family: "Baloo 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
}
.admin-table .admin-edit-name {
  min-width: 220px;
}
.admin-row-dirty td {
  background: #fff6db;
}
.admin-no-finish {
  color: #b8b2a8;
  font-style: italic;
}
.admin-group-row td {
  background: #4a2b6d;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding: 8px 12px;
}
.admin-row-actions {
  display: flex;
  gap: 6px;
  white-space: nowrap;
}
.admin-row-actions button,
.admin-table .admin-btn-delete {
  border: none;
  border-radius: 4px;
  padding: 7px 10px;
  font-size: 0.75rem;
  cursor: pointer;
}
.admin-btn-save {
  background: #8a64c0;
  color: white;
}
.admin-btn-delete {
  background: #fbeaea;
  color: #c84b31;
}

.admin-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
}
.admin-badge-ok {
  background: #e7f5e8;
  color: #2e7d32;
}
.admin-badge-pending {
  background: #fff3e0;
  color: #b8721a;
}
.admin-muted {
  color: #a39da8;
  font-size: 0.78rem;
  font-style: italic;
}

.admin-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  cursor: pointer;
}
.admin-checkbox input {
  width: auto;
}

/* =========================================================================
   ONGLET "FACTURE MANUELLE" (admin.html) — ventes Vinted / main propre.
   Formulaire à gauche (classes mi-*) + aperçu à droite qui reproduit le
   rendu réel de la facture (classes inv-*, mêmes couleurs que
   server/src/invoiceTemplate.js) pour une fidélité visuelle totale avant
   impression/export PDF.
   ========================================================================= */
.manual-invoice-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 40px;
}
.manual-invoice-form {
  flex: 1 1 320px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
}
.manual-invoice-form label {
  display: block;
  font-size: 0.74rem;
  color: #8a64c0;
  margin: 12px 0 4px;
}
.manual-invoice-form label:first-child {
  margin-top: 0;
}
.manual-invoice-form input[type="text"],
.manual-invoice-form input[type="number"],
.manual-invoice-form input[type="email"],
.manual-invoice-form select,
.manual-invoice-form textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #d6cfcb;
  border-radius: 4px;
  font-family: "Baloo 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  color: #1C1A19;
}
.manual-invoice-form textarea {
  resize: vertical;
  min-height: 54px;
}
.manual-invoice-form h3 {
  font-size: 0.95rem;
  margin: 20px 0 8px;
}
.manual-invoice-checkbox {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 14px !important;
  color: #1C1A19 !important;
  font-size: 0.85rem !important;
}
.manual-invoice-checkbox input {
  width: auto !important;
}
.mi-item-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  border: 1px solid #efe9f5;
  border-radius: 4px;
  padding: 8px;
  margin-bottom: 8px;
}
.mi-item-row .mi-item-name { flex: 1 1 140px; }
.mi-item-row .mi-item-finish { flex: 1 1 100px; }
.mi-item-row .mi-item-qty { width: 60px; flex: 0 0 60px; }
.mi-item-row .mi-item-price { width: 80px; flex: 0 0 80px; }
.mi-item-row .mi-item-remove {
  border: none;
  background: none;
  color: #a39da8;
  cursor: pointer;
  font-size: 0.9rem;
  flex: 0 0 auto;
}
.mi-item-row .mi-item-remove:hover { color: #c84b31; }
.manual-invoice-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.manual-invoice-actions.hidden { display: none; }
.manual-invoice-preview {
  flex: 1 1 420px;
  min-width: 320px;
}

/* ---- Rendu de la facture (identique à l'email envoyé par le site) ---- */
.invoice-card {
  max-width: 640px;
  width: 100%;
  background: #FFFFFF;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #E4DDD1;
  font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}
.inv-header { background: #B48EDE; padding: 28px 32px; }
.inv-header table { width: 100%; border-collapse: collapse; }
.inv-header img { height: 56px; width: 56px; display: block; border-radius: 4px; object-fit: cover; }
.inv-label { font-size: 0.68rem; color: #FBF6EC; text-transform: uppercase; letter-spacing: 0.2em; }
.inv-number { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.2rem; color: #fff; margin-top: 6px; }
.inv-body { padding: 32px; }
.inv-cols { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.inv-cols td { vertical-align: top; width: 33%; padding-right: 16px; font-size: 0.8rem; line-height: 1.6; color: #1C1A19; }
.inv-eyebrow { margin: 0 0 8px; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em; color: #8C857C; font-weight: 400; }
table.inv-items { width: 100%; border-collapse: collapse; border: 1px solid #E4DDD1; margin-bottom: 4px; }
table.inv-items th {
  background: #1C1A19; color: #fff; font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.12em; font-weight: 400; padding: 10px 16px; text-align: left;
}
table.inv-items th.inv-num, table.inv-items td.inv-num { text-align: center; }
table.inv-items th.inv-right, table.inv-items td.inv-right { text-align: right; }
table.inv-items td { padding: 12px 16px; border-bottom: 1px solid #E4DDD1; color: #1C1A19; }
.inv-item-name { font-weight: 600; }
.inv-item-finish { font-size: 0.75rem; color: #8C857C; margin-top: 2px; }
.inv-item-count { margin: 6px 0 24px; font-size: 0.72rem; color: #8C857C; }
.inv-totals-wrap { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.inv-totals-box { width: 260px; margin-left: auto; border-collapse: collapse; background: #F6F2EB; border: 1px solid #E4DDD1; }
.inv-totals-box td { padding: 8px 16px; font-size: 0.85rem; color: #1C1A19; }
.inv-totals-box td.inv-label { color: #8C857C; }
.inv-totals-box td.inv-right { text-align: right; }
.inv-totals-box .inv-vat-row td { padding: 0 16px 8px; font-size: 0.7rem; color: #8C857C; }
.inv-totals-box .inv-grand td {
  padding: 14px 16px; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500;
  font-size: 1.2rem; border-top: 1px solid #1C1A19; color: #1C1A19;
}
.inv-totals-box .inv-grand td.inv-right { color: #6B4CA6; white-space: nowrap; }
.inv-paid-badge {
  display: inline-block; background: #F3F8F3; border: 1px solid rgba(46,125,50,0.3);
  border-radius: 2px; padding: 9px 18px; margin-bottom: 28px; font-size: 0.75rem;
}
.inv-paid-badge .inv-tag { color: #2E7D32; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; font-size: 0.72rem; }
.inv-paid-badge .inv-detail { color: #4b6b4d; }
.inv-footnote { font-size: 0.8rem; color: #8C857C; line-height: 1.6; }
.inv-footnote a { color: #6B4CA6; }
.inv-legal { background: #F6F2EB; padding: 18px 32px; border-top: 1px solid #E4DDD1; font-size: 0.7rem; color: #8C857C; line-height: 1.6; }

body.printing-invoice > header,
body.printing-invoice > footer,
body.printing-invoice .static-page > h1,
body.printing-invoice .static-page > p.page-intro,
body.printing-invoice #admin-status,
body.printing-invoice .admin-tabs,
body.printing-invoice .manual-invoice-form,
body.printing-invoice .manual-invoice-actions,
body.printing-invoice #admin-tab-facture > h2,
body.printing-invoice #admin-tab-facture > .admin-table-wrap {
  display: none !important;
}
body.printing-invoice .manual-invoice-preview { min-width: 0; }
@media print {
  .invoice-card { max-width: 100%; border: none; border-radius: 0; }
  @page { margin: 12mm; }
}

/* TIROIR PANIER */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  /* 100dvh (hauteur de viewport "dynamique") en plus du 100% ci-dessus :
     sur mobile, la barre d'adresse qui apparaît/disparaît fait que "100%"
     peut dépasser l'espace réellement visible, coupant le bas du panier
     (bouton "Passer à la caisse") sans que ça scrolle. */
  height: 100dvh;
  background: white;
  z-index: 2000;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.05);
  /* Caché hors écran via transform (et non "right: -420px") : une position
     négative sur un élément fixed crée un défilement horizontal parasite sur
     mobile. Le transform déplace visuellement le panier sans élargir la page. */
  transform: translateX(100%);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open {
  transform: translateX(0);
}
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1999;
  display: none;
}
.cart-overlay.visible {
  display: block;
}
.cart-header {
  padding: 20px;
  border-bottom: 1px solid #efe9f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #faf7fe;
}
.close-cart-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.cart-body {
  padding: 20px;
  flex-grow: 1;
  /* min-height:0 est nécessaire en plus de flex-grow dans un conteneur flex
     en colonne : sans lui, certains navigateurs mobiles refusent de faire
     rétrécir cette zone sous la hauteur de son contenu, ce qui pousse le
     panier à déborder au lieu de scroller (le bas du panier devient
     inaccessible et la liste d'articles semble figée). */
  min-height: 0;
  overflow-y: auto;
}
.cart-footer {
  padding: 20px;
  background: #fcfaf7;
  border-top: 1px solid #efe9f5;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
/* Pied du panier très compact sur mobile : le mode de livraison (2 options
   avec icône) + le détail des prix prenaient à eux seuls presque tout
   l'écran, ne laissant quasi plus de place pour voir les articles du panier
   au-dessus (qui, eux, ne défilaient donc plus de façon visible). */
@media (max-width: 480px) {
  .cart-footer { padding: 12px 16px; gap: 6px; }
  .shipping-method-block { gap: 6px; padding-bottom: 10px; }
  .shipping-method-option { padding: 8px 10px; gap: 8px; font-size: 0.78rem; }
  .shipping-method-icon { width: 15px; height: 15px; }
  .shipping-method-note { margin-top: 2px !important; }
  .cart-total-row { font-size: 0.85rem; }
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-weight: 500;
}
.cart-grand-total-row {
  font-weight: 700;
  font-size: 1.05rem;
  padding-top: 8px;
  border-top: 1px solid #efe9f5;
}
.cart-discount-row {
  color: #2e7d32;
  font-size: 0.85rem;
}
.cart-discount-amount {
  color: #2e7d32;
}
.cart-item-discount-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #2e7d32;
  margin: -2px 0 8px 0;
}
.shipping-method-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--nd-line, #efe9f5);
}
.shipping-method-title {
  font-family: var(--nd-ui, inherit);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--nd-muted, #6e6475);
  margin: 0 0 2px;
}
.shipping-method-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--nd-line, #efe9f5);
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--nd-ui, inherit);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--nd-ink, #2b2333);
  background: var(--nd-surface, #fff);
  transition: border-color .15s ease, background-color .15s ease;
}
.shipping-method-option:hover {
  border-color: var(--nd-violet, #8a64c0);
}
.shipping-method-option:has(input:checked) {
  border-color: var(--nd-violet-deep, #8a64c0);
  background: var(--nd-lilac, #faf7fe);
}
/* Radio natif accessible mais invisible : on dessine notre propre pastille. */
.shipping-method-option input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.shipping-method-radio {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1.5px solid var(--nd-line, #cfc7da);
  border-radius: 50%;
  transition: border-color .15s ease;
}
.shipping-method-option input:checked + .shipping-method-radio {
  border-color: var(--nd-violet-deep, #8a64c0);
}
.shipping-method-option input:checked + .shipping-method-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--nd-violet-deep, #8a64c0);
}
.shipping-method-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--nd-muted, #6e6475);
  transition: color .15s ease;
}
.shipping-method-option input:checked ~ .shipping-method-icon {
  color: var(--nd-violet-deep, #8a64c0);
}
.shipping-method-option-label {
  flex-grow: 1;
}
.shipping-method-price {
  font-weight: 500;
  color: var(--nd-ink, #2b2333);
  font-variant-numeric: tabular-nums;
}
.relay-point-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--nd-ui, inherit);
  font-size: 0.8rem;
  padding-top: 2px;
}
.relay-point-field label {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 0.7rem;
  color: var(--nd-muted, #6e6475);
}
.relay-search-row {
  display: flex;
  gap: 8px;
}
.relay-search-row input {
  flex-grow: 1;
  padding: 10px 12px;
  border: 1px solid var(--nd-line, #efe9f5);
  border-radius: 2px;
  font-family: var(--nd-ui, inherit);
  font-size: 0.85rem;
  background: var(--nd-surface, #fff);
  color: var(--nd-ink, #2b2333);
}
.relay-search-row input:focus {
  outline: none;
  border-color: var(--nd-violet, #8a64c0);
}
.relay-search-row .btn-secondary {
  padding: 0 18px;
  font-size: 0.68rem;
  white-space: nowrap;
}
.relay-search-msg {
  font-size: 0.78rem;
  color: var(--nd-muted, #6e6475);
  margin: 0;
}
.relay-points-results {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
}
.relay-point-option {
  display: block;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--nd-line, #efe9f5);
  border-radius: 2px;
  background: var(--nd-surface, #fff);
  cursor: pointer;
  font-family: var(--nd-ui, inherit);
  font-size: 0.8rem;
  transition: border-color .15s ease, background-color .15s ease;
}
.relay-point-option:hover {
  border-color: var(--nd-violet, #8a64c0);
}
.relay-point-option.selected {
  border-color: var(--nd-violet-deep, #8a64c0);
  background: var(--nd-lilac, #faf7fe);
}
.relay-point-option strong {
  display: block;
  font-weight: 500;
  color: var(--nd-ink, #2b2333);
}
.relay-point-option span {
  color: var(--nd-muted, #6e6475);
  font-size: 0.75rem;
}
.relay-point-field input {
  padding: 10px 12px;
  border: 1px solid var(--nd-line, #efe9f5);
  border-radius: 2px;
  font-size: 0.85rem;
}
.cart-qty-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-qty-stepper button {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #8a64c0;
  background: white;
  color: #8a64c0;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.cart-qty-stepper button:hover {
  background: #8a64c0;
  color: white;
}
.cart-qty-stepper span {
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 16px;
  text-align: center;
}

/* QUICKVIEW MODAL POPUP */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 35, 51, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 15px;
  backdrop-filter: blur(2px);
}
.modal-overlay.open {
  display: flex;
}
.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 780px;
  border-radius: 8px;
  padding: 25px;
  position: relative;
  box-shadow: 0 10px 30px rgba(74, 43, 109, 0.12);
}
.close-modal-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #2b2333;
}

/* CONNEXION / CREATION DE COMPTE (Supabase Auth) */
.auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 35, 51, 0.4);
  z-index: 3000;
  display: none;
}
.auth-overlay.open {
  display: block;
}
.auth-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  border-radius: 8px;
  padding: 30px 25px;
  box-shadow: 0 10px 30px rgba(74, 43, 109, 0.12);
  z-index: 3001;
}
.auth-modal.open {
  display: block;
}
.auth-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.auth-tab {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid #efe9f5;
  padding: 10px 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6e6475;
  cursor: pointer;
  text-transform: uppercase;
}
.auth-tab.active {
  color: #8a64c0;
  border-bottom-color: #8a64c0;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2b2333;
}
.auth-form input {
  border: 1px solid #cbb3ec;
  border-radius: 4px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.9rem;
  color: #2b2333;
}
.auth-form-msg {
  font-size: 0.85rem;
  color: #8a64c0;
  min-height: 1.2em;
}
.auth-forgot-row {
  margin-top: -6px;
  text-align: right;
}
.auth-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: #8a64c0;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
}
.auth-link-btn:hover {
  color: #4a2b6d;
}
.header-user-email {
  font-size: 0.8rem;
  color: #2b2333;
  font-weight: 500;
}

/* HISTORIQUE DES COMMANDES DE LA CLIENTE */
.orders-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 35, 51, 0.4);
  z-index: 3000;
  display: none;
}
.orders-overlay.open {
  display: block;
}
.orders-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  width: 100%;
  max-width: 560px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 8px;
  padding: 30px 25px;
  box-shadow: 0 10px 30px rgba(74, 43, 109, 0.12);
  z-index: 3001;
}
.orders-modal.open {
  display: block;
}
.orders-modal h3 {
  margin-bottom: 18px;
}
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.order-card {
  border: 1px solid #efe9f5;
  border-radius: 6px;
  padding: 16px;
}
.favorite-card{
  display:flex; align-items:center; gap:10px; padding:10px 12px;
}
.favorite-card-row{
  flex-grow:1; display:flex; align-items:center; gap:14px; cursor:pointer;
  min-width:0;
}
.favorite-card-img{
  width:56px; height:56px; object-fit:cover; border-radius:4px;
  flex-shrink:0; background:#fcfaf7;
}
.favorite-card-info{ min-width:0; }
.favorite-card-info h5{
  margin:0; font-size:.85rem; font-weight:500; color:var(--nd-ink,#2b2333);
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.favorite-card-info p{
  margin:4px 0 0; font-size:.8rem; font-weight:600; color:#8a64c0;
}
.favorite-remove-btn{
  flex-shrink:0; width:28px; height:28px; border-radius:50%;
  border:1px solid #efe9f5; background:#fff; color:#8c857c;
  font-size:1rem; line-height:1; cursor:pointer;
  transition:background .15s ease, color .15s ease;
}
.favorite-remove-btn:hover{ background:#f6f2eb; color:#c0567f; }
.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 6px;
}
.order-card-number {
  font-weight: 600;
  color: #2b2333;
  font-size: 0.85rem;
}
.order-card-date {
  font-size: 0.75rem;
  color: #6e6475;
}
.order-status-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}
.order-status-paid {
  background: #e7f5e8;
  color: #2e7d32;
}
.order-status-pending {
  background: #fdf3e3;
  color: #b8860b;
}
.order-shipped-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  background: #ede7f9;
  color: #4a2b6d;
}
.order-card-items {
  font-size: 0.8rem;
  color: #2b2333;
  margin: 0 0 8px 0;
  padding-left: 18px;
}
.order-card-items li {
  margin: 3px 0;
}
.order-card-tracking {
  font-size: 0.78rem;
  color: #4a2b6d;
  margin: 0 0 6px 0;
}
.order-card-total {
  text-align: right;
  font-weight: 700;
  color: #8a64c0;
  font-size: 0.9rem;
}
.orders-empty-msg,
.orders-error-msg {
  font-size: 0.85rem;
  color: #6e6475;
  text-align: center;
  padding: 20px 0;
}

.signup-only-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.signup-only-field.hidden {
  display: none;
}
.auth-form-row {
  display: flex;
  gap: 10px;
}
.auth-form-row > * {
  flex: 1;
  min-width: 0;
}
.auth-form-row input {
  width: 100%;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 25px;
}
@media (max-width: 680px) {
  .modal-grid {
    grid-template-columns: 1fr;
  }
  .modal-card {
    max-height: 90vh;
    overflow-y: auto;
    padding: 15px;
  }
}

.modal-img-container {
  background: #fff;
  height: 100%;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  border-radius: 6px;
  border: 1px solid #eee;
  overflow: hidden;
}
.modal-product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  background: #fcfaf7;
  flex-shrink: 0;
}
.modal-right h2 {
  font-family: "Baloo 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.8rem;
  margin-bottom: 5px;
  font-weight: 600;
  color: #2b2333;
}
.modal-product-price {
  font-size: 1.3rem;
  font-weight: 600;
  color: #8a64c0;
  margin-bottom: 10px;
}
.modal-sep {
  border: 0;
  border-top: 1px solid #efe9f5;
  margin: 15px 0;
}

.modal-option-row {
  margin-bottom: 15px;
}
.modal-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #6e6475;
  display: block;
  margin-bottom: 6px;
}

.color-options-wrap {
  display: flex;
  gap: 14px;
}
.color-choice-item input {
  display: none;
}
.color-choice-box {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.color-choice-box:hover {
  transform: scale(1.08);
}
.color-choice-box.color-choice-or {
  background: linear-gradient(135deg, #f7d98c, #c89b3c);
}
.color-choice-box.color-choice-argent {
  background: linear-gradient(135deg, #f0f0f0, #b8b8b8);
}
.color-choice-item input:checked + .color-choice-box {
  border-color: #1a1a1a;
  box-shadow: 0 0 0 2px rgba(26, 26, 26, 0.25);
}
.color-choice-box.color-choice-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  filter: grayscale(1);
  transform: none;
}

/* Pastilles or / argent sur les cartes produits, alignées à gauche.
   Hauteur toujours réservée (même vide, pour les bijoux à une seule
   finition) pour que le nom/prix/bouton restent à la même hauteur d'une
   carte à l'autre sur une même ligne — sinon les cartes sans pastille
   remontaient et désalignaient toute la rangée. */
.card-color-dots {
  display: flex;
  gap: 6px;
  justify-content: flex-start;
  margin-top: 10px;
  min-height: 16px;
}
.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.color-dot-or {
  background: linear-gradient(135deg, #f7d98c, #c89b3c);
}
.color-dot-argent {
  background: linear-gradient(135deg, #f0f0f0, #b8b8b8);
}
.color-dot-out {
  opacity: 0.3;
  filter: grayscale(1);
}

.qty-selector-box {
  display: inline-flex;
  border: 1px solid #d6cfcb;
  border-radius: 4px;
  overflow: hidden;
}
.qty-selector-box button {
  width: 34px;
  height: 34px;
  background: #fcfaf7;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}
.qty-selector-box input {
  width: 40px;
  text-align: center;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  -moz-appearance: textfield;
}
.qty-selector-box input::-webkit-outer-spin-button,
.qty-selector-box input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.shipping-info-block {
  background: #faf6fe;
  border: 1px dashed #cbb3ec;
  padding: 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 15px;
  line-height: 1.4;
}
.shipping-info-block p {
  font-weight: 500;
  color: #4a2b6d;
}

.quality-badges-list {
  list-style: none;
  margin: 15px 0;
  padding: 0;
}
.quality-badges-list li {
  font-size: 0.8rem;
  color: #6e6475;
  margin-bottom: 4px;
}

/* ACCORDÉON */
.accordion-container {
  border: 1px solid #efe9f5;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 15px;
}
.accordion-trigger {
  width: 100%;
  background: #fcfaf7;
  border: none;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: "Baloo 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.accordion-arrow-icon {
  font-size: 0.65rem;
  transition: transform 0.2s;
  color: #6e6475;
}
.accordion-trigger.active .accordion-arrow-icon {
  transform: rotate(180deg);
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
  background: white;
}
.accordion-inner-text {
  padding: 14px;
  font-size: 0.8rem;
  color: #44394e;
  line-height: 1.5;
}

/* MINI ASSISTANT LORIA (chatbot par mots-clés) */
.chatbot-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #8a64c0;
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(74, 43, 109, 0.35);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chatbot-toggle:hover {
  background: #7b52b6;
}

.chatbot-window {
  position: fixed;
  bottom: 88px;
  right: 20px;
  width: 320px;
  max-width: calc(100vw - 40px);
  height: 420px;
  max-height: calc(100vh - 140px);
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(43, 35, 51, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 4000;
  border: 1px solid #efe9f5;
}
.chatbot-window.open {
  display: flex;
}
.chatbot-header {
  background: #8a64c0;
  color: white;
  padding: 14px 16px;
  font-family: "Baloo 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
}
.chatbot-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fcfaf7;
}
.chatbot-msg {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.4;
  white-space: pre-line;
}
.chatbot-msg.bot {
  background: #f2eafa;
  color: #2b2333;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.chatbot-msg.user {
  background: #8a64c0;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}
.chatbot-form {
  display: flex;
  border-top: 1px solid #efe9f5;
}
.chatbot-form input {
  flex-grow: 1;
  min-width: 0;
  border: none;
  padding: 12px;
  font-family: "Baloo 2", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
}
.chatbot-form button {
  background: #8a64c0;
  color: white;
  border: none;
  padding: 0 16px;
  cursor: pointer;
  font-size: 1rem;
}
.chatbot-form button:hover {
  background: #7b52b6;
}

/* --- CONFIGURATION GENERALE DES PHOTOS DE PRODUITS --- */
.card-img-holder {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Remplit parfaitement le cadre carré sans déformer l'image */
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

/* Collier Chaîne d'Ancre : photo plus haute que large, le recadrage carré
   (object-fit: cover) coupait toujours un bout (haut ou bas) du collier.
   On affiche la photo entière, dézoomée, sans la rogner. */
img[src="collier-chaine-ancre.png"].product-card-img {
  object-fit: contain;
  object-position: center;
}

/* Ensemble Cœur Doré : photo large (collier + boucles d'oreilles), le
   recadrage carré coupait le contenu. Affichage en entier, dézoomé. */
img[src="ensemble-coeur-dore.png"].product-card-img {
  object-fit: contain;
  object-position: center;
}

/* Jonc Soleil (or/argent) : photo trop zoomée, le recadrage carré rendait
   les deux bouts du bracelet trop proches/coupés. Affichage dézoomé. */
img[src="bracelet-jonc-soleil-or.png"].product-card-img,
img[src="bracelet-jonc-soleil-argent.png"].product-card-img,
img[src="bracelet-jonc-soleil-or-card.png"].product-card-img,
img[src="bracelet-jonc-soleil-argent-card.png"].product-card-img {
  object-fit: contain;
  object-position: center;
}

/* =========================================================================
   RESPONSIVE MOBILE (téléphones)
   Corrige le débordement horizontal : sur petit écran, le header tenait sur
   une seule ligne trop large et poussait toute la page hors de l'écran, ce
   qui coupait le contenu à droite. On allège le header et on adapte les
   sections au format téléphone.
   ========================================================================= */
@media (max-width: 680px) {
  /* Rien ne doit dépasser l'écran horizontalement */
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }
  img {
    max-width: 100%;
  }

  /* HEADER mobile : mise en page en grille 3 zones (icônes réseaux | logo
     centré | icônes compte/panier à droite). Le logo reste centré (grille
     1fr/auto/1fr) même si les deux côtés n'ont pas exactement le même
     contenu, sans jamais déborder grâce à overflow-x:hidden ci-dessus. */
  header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 10px 16px;
    gap: 8px;
    min-height: 72px;
  }
  .social-icons {
    gap: 10px;
  }
  .social-icons .social-svg-icon {
    width: 18px;
    height: 18px;
  }
  .logo {
    position: static;
    transform: none;
    justify-self: center;
    width: auto;
    max-width: none;
  }
  .header-icons {
    justify-self: end;
    gap: 10px;
  }
  .header-svg-icon {
    width: 22px;
    height: 22px;
  }

  /* HERO */
  .hero {
    padding: 48px 16px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 0.9rem;
  }

  /* CATÉGORIES : grille alignée de 4 colonnes, petits cercles */
  .quick-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 6px;
    padding: 24px 10px 18px;
    justify-items: center;
  }
  .quick-cat-item {
    width: 100%;
  }
  .quick-cat-circle {
    width: 72px;
    height: 72px;
    border-width: 2px;
    padding: 6px;
  }
  .quick-cat-circle-label {
    font-size: 0.56rem;
    line-height: 1.15;
  }

  /* GRILLE PRODUITS : le sélecteur 2/3/4 colonnes (.grid-density-bar) est
     caché dans ce design (voir plus bas "display:none !important"), donc
     plus personne ne peut choisir — --product-cols restait coincé à sa
     valeur desktop (3 par défaut), ce qui écrasait les cartes/boutons sur
     mobile. On force 2 colonnes, plus lisible sur petit écran. */
  .main-container {
    margin: 30px auto;
    padding: 0 12px;
  }
  .products-grid {
    --grid-gap: 10px;
    --product-cols: 2 !important;
  }
  .product-card {
    padding: 10px;
  }
  .product-card h3 {
    font-size: 0.8rem;
  }
  .product-card .price {
    font-size: 0.8rem;
  }
  .product-card .add-btn {
    font-size: 0.6rem;
    padding: 10px 6px;
    letter-spacing: 0.08em;
  }
  .grid-density-label {
    display: none;
  }
}

/* =========================================================================
   IDENTITÉ TYPOGRAPHIQUE LORIA
   - Fredoka : lettrage rond "doux", réservé aux grands titres (fort impact,
     texte court -> reste lisible), plus raffiné que l'ancien Bagel Fat One.
   - Baloo 2 : compagne arrondie du même esprit, appliquée partout ailleurs
     (corps de texte, produits, nav, boutons) pour garder la lisibilité.
   ========================================================================= */
.logo,
.hero h1,
.collection-row-header h2,
.value-card h2,
.lifestyle-banner-overlay h2,
.static-page > h1,
.static-page > h2 {
  font-family: "Fredoka", "Baloo 2", "Helvetica Neue", sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.15;
}
/* Le logo garde son espacement plus large */
.logo {
  letter-spacing: 4px;
  line-height: 1;
}

/* =========================================================================
   FINITION PREMIUM — aspect "boutique Shopify" même sans photos produits
   ========================================================================= */

/* Emplacements produits sans photo : placeholder soigné et VOULU (dégradé
   doux + petit losange + "Photo à venir"), au lieu d'un rectangle gris vide. */
.card-img-holder {
  background: linear-gradient(135deg, #f1e8fb 0%, #e4d5f4 100%);
}
.card-img-holder::after {
  content: "LORIA";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fredoka", "Baloo 2", sans-serif;
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: 2px;
  color: rgba(138, 100, 192, 0.22);
  z-index: 0;
}
/* Quand une vraie photo existe, elle recouvre le placeholder */
.product-card-img {
  z-index: 1;
  background: #ffffff;
}

/* Fiches produits : survol premium (léger soulèvement + ombre douce) */
.product-card {
  border-color: #eee3f6;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(74, 43, 109, 0.11);
  border-color: #e2d2f3;
}

/* Hero : petit sur-titre + bouton, pour un haut de page abouti */
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #a07fce;
  margin-bottom: 18px;
}
.hero-content .btn-primary {
  display: inline-block;
  margin-top: 28px;
}

/* =========================================================================
   NOUVEAU DESIGN — SKIN ÉDITORIAL / MAISON DE LUXE  (v2)
   Typographie : "Fredoka" pour les titres/display (esprit rond du logo,
   en plus raffiné que l'ancien "Bagel Fat One"), "Baloo 2" pour le texte
   courant (rond et lisible, de la même famille visuelle).
   Crème · violet en accent discret · boutons carrés. Ce bloc surcharge
   l'ancien style « coquette ». Il ne change AUCUN id/markup : le backend
   continue de marcher. Pour revenir à l'ancien look : supprimer tout ce bloc.
   ========================================================================= */
:root{
  --nd-bg:#F6F2EB; --nd-surface:#FFFFFF; --nd-ink:#1C1A19; --nd-muted:#8C857C;
  --nd-line:#E4DDD1; --nd-blush:#F4E7EC; --nd-lilac:#ECE6F5;
  --nd-violet:#8E6FC7; --nd-violet-deep:#6B4CA6;
  --nd-display:'Fredoka',system-ui,sans-serif;
  --nd-ui:'Baloo 2','Helvetica Neue',Arial,sans-serif;
  --nd-tracking:.08em;
}

/* ---------- Base ---------- */
body{
  font-family:var(--nd-ui);
  font-weight:400;
  color:var(--nd-ink);
  background-color:var(--nd-surface);
}
body::before{ background:var(--nd-surface); }
.hero{ background:var(--nd-surface); border-bottom:1px solid #efe9f5; }

/* ---------- Titres serif ---------- */
h1, h2, h3,
.hero h1, .hero-content h1,
.collection-row-header h2,
.product-card h3{
  font-family:var(--nd-display);
  font-weight:500;
  letter-spacing:.01em;
  color:var(--nd-ink);
}
.hero h1, .hero-content h1{
  font-size:clamp(2.6rem,6vw,4.4rem);
  line-height:1.05;
  text-transform:none;
}
.hero p, .hero-content p{
  font-family:var(--nd-ui); font-weight:400;
  font-size:1.02rem; line-height:1.75; color:#5c554d;
  max-width:46ch; margin-left:auto; margin-right:auto;
}
.hero-eyebrow{
  font-family:var(--nd-ui); font-weight:400;
  text-transform:uppercase; letter-spacing:var(--nd-tracking);
  font-size:.72rem; color:var(--nd-muted);
}

/* ---------- Barre d'annonce : fine, claire, majuscules ---------- */
.announcement-bar{
  background-color:var(--nd-surface);
  color:var(--nd-muted);
  border-bottom:1px solid var(--nd-line);
  font-weight:400; font-size:.68rem;
  letter-spacing:.16em; text-transform:uppercase;
}

/* ---------- En-tête : la bannière violette + logo restent (déjà au bon look) ;
   on soigne juste les pastilles d'icônes et le compteur panier ---------- */
.icon-btn{
  width:40px; height:40px; border-radius:50%;
  background:rgba(255,255,255,.16);
  display:inline-flex; align-items:center; justify-content:center;
  transition:background .2s ease, transform .2s ease;
}
.icon-btn:hover{ background:rgba(255,255,255,.32); transform:translateY(-2px); }
.header-svg-icon{ fill:#FBF6EC; }
.header-svg-icon:hover{ fill:#FBF6EC; }
.cart-count{
  background:#FBF6EC; color:var(--nd-violet-deep);
  font-weight:500;
}
.lang-selector button{ color:#FBF6EC; font-weight:400; letter-spacing:.05em; }
.lang-selector button.active{ color:#fff; text-decoration:underline; }

/* ---------- Boutons carrés ---------- */
.btn-primary, .hero-content .btn-primary,
.header-auth-buttons .btn-primary{
  font-family:var(--nd-ui); font-weight:400;
  text-transform:uppercase; letter-spacing:.16em; font-size:.72rem;
  background:var(--nd-ink); color:#fff;
  border:1px solid var(--nd-ink); border-radius:2px;
  padding:15px 30px; box-shadow:none;
}
.btn-primary:hover, .hero-content .btn-primary:hover{
  background:var(--nd-violet-deep); border-color:var(--nd-violet-deep); color:#fff;
  transform:none; box-shadow:none;
}
/* "Ajouter au panier" de la fiche produit : garde un effet au survol,
   mais plus noir éclairci (pas violet) pour rester dans la charte éditoriale */
#modal-add-to-cart-btn:hover{
  background:#3a3633; border-color:#3a3633; color:#fff;
}

/* ---------- Menu compte déroulant (survol du logo profil) ----------
   Remplace les 2 gros boutons "Mes commandes" / "Se déconnecter" qui
   s'affichaient en permanence dans la barre du haut : ils sont maintenant
   dans un petit menu qui se déroule au survol de l'icône profil (et au
   clic, pour le tactile qui n'a pas de survol). */
.account-menu{ position:relative; display:inline-flex; align-items:center; }
.account-menu .header-auth-buttons{
  display:flex; flex-direction:column;
  position:absolute; top:calc(100% + 10px); right:0; z-index:60;
  min-width:220px; background:#fff; border:1px solid #eee;
  border-radius:8px; box-shadow:0 12px 30px rgba(43,35,51,.14);
  padding:6px 0;
  opacity:0; visibility:hidden; pointer-events:none;
  transform:translateY(-8px);
  transition:opacity .2s ease, transform .2s ease, visibility .2s;
}
.account-menu:hover .header-auth-buttons:not(:empty),
.account-menu.is-open .header-auth-buttons:not(:empty){
  opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0);
}
/* Petit pont invisible entre l'icône et le menu, pour ne pas perdre le
   survol en descendant la souris vers les options. */
.account-menu .header-auth-buttons::before{
  content:""; position:absolute; top:-10px; left:0; right:0; height:10px;
}
.account-menu .header-user-email{
  display:block; padding:10px 16px 8px; font-size:.72rem;
  color:var(--nd-muted,#8c857c); border-bottom:1px solid #f0ece3;
  margin-bottom:4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.account-menu-item{
  display:block; width:100%; text-align:left; background:none; border:none;
  cursor:pointer; padding:10px 16px; font-family:var(--nd-ui);
  font-size:.78rem; color:var(--nd-ink,#1c1a19);
  transition:background .15s ease;
}
.account-menu-item:hover{ background:#f6f2eb; }
.btn-secondary{
  font-family:var(--nd-ui); font-weight:400;
  text-transform:uppercase; letter-spacing:.16em; font-size:.72rem;
  background:transparent; color:var(--nd-ink);
  border:1px solid var(--nd-ink); border-radius:2px; padding:15px 30px;
}
.btn-secondary:hover{
  background:transparent; color:var(--nd-violet-deep); border-color:var(--nd-violet-deep);
}
/* Petit bouton "OK" newsletter du footer */
.newsletter-form .btn-primary{ padding:14px 22px; }

/* ---------- Lien « Voir plus » ---------- */
.view-more-link{
  font-family:var(--nd-ui); text-transform:uppercase;
  letter-spacing:.16em; font-size:.7rem; color:var(--nd-ink);
  border-bottom:1px solid var(--nd-ink); padding-bottom:3px;
}
.view-more-link:hover{ color:var(--nd-violet-deep); border-color:var(--nd-violet-deep); }

/* En-tête de rangée catégorie : titre serif à gauche, lien à droite */
.collection-row-header h2{
  font-size:clamp(1.8rem,3.6vw,2.6rem); line-height:1;
}

/* ---------- Bannière promo — photo pleine largeur (texte et bouton intégrés à l'image) ---------- */
.promo-banner{
  padding:0;
  background:none;
  border-top:none;
  border-bottom:1px solid var(--nd-line);
}
.promo-banner-link{ display:block; line-height:0; }
.promo-banner-img{
  display:block; width:100%; height:auto;
}

/* ---------- Cercles catégories : blancs, filet fin, accent violet ---------- */
.quick-cat-circle{
  background:var(--nd-surface);
  border:1px solid var(--nd-line);
  transition:border-color .25s ease, transform .25s ease;
}
.quick-cat-circle:hover{ border-color:var(--nd-violet); transform:translateY(-4px); }
.quick-cat-circle-label{
  font-family:var(--nd-ui); font-weight:400; color:var(--nd-ink);
  text-transform:uppercase; letter-spacing:.1em; font-size:.72rem;
}

/* ---------- Cartes produit : épurées, média pastel, titre serif ---------- */
.product-card{
  background:transparent; border:none; box-shadow:none; border-radius:0;
}
.product-card:hover{ transform:none; box-shadow:none; }
.card-img-holder{
  background:linear-gradient(160deg,var(--nd-blush),var(--nd-lilac));
  border-radius:2px; overflow:hidden;
}
.product-card-img{ border-radius:2px; }
.product-card h3{
  font-size:1.25rem; margin:16px 0 3px;
}
.product-card .price{
  font-family:var(--nd-ui); font-weight:400; color:var(--nd-ink);
  font-size:.82rem; letter-spacing:.06em;
}
.product-badge-new{
  background:var(--nd-surface); color:var(--nd-ink);
  text-transform:uppercase; letter-spacing:.14em; font-size:.6rem;
  font-weight:400; border-radius:2px;
}
/* Carte produit façon simulation : cœur (favoris) + bouton "Ajouter au panier" */
.card-img-holder{ position:relative; }
.wish{
  position:absolute; top:12px; right:14px; z-index:2;
  width:32px; height:32px; border-radius:50%;
  background:rgba(255,255,255,.85);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; font-size:.95rem; color:var(--nd-violet-deep);
  border:none; transition:transform .2s ease;
}
.wish:hover{ transform:scale(1.15); }
.wish.wished{ color:#c0567f; }
@media (max-width: 480px){
  .wish{ width:20px; height:20px; top:6px; right:6px; font-size:.62rem; }
}
.product-card .add-btn{
  width:100%; margin-top:auto;
  font-family:var(--nd-ui); text-transform:uppercase;
  letter-spacing:.16em; font-size:.66rem; font-weight:400;
  background:transparent; color:var(--nd-ink);
  border:1px solid var(--nd-ink); padding:13px; border-radius:2px;
  cursor:pointer; transition:background .25s ease, color .25s ease;
}
.product-card .add-btn:hover{ background:var(--nd-ink); color:#fff; }
/* Pastilles or/argent : sous la photo, au-dessus du nom du bijou */
.card-color-dots{ margin:10px 0 0; }
/* Sélecteur d'affichage (1/2/3/4 par ligne) : pas dans la simulation */
.grid-density-bar{ display:none !important; }
/* Sélecteur de langue FR | EN : retiré (masqué pour ne pas casser le JS) */
.lang-selector{ display:none !important; }

/* ---------- Pied de page : encre profonde ---------- */
footer{ background:var(--nd-ink); color:#cfc8bf; }
.footer-trust{ border-bottom:1px solid rgba(255,255,255,.08); }
.footer-trust-icon{ color:#cfc8bf; }
.footer-trust-item strong{ color:#fff; font-family:var(--nd-ui); font-weight:500; }
.footer-trust-item span{ color:#a49d94; }
.footer-block h3, .footer-block h4{
  font-family:var(--nd-ui); color:#fff; font-weight:400;
  text-transform:uppercase; letter-spacing:.18em; font-size:.72rem;
}
.footer-block p, .footer-block ul li{ color:#a49d94; font-weight:400; }
.footer-block a{ color:#a49d94; }
.footer-block a:hover{ color:#fff; }
.footer-socials .social-svg-icon{ fill:#cfc8bf; }
.footer-socials .social-icon:hover .social-svg-icon{ fill:#fff; }
.footer-bottom{
  color:#7d766d; text-transform:uppercase; letter-spacing:.14em; font-size:.72rem;
  border-top:1px solid rgba(255,255,255,.08);
}
.footer-cookie-link{
  background:none; border:none; padding:0; margin:0;
  font:inherit; color:inherit; text-transform:inherit; letter-spacing:inherit;
  text-decoration:underline; cursor:pointer;
}
.footer-cookie-link:hover{ color:#fff; }
.newsletter-form input{
  border-radius:2px; border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.06); color:#fff;
  font-family:var(--nd-ui);
}
.newsletter-form input::placeholder{ color:#9a938a; }

/* ---------- Fenêtres / panneaux (panier, aperçu produit, connexion, commandes) ---------- */
.cart-drawer{
  border-left:1px solid var(--nd-line);
  box-shadow:-14px 0 60px -30px rgba(60,40,90,.45);
}
.cart-header, .cart-footer{
  background:var(--nd-surface); border-color:var(--nd-line);
}
.cart-qty-stepper button{ border-color:var(--nd-ink); color:var(--nd-ink); }
.cart-qty-stepper button:hover{ background:var(--nd-ink); color:#fff; }

.modal-card, .auth-modal, .orders-modal{
  border-radius:2px;
  border:1px solid var(--nd-line);
  box-shadow:0 30px 80px -40px rgba(60,40,90,.5);
}
.modal-right h2, .orders-modal h3{
  font-family:var(--nd-display); font-weight:500; color:var(--nd-ink);
}
.modal-product-price{ color:var(--nd-ink); font-weight:500; }
.modal-label{
  font-family:var(--nd-ui); text-transform:uppercase;
  letter-spacing:.16em; color:var(--nd-muted); font-weight:400;
}

.auth-tab{ text-transform:uppercase; letter-spacing:.14em; font-weight:400; color:var(--nd-muted); }
.auth-tab.active{ color:var(--nd-ink); border-bottom-color:var(--nd-ink); }
.auth-form label{ font-weight:400; color:var(--nd-ink); }
.auth-form input{ border:1px solid var(--nd-line); border-radius:2px; }
.auth-form input:focus{ border-color:var(--nd-violet); outline:none; }
.auth-form-msg, .auth-link-btn{ color:var(--nd-violet-deep); }
.auth-link-btn:hover{ color:var(--nd-ink); }
.order-card{ border:1px solid var(--nd-line); border-radius:2px; }

/* ---------- Section « Histoire » — bulles interactives (flip card) ---------- */
.story{
  background:var(--nd-surface);
  border-top:1px solid var(--nd-line);
  border-bottom:1px solid var(--nd-line);
  padding:90px 30px; margin-top:70px;
}
.story-inner{
  max-width:1100px; margin:0 auto;
  display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center;
}
.story-block h2{
  font-family:var(--nd-display); font-weight:500; color:var(--nd-ink);
  font-size:clamp(2rem,4.4vw,3.1rem); line-height:1.05; margin:0 0 24px;
}
.story-block h2 em{ font-style:italic; font-weight:400; }
.story-block p{
  line-height:1.8; margin:0 0 18px; font-size:1rem; color:#5c554d; font-weight:400;
}

/* ---------- « Nos promesses » — pop automatique, sans cadran ---------- */
.promise-pop{
  text-align:center;
  padding:20px 10px;
}
.promise-pop .eyebrow{ margin:0 0 6px; }
.promise-pop h3{
  font-family:var(--nd-display); font-weight:500; font-style:italic; color:var(--nd-ink);
  font-size:1.5rem; margin:0 0 36px;
}

.promise-stage{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:14px; min-height:140px;
}
.promise-icon{
  font-size:2.8rem; line-height:1; color:#b48ede;
  animation:promise-pop .5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes promise-pop{
  0%{ opacity:0; transform:scale(.4); }
  60%{ opacity:1; transform:scale(1.15); }
  100%{ opacity:1; transform:scale(1); }
}
.promise-text{
  font-family:var(--nd-display); font-weight:500;
  font-size:1.55rem; color:var(--nd-ink); margin:0;
  animation:promise-pop .5s cubic-bezier(.34,1.56,.64,1);
}

@media (max-width:620px){
  .promise-icon{ font-size:2.3rem; }
  .promise-text{ font-size:1.25rem; }
  .promise-stage{ min-height:120px; }
}
@media (max-width:900px){
  .story-inner{ grid-template-columns:1fr; gap:36px; }
  .story{ padding:64px 22px; }
}

/* ---------- Bas de page clair : avis clients + newsletter, fond blanc uniforme ---------- */
.dual-feature{
  background:var(--nd-surface);
  border-bottom:1px solid var(--nd-line);
  padding:52px 24px 60px;
}

/* ---------- Avis clients — bandeau qui défile horizontalement, de droite à gauche ---------- */
.avis-stack-section{
  min-width:0;
  text-align:center;
}
.avis-stack-section > .eyebrow{ margin:0 0 8px; }
.avis-stack-section h2{
  font-family:var(--nd-display); font-weight:500; color:var(--nd-ink);
  font-size:clamp(1.5rem,3.2vw,2.1rem); line-height:1.1; margin:0 0 34px;
}
.avis-stack-section h2 em{ font-style:italic; font-weight:400; }

.avis-deck{
  position:relative;
  width:100%;
  max-width:1100px;
  margin:0 auto;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
}
.avis-track{
  display:flex;
  gap:20px;
  width:max-content;
}
.avis-card{
  flex:0 0 auto;
  width:min(320px,80vw);
  background:var(--nd-surface);
  border:1px solid var(--nd-line);
  border-radius:22px;
  box-shadow:0 18px 40px -22px rgba(28,20,40,.3);
  padding:28px 26px;
  display:flex; flex-direction:column; justify-content:center; gap:10px;
  text-align:left;
}
.avis-card .avis-stars{ color:#D8A953; font-size:1rem; letter-spacing:3px; }
.avis-card .avis-quote{
  font-family:var(--nd-display); font-style:italic; font-weight:500;
  font-size:1.1rem; color:var(--nd-ink); line-height:1.5; margin:0;
}
.avis-card .avis-name{
  font-family:var(--nd-ui); font-size:.82rem; color:var(--nd-muted); margin:0;
}

@media (max-width:480px){
  .avis-card{ padding:24px 22px; }
  .avis-card .avis-quote{ font-size:1rem; }
}

/* ---------- Pied de page façon simulation (marque + 3 colonnes) ----------
   Uniquement à partir d'un écran assez large : sans ce @media, le
   "!important" forçait 4 colonnes fixes même sur mobile, écrasant
   l'empilement responsive déjà prévu plus haut (grid auto-fit) et rendant
   le pied de page illisible/coupé sur téléphone. */
@media (min-width: 761px) {
  .footer-container{
    grid-template-columns:1.7fr 1fr 1fr 1fr !important;
    gap:34px;
  }
}
.footer-logo{
  font-family:var(--nd-display); font-weight:500;
  font-size:1.9rem; color:#fff; margin-bottom:14px; letter-spacing:.05em;
}
.footer-brand p{ max-width:34ch; }

/* Bande newsletter dédiée (au-dessus du pied de page) */
.newsletter-band{
  text-align:center; padding:88px 30px; background:var(--nd-surface);
  border-top:1px solid var(--nd-line);
}
.newsletter-band .hero-eyebrow{ margin-bottom:14px; }
.newsletter-band h2{
  font-family:var(--nd-display); font-weight:500; color:var(--nd-ink);
  font-size:clamp(2rem,4.4vw,3.1rem); margin:0 0 14px;
}
.newsletter-band .news-band-text{
  font-family:var(--nd-ui); font-weight:400; color:#5c554d;
  max-width:48ch; margin:0 auto 26px; line-height:1.7;
}
.news-band-form{
  display:flex; gap:0; justify-content:center; flex-wrap:wrap;
  max-width:480px; margin:0 auto;
}
.news-band-form input{
  flex:1 1 260px; padding:16px 20px; border-radius:2px 0 0 2px;
  border:1px solid var(--nd-ink); border-right:none;
  background:var(--nd-surface); color:var(--nd-ink);
  font-family:var(--nd-ui); font-size:.9rem; outline:none;
}
.news-band-form input::placeholder{ color:var(--nd-muted); }
.news-band-form .btn-primary{ border-radius:0 2px 2px 0; }
@media (max-width:620px){
  .news-band-form input{ flex-basis:100%; border-right:1px solid var(--nd-ink); border-radius:2px; }
  .news-band-form .btn-primary{ flex:1 1 100%; border-radius:2px; margin-top:8px; }
  .newsletter-band{ padding:60px 20px; }
}
.newsletter-msg{
  font-family:var(--nd-ui); font-size:.85rem; color:var(--nd-ink);
  margin:14px 0 0;
}

/* ---------- Mise en page comme la simulation ---------- */
/* Barre de menu catégories (sous la bannière violette) */
.cat-bar{
  background:#fff;
  /* pas de trait sous le menu — on garde seulement les séparateurs verticaux */
}
.cat-bar ul{
  list-style:none; margin:0 auto; padding:0; max-width:1200px;
  display:flex; flex-wrap:wrap; justify-content:center;
}
.cat-bar li{ position:relative; }
.cat-bar li:not(:first-child)::before{
  content:""; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:1px; height:14px; background:var(--nd-ink);
}
.cat-bar a{
  display:block; text-transform:uppercase; letter-spacing:.16em;
  font-size:.72rem; font-weight:400; color:var(--nd-ink);
  padding:15px 18px; position:relative; transition:color .2s ease;
  text-decoration:none;
}
.cat-bar a:hover{ color:var(--nd-violet-deep); }

/* Lien "Accueil" dans la barre de catégories : masqué sur l'accueil,
   affiché en violet (pour se démarquer) sur les pages catégorie. */
.cat-bar .cat-home{ display:none; }
.cat-bar.show-home .cat-home{ display:block; }
.cat-bar .cat-home a{ color:var(--nd-violet-deep); font-weight:600; }
.cat-bar .cat-home a:hover{ color:var(--nd-violet); }
/* Pas de séparateur parasite devant le 1er item quand "Accueil" est masqué. */
.cat-bar:not(.show-home) li:nth-child(2)::before{ display:none; }

/* Hero 2 colonnes (uniquement le hero principal, via .hero-grid-2) */
.hero-grid-2{
  max-width:1200px; margin:0 auto;
  display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;
}
.hero-grid-2 .hero-content{ text-align:left; }
.hero-grid-2 .hero-content p{ margin-left:0; margin-right:0; max-width:44ch; }
.hero-grid-2 .hero-content .btn-primary{ margin-top:22px; }
.hero-visual{ display:flex; justify-content:center; min-width:0; }
.hero-frame{
  width:100%; max-width:520px; aspect-ratio:4/4.4;
  background:
    radial-gradient(circle at 50% 38%, #ffffff 0, transparent 60%),
    linear-gradient(160deg,var(--nd-blush),var(--nd-lilac));
  border-radius:2px; overflow:hidden;
  box-shadow:0 40px 80px -50px rgba(60,40,90,.5);
  display:flex; align-items:center; justify-content:center;
}
.hero-frame img{ width:100%; height:100%; object-fit:cover; }

/* Bande d'avantages (perks) */
.perks{
  display:flex; flex-wrap:wrap; justify-content:center; align-items:center;
  gap:22px; padding:20px 22px;
  background:var(--nd-surface);
  border-top:1px solid var(--nd-line); border-bottom:1px solid var(--nd-line);
}
.perks .perk{ text-transform:uppercase; letter-spacing:.18em; font-size:.68rem; color:var(--nd-muted); }
.perks .perk-sep{ color:var(--nd-violet); font-size:.6rem; }

@media (max-width:900px){
  .hero-grid-2{ grid-template-columns:1fr; gap:36px; }
  .hero-grid-2 .hero-visual{ order:-1; }
  .hero-grid-2 .hero-content{ text-align:center; }
  .hero-grid-2 .hero-content p{ margin-left:auto; margin-right:auto; }
  .hero-frame{ max-width:380px; }
}
@media (max-width:620px){
  .cat-bar ul{ flex-wrap:nowrap; overflow-x:auto; justify-content:flex-start;
    -webkit-overflow-scrolling:touch; scrollbar-width:none; }
  .cat-bar ul::-webkit-scrollbar{ display:none; }
  .cat-bar a{ padding:12px 13px; font-size:.64rem; letter-spacing:.1em; white-space:nowrap; }
  .perks{ gap:10px 12px; padding:14px; }
  .perks .perk{ font-size:.6rem; letter-spacing:.12em; }
  /* Mobile : titres plus compacts + en-tête resserré pour éviter tout débordement */
  .hero h1, .hero-content h1{ font-size:clamp(1.8rem,7vw,2.3rem); overflow-wrap:break-word; }
  .collection-row-header h2{ font-size:clamp(1.5rem,6vw,2rem); }
  .icon-btn{ width:34px; height:34px; }
}

/* ---------- Fiche produit : bloc livraison sous "Ajouter au panier" ----------
   Remplace l'ancien style violet/pointillé pour rester cohérent avec le
   nouveau look éditorial crème (voir :root plus haut). */
.shipping-info-block{
  background:var(--nd-surface);
  border:1px solid var(--nd-line);
  border-radius:2px;
  padding:14px 16px;
  font-size:.78rem;
  line-height:1.6;
}
.shipping-info-block p{
  font-family:var(--nd-ui); font-weight:400;
  color:var(--nd-ink); margin:0;
}
.shipping-info-block p span{
  display:inline-block; min-width:82px;
  text-transform:uppercase; letter-spacing:.1em; font-size:.66rem;
  color:var(--nd-violet-deep); font-weight:500;
  margin-right:8px;
}
.shipping-info-block p + p{
  margin-top:8px; padding-top:8px;
  border-top:1px solid var(--nd-line);
}

.quality-badges-list{
  display:flex; flex-direction:column; gap:9px;
  margin:16px 0; padding:0; list-style:none;
}
.quality-badges-list li{
  position:relative;
  padding-left:18px;
  font-family:var(--nd-ui); font-size:.76rem; font-weight:400;
  color:var(--nd-muted); margin:0;
}
.quality-badges-list li::before{
  content:"";
  position:absolute; left:0; top:.5em;
  width:6px; height:6px;
  border-radius:50%;
  background:var(--nd-violet);
}


/* =========================================================================
   COMPO BRACELETS — "Créer ma compo" (page Bracelets)
   Intégré comme une tuile de la grille produits (même gabarit qu'une
   .product-card, 1ère position) plutôt qu'un bandeau pleine largeur à part
   — pour ne pas créer de bloc/étage visuel séparé sur la page.
   + grille sélectionnable + plateau flottant en bas d'écran (anneau de
   progression + pile de bracelets).
   ========================================================================= */
.compo-builder-bar{
  /* Même largeur de colonne qu'un .product-card, pour s'intégrer dans la
     même rangée de la grille flex. */
  width: calc(
    (100% - (var(--product-cols, 3) - 1) * var(--grid-gap, 30px)) /
      var(--product-cols, 3)
  );
  display:flex; flex-direction:column; align-items:center; text-align:center;
  gap:10px;
  padding:24px 20px;
  background:#fff;
  border:1px solid #e6d9f6;
  border-radius:6px;
  transition:border-color .3s ease;
}
.compo-builder-bar.compo-active{
  border-color:#b48ede;
}
.compo-builder-eyebrow{
  display:block; background:none; padding:0;
  font-family:var(--nd-ui); font-weight:400; text-transform:uppercase;
  letter-spacing:var(--nd-tracking); font-size:.68rem; color:#b48ede;
}
.compo-builder-bar h2{ font-size:1.1rem; margin:2px 0 0; }
.compo-builder-bar p{
  font-family:var(--nd-ui); font-weight:400; font-size:.78rem;
  color:#5c554d; margin:0; line-height:1.4;
}
.compo-toggle-btn{
  width:100%; margin-top:auto; cursor:pointer; white-space:nowrap;
  transition:background .25s ease, color .25s ease, border-color .25s ease;
}
.compo-toggle-btn.is-active{
  background:var(--nd-ink); color:#fff; border-color:var(--nd-ink);
}

/* ---------- Choix du format : compo de 4 ou de 6 ---------- */
.compo-tier-switch{ display:flex; justify-content:center; gap:22px; flex-wrap:wrap; margin-bottom:6px; }
.compo-tier-btn{
  display:flex; align-items:baseline; gap:7px; cursor:pointer;
  background:none; border:none; padding:0 0 3px;
  border-bottom:1px solid transparent;
  font-family:var(--nd-ui); font-weight:400; text-transform:uppercase;
  letter-spacing:.1em; font-size:.7rem; color:var(--nd-muted);
  transition:color .2s ease, border-color .2s ease;
}
.compo-tier-btn:hover{ color:var(--nd-ink); }
.compo-tier-btn .compo-tier-rate{
  font-weight:500; color:inherit; font-size:.7rem;
}
.compo-tier-btn.is-active{
  color:var(--nd-ink); border-bottom-color:var(--nd-ink);
}

@keyframes compo-success-flash{
  0%{ box-shadow:0 24px 60px -38px rgba(60,40,90,.45); }
  40%{ box-shadow:0 0 0 5px rgba(180,142,222,.3), 0 24px 60px -38px rgba(60,40,90,.45); }
  100%{ box-shadow:0 24px 60px -38px rgba(60,40,90,.45); }
}
.compo-builder-bar.compo-success-flash{
  animation:compo-success-flash .9s ease;
}

/* ---------- Grille en mode sélection ---------- */
.products-grid.compo-mode .product-card{ cursor:pointer; }
.products-grid.compo-mode .card-img-holder{
  transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.products-grid.compo-mode .product-card:not(.compo-selected):hover .card-img-holder{
  transform:translateY(-3px);
}
.products-grid.compo-mode .add-btn,
.products-grid.compo-mode .wish{
  opacity:.45;
}

.product-card.compo-selected .card-img-holder{
  box-shadow:0 0 0 3px #b48ede;
  transform:scale(.98);
}
.product-card.compo-selected .card-img-holder::after{
  content:"✓";
  position:absolute; top:10px; left:10px; z-index:3;
  width:28px; height:28px; border-radius:50%;
  background:#b48ede; color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:.82rem; font-weight:600;
  animation:compo-pop .3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes compo-pop{
  0%{ transform:scale(0); opacity:0; }
  100%{ transform:scale(1); opacity:1; }
}

.product-card.compo-unavailable .card-img-holder{ opacity:.4; }
.product-card.compo-unavailable{ cursor:not-allowed; }

@keyframes compo-shake{
  0%,100%{ transform:translateX(0); }
  20%{ transform:translateX(-6px); }
  40%{ transform:translateX(6px); }
  60%{ transform:translateX(-4px); }
  80%{ transform:translateX(4px); }
}
.compo-shake{ animation:compo-shake .4s ease; }

/* ---------- Plateau flottant ---------- */
.compo-tray[hidden]{ display:none; }
.compo-tray{
  position:fixed; left:50%; bottom:22px; z-index:60;
  transform:translateX(-50%);
  display:flex; align-items:center; gap:20px; flex-wrap:wrap;
  width:min(920px, calc(100% - 32px));
  background:var(--nd-surface);
  border:1px solid var(--nd-line); border-radius:2px;
  box-shadow:0 20px 60px -20px rgba(60,40,90,.35);
  padding:16px 22px;
  animation:compo-tray-in .35s ease;
}
@keyframes compo-tray-in{
  0%{ transform:translate(-50%, 24px); opacity:0; }
  100%{ transform:translate(-50%, 0); opacity:1; }
}

/* ---------- Zone vivante : anneau de progression + pile de bracelets ---------- */
.compo-stack-zone{
  position:relative; display:flex; align-items:center; gap:14px; flex-shrink:0;
}
.compo-ring-wrap{ position:relative; width:52px; height:52px; flex-shrink:0; }
.compo-ring{ width:100%; height:100%; transform:rotate(-90deg); display:block; }
.compo-ring-track{ fill:none; stroke:var(--nd-line); stroke-width:4; }
.compo-ring-fill{
  fill:none; stroke:#b48ede; stroke-width:4; stroke-linecap:round;
  transition:stroke-dashoffset .4s cubic-bezier(.4,0,.2,1), stroke .3s ease;
}
.compo-ring-fill.compo-ring-unlocked{ stroke:#b48ede; }
.compo-ring-count{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-family:var(--nd-display); font-size:1.15rem; color:var(--nd-ink);
}

.compo-stack{
  display:flex; align-items:center; min-height:40px; min-width:60px;
  animation:compo-stack-breathe 3.2s ease-in-out infinite;
}
@keyframes compo-stack-breathe{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-2px); }
}
.compo-stack-empty-hint{
  margin:0; font-family:var(--nd-ui); font-weight:400; font-size:.72rem;
  color:var(--nd-muted); line-height:1.35; white-space:nowrap;
}
.compo-bangle{
  --rot:0deg;
  width:40px; height:40px; border-radius:50%; flex-shrink:0;
  border:2px solid var(--nd-surface);
  box-shadow:0 3px 10px -2px rgba(60,40,90,.4);
  overflow:hidden; cursor:pointer;
  transform:rotate(var(--rot));
  transition:transform .2s ease, box-shadow .2s ease;
}
.compo-bangle:not(:first-child){ margin-left:-16px; }
.compo-bangle img{ width:100%; height:100%; object-fit:cover; display:block; }
.compo-bangle:hover{
  transform:rotate(var(--rot)) translateY(-5px);
  box-shadow:0 8px 16px -4px rgba(60,40,90,.5);
  z-index:2; position:relative;
}
@keyframes compo-bangle-pop{
  0%{ transform:scale(0) rotate(var(--rot)); }
  65%{ transform:scale(1.22) rotate(var(--rot)); }
  100%{ transform:scale(1) rotate(var(--rot)); }
}
.compo-bangle-enter{ animation:compo-bangle-pop .38s cubic-bezier(.34,1.56,.64,1); }
@keyframes compo-bangle-pop-out{
  0%{ transform:scale(1) rotate(var(--rot)); opacity:1; }
  100%{ transform:scale(.25) translateY(-24px) rotate(var(--rot)); opacity:0; }
}
.compo-bangle-exit{ animation:compo-bangle-pop-out .26s ease forwards; pointer-events:none; }

/* Image qui "s'envole" de la carte cliquée jusqu'au plateau */
.compo-flyer{
  position:fixed; top:0; left:0; z-index:200;
  object-fit:cover; pointer-events:none;
  box-shadow:0 10px 24px -8px rgba(60,40,90,.5);
  will-change:transform;
}

.compo-tray-info{ flex-grow:1; min-width:180px; }
.compo-tray-count{
  font-family:var(--nd-ui); font-weight:500; font-size:.85rem;
  color:var(--nd-ink); margin:0;
}
.compo-tray-hint{
  font-family:var(--nd-ui); font-weight:400; font-size:.74rem;
  color:var(--nd-muted); margin:2px 0 0;
  transition:color .2s ease;
}
.compo-tray-hint.compo-hint-unlocked{
  color:#b48ede; font-weight:400;
}
.compo-tray-price{ margin:4px 0 0; font-family:var(--nd-ui); }
.compo-tray-price-barred{
  text-decoration:line-through; color:var(--nd-muted);
  font-size:.78rem; margin-right:8px;
}
.compo-tray-price-final{
  font-size:1.05rem; font-weight:500; color:#b48ede;
}

.compo-tray-actions{ display:flex; align-items:center; gap:14px; flex-shrink:0; }
.compo-tray-cancel{
  background:none; border:none; cursor:pointer;
  font-family:var(--nd-ui); font-size:.72rem; text-transform:uppercase;
  letter-spacing:.1em; color:var(--nd-muted);
}
.compo-tray-cancel:hover{ color:var(--nd-ink); }
.compo-tray-validate{
  padding:13px 24px !important; font-size:.68rem !important;
}
.compo-tray-validate:disabled{
  opacity:.4; cursor:not-allowed; background:var(--nd-ink); color:#fff;
}
.compo-tray-validate:disabled:hover{ background:var(--nd-ink); }

@media (max-width:760px){
  .compo-builder-bar{ padding:20px; }
  .compo-tier-switch{ justify-content:center; }
  .compo-tray{
    bottom:12px; padding:14px 16px; gap:12px;
    flex-direction:column; align-items:stretch;
  }
  .compo-stack-zone{ justify-content:center; flex-wrap:wrap; }
  .compo-stack{ justify-content:center; flex-wrap:wrap; }
  .compo-tray-info{ text-align:center; }
  .compo-tray-actions{ justify-content:center; }
}
@media (prefers-reduced-motion: reduce){
  .compo-builder-bar.compo-success-flash,
  .product-card.compo-selected .card-img-holder::after,
  .compo-bangle-enter,
  .compo-bangle-exit,
  .compo-stack,
  .compo-tray,
  .compo-shake{
    animation:none !important;
  }
}

/* =========================================================================
   EFFET MACHINE À ÉCRIRE — titre principal de l'accueil
   ========================================================================= */
.hero-typewriter.is-typing::after{
  content:"";
  display:inline-block;
  width:2px;
  height:.85em;
  margin-left:4px;
  vertical-align:-.1em;
  background:currentColor;
  animation:hero-caret-blink .8s step-end infinite;
}
@keyframes hero-caret-blink{
  0%,100%{ opacity:1; }
  50%{ opacity:0; }
}
@media (prefers-reduced-motion: reduce){
  .hero-typewriter.is-typing::after{ animation:none; opacity:0; }
}

/* =========================================================================
   BANNIÈRE COOKIES
   ========================================================================= */
.cookie-banner{
  position:fixed;
  left:20px;
  right:20px;
  bottom:20px;
  z-index:9999;
  max-width:460px;
  margin:0 auto;
  background:var(--nd-surface,#FFFFFF);
  border-radius:20px;
  box-shadow:0 20px 50px rgba(28,26,25,.18), 0 2px 8px rgba(28,26,25,.08);
  overflow:hidden;
  font-family:var(--nd-ui,'Baloo 2','Helvetica Neue',Arial,sans-serif);
  animation:cookie-banner-rise .4s ease-out;
}
@keyframes cookie-banner-rise{
  from{ opacity:0; transform:translateY(16px); }
  to{ opacity:1; transform:translateY(0); }
}
.cookie-banner-accent{
  height:5px;
  background:linear-gradient(90deg,var(--nd-blush,#F4E7EC),var(--nd-violet,#8E6FC7),var(--nd-lilac,#ECE6F5));
}
.cookie-banner-body{
  padding:22px 24px 18px;
}
.cookie-banner-icon{
  width:40px; height:40px;
  border-radius:50%;
  background:var(--nd-lilac,#ECE6F5);
  display:flex; align-items:center; justify-content:center;
  font-size:1.25rem;
  margin-bottom:12px;
}
.cookie-banner-title{
  margin:0 0 8px;
  font-family:var(--nd-display,'Fredoka',system-ui,sans-serif);
  font-weight:600;
  font-size:1.05rem;
  color:var(--nd-ink,#1C1A19);
}
.cookie-banner p{
  margin:0;
  color:var(--nd-muted,#8C857C);
  font-size:.86rem;
  line-height:1.5;
}
.cookie-banner p a{ color:var(--nd-violet-deep,#6B4CA6); }
.cookie-banner-actions{
  display:flex;
  gap:10px;
  padding:16px 24px 22px;
  border-top:1px solid var(--nd-line,#E4DDD1);
}
.cookie-banner-actions button{
  flex:1;
  border:none;
  border-radius:999px;
  padding:11px 18px;
  font-family:inherit;
  font-size:.86rem;
  font-weight:600;
  cursor:pointer;
  transition:background .2s ease, color .2s ease, transform .15s ease;
}
.cookie-banner-actions button:active{ transform:scale(.97); }
.cookie-banner-refuse{
  background:transparent;
  color:var(--nd-muted,#8C857C);
  border:1px solid var(--nd-line,#E4DDD1) !important;
}
.cookie-banner-refuse:hover{ background:var(--nd-bg,#F6F2EB); }
.cookie-banner-accept{
  background:var(--nd-violet,#8E6FC7);
  color:#fff;
}
.cookie-banner-accept:hover{ background:var(--nd-violet-deep,#6B4CA6); }
@media (max-width:480px){
  .cookie-banner{ left:12px; right:12px; bottom:12px; }
  .cookie-banner-body{ padding:20px 18px 14px; }
  .cookie-banner-actions{ padding:14px 18px 18px; }
}
