/* Police Mickle pour le logo */
@font-face {
  font-family: 'Mickle';
  src: url('assets/fonts/Mickle.woff2') format('woff2'),
       url('assets/fonts/Mickle.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html {
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE / Edge */
  overflow-x: hidden;
  min-height: 100%;
}
html::-webkit-scrollbar {
  display: none;                /* Chrome, Safari, Opera */
}
body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  background: #e8e2db;
  max-width: 100vw;
}
main, section {
  max-width: 100%;
}

/* Bannière promotionnelle : plus basse, texte qui défile gauche → droite */
.banner-promo {
  background: #f5f2ee;
  color: #1a1a1a;
  overflow: hidden;
  padding: 0.25rem 0;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  height: 22px;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100vw;
}
.banner-promo-inner {
  display: flex;
  gap: 3rem;
  animation: banner-marquee 25s linear infinite;
  white-space: nowrap;
}
.banner-text {
  flex-shrink: 0;
}
@keyframes banner-marquee {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Bannière tagline : texte défilant élégant */
.banner-tagline {
  background: #1a1a1a;
  color: #e8e2db;
  overflow: hidden;
  padding: 0.85rem 0;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100vw;
}
.banner-tagline-inner {
  display: flex;
  gap: 4rem;
  animation: banner-tagline-marquee 35s linear infinite;
  white-space: nowrap;
}
.banner-tagline-text {
  flex-shrink: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
@keyframes banner-tagline-marquee {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Header : plus petit, logo centré, menu/recherche à gauche, profil/panier à droite */
.header {
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.5rem 1.25rem;
  min-height: 56px;
  color: #fff;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, transparent 100%);
}
.header a { color: inherit; text-decoration: none; }
/* Header sur les pages internes (fond clair, texte foncé) */
.header-page {
  position: relative;
  top: 0;
  background: #e8e2db;
  color: #1a1a1a;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-self: start;
}
.header-nav svg { width: 20px; height: 20px; display: block; }

.header-logo {
  text-align: center;
  justify-self: center;
}
.header-logo .brand {
  font-family: 'Mickle', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.15em;
}
.header-logo .collection {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  font-weight: 300;
  margin-top: 0.05rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-self: end;
}
.header-actions svg { width: 20px; height: 20px; display: block; }

/* Section Hero : fond beige, plus d’image de fond */
.section-hero {
  position: relative;
  min-height: 85vh;
  width: 100%;
  max-width: 100vw;
  background: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 2.5rem;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  min-width: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
  background: #1a1a1a;
}
.section-hero::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.35) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Bouton hero : 70% de la taille + effet liquid glass type iOS */
.hero-cta {
  display: inline-block;
  text-decoration: none;
  position: relative;
  z-index: 2;
  padding: 0.5rem 1.1rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  cursor: pointer;
  text-transform: uppercase;
  font-family: inherit;
  color: #1a1a1a;
  /* Liquid glass / glassmorphism */
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-cta:hover {
  background: rgba(255, 255, 255, 0.38);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Section Nouvelle collection */
.section-nouvelle-collection {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-nouvelle-collection .title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: #1a1a1a;
  margin: 0 0 0.75rem 0;
  letter-spacing: 0.02em;
}
.section-nouvelle-collection .btn-collection {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: transparent;
  color: #1a1a1a;
  border: 1.5px solid #1a1a1a;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.section-nouvelle-collection .btn-collection:hover {
  background: #1a1a1a;
  color: #fff;
}

/* Section À ne pas manquer : même mise en page que Nouvelle collection */
.section-a-ne-pas-manquer {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-a-ne-pas-manquer .title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: #1a1a1a;
  margin: 0 0 0.75rem 0;
  letter-spacing: 0.02em;
}
.section-a-ne-pas-manquer .btn-collection {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: transparent;
  color: #1a1a1a;
  border: 1.5px solid #1a1a1a;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.section-a-ne-pas-manquer .btn-collection:hover {
  background: #1a1a1a;
  color: #fff;
}

/* Slider produits : défilement horizontal */
.products-slider {
  margin-top: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}
.products-slider::-webkit-scrollbar {
  display: none;
}
.products-slider-inner {
  display: flex;
  gap: 1rem;
  padding-right: 2rem;
  width: max-content;
}
.product-card {
  flex-shrink: 0;
  width: 160px;
  text-decoration: none;
  color: #1a1a1a;
  display: block;
  transition: transform 0.2s;
}
.product-card:hover {
  transform: translateY(-2px);
}
.product-card-image {
  aspect-ratio: 4/5;
  background: #e8e2db;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card-name {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.product-card-price {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Bandeau avantages : carte crème, style site */
.bandeau-avantages {
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
}
.bandeau-avantages-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  align-items: stretch;
  background: #f8f6f3;
  border-radius: 14px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.bandeau-item {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  border-right: 1px solid rgba(26, 26, 26, 0.06);
}
.bandeau-item:last-child {
  border-right: none;
}
.bandeau-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
}
.bandeau-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bandeau-content {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}
.bandeau-title {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1a1a;
}
.bandeau-text {
  font-size: 0.7rem;
  line-height: 1.3;
  color: #555;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 600px) {
  .bandeau-avantages-inner {
    flex-direction: column;
  }
  .bandeau-item {
    border-right: none;
    border-bottom: 1px solid rgba(26, 26, 26, 0.06);
    padding: 0.5rem 0.85rem;
  }
  .bandeau-item:last-child {
    border-bottom: none;
  }
}

/* Section Avis : cartes scrollables, coupées uniquement aux bords de l’écran */
.section-avis {
  padding: 3rem 0 4rem;
  max-width: none;
  margin: 0;
}
.section-avis-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: #1a1a1a;
  margin: 0 0 1.25rem 0;
  letter-spacing: 0.02em;
  padding: 0 1.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.avis-slider {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
  width: 100%;
}
.avis-slider::-webkit-scrollbar {
  display: none;
}
.avis-slider-inner {
  display: flex;
  gap: 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  width: max-content;
  box-sizing: content-box;
}
.avis-card {
  flex-shrink: 0;
  width: 200px;
  padding: 0.85rem 1rem;
  background: #f8f6f3;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.avis-text {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #333;
  margin: 0;
  flex: 1;
}
.avis-author {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #1a1a1a;
}
.avis-stars {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #b8860b;
}

/* Section Qui sommes-nous ? */
.section-qui-sommes-nous {
  padding: 2rem 1.5rem 2.5rem;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.section-qui-sommes-nous-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  font-weight: 400;
  color: #1a1a1a;
  margin: 0 0 0.75rem 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.section-qui-sommes-nous-content {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #555;
}
.section-qui-sommes-nous-content p {
  margin: 0 0 0.6rem 0;
}
.section-qui-sommes-nous-content p:last-child {
  margin-bottom: 0;
}

/* Pied de page */
.footer {
  background: #e8e2db;
  color: #1a1a1a;
  padding: 1.25rem 1.5rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}
.footer-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.75rem;
  white-space: nowrap;
}
.footer-nav a {
  flex-shrink: 0;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
}
.footer-nav a:hover {
  text-decoration: underline;
}
/* Mobile : tout sur une ligne — texte encore plus petit, espacement réduit */
@media (max-width: 600px) {
  .footer-nav {
    gap: 0.15rem 0.35rem;
    flex-wrap: nowrap;
  }
  .footer-nav a {
    font-size: 0.42rem;
    letter-spacing: 0.01em;
  }
  .footer-admin-demo {
    font-size: 0.38rem !important;
  }
}
@media (max-width: 380px) {
  .footer-nav a {
    font-size: 0.38rem;
  }
  .footer-admin-demo {
    font-size: 0.34rem !important;
  }
}
.footer-admin-demo {
  opacity: 0.7;
  font-size: 0.55rem !important;
}
.footer-admin-demo:hover {
  opacity: 1;
}
.footer-copyright {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: #444;
  margin: 0 0 0.75rem 0;
}
@keyframes footer-tiktok-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.75; }
}
.footer-tiktok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  transition: transform 0.2s, opacity 0.2s;
  animation: footer-tiktok-pulse 2s ease-in-out infinite;
}
.footer-tiktok:hover {
  opacity: 1;
  transform: scale(1.1);
  animation: none;
}
.footer-tiktok svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* Page Nouvelle collection */
.page-collection-main {
  padding: 2rem 1.5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-collection-page {
  padding-top: 0.5rem;
}
.collection-page-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
  letter-spacing: 0.02em;
}
.collection-page-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #444;
  max-width: 560px;
  margin: 0 0 2rem 0;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.page-collection .collection-grid .product-card {
  width: 100%;
}

/* Fiche produit */
.fiche-produit-main {
  padding: 1.5rem 1.25rem 5rem;
  max-width: 900px;
  margin: 0 auto;
}
/* Bouton Acheter fixe en bas de l'écran */
.fiche-buy-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: #fff;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}
.fiche-btn-buy-fixed {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
}
.fiche-btn-buy-fixed:hover {
  background: #333;
}
.fiche-produit {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.fiche-gallery {
  position: relative;
  width: 100%;
}
/* Galerie : une seule zone, défilement horizontal des photos (pas de grande image à part) */
.fiche-gallery-scroll {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 12px;
  gap: 0;
}
.fiche-gallery-scroll::-webkit-scrollbar {
  display: none;
}
.fiche-gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 400/520;
  background: #eee;
  overflow: hidden;
}
.fiche-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fiche-content { display: flex; flex-direction: column; gap: 1rem; }
.fiche-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #1a1a1a;
  margin: 0;
}
.fiche-price {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}
.fiche-desc {
  font-size: 0.9rem;
  color: #444;
  margin: 0;
  line-height: 1.5;
}
.fiche-color {
  font-size: 0.85rem;
  color: #555;
  margin: 0 0 0.5rem 0;
}
.fiche-color:empty { display: none; }
.fiche-option-couleur { margin-bottom: 0.5rem; }
.fiche-color-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.35rem; }
.fiche-color-btn {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  border: 1px solid rgba(26,26,26,0.25);
  border-radius: 8px;
  background: #fff;
  color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.fiche-color-btn:hover { border-color: rgba(26,26,26,0.5); background: #f9f9f9; }
.fiche-color-btn.fiche-color-btn-active { border-color: #1a1a1a; background: #1a1a1a; color: #fff; }
.fiche-taille-unique {
  font-size: 0.9rem;
  color: #1a1a1a;
  margin: 0.5rem 0 0 0;
  font-weight: 500;
}
.fiche-bandeau {
  overflow: hidden;
  padding: 0.5rem 0 0 0;
  margin: 0;
  border-top: 1px solid rgba(26, 26, 26, 0.06);
}
.fiche-bandeau-inner {
  display: flex;
  gap: 2rem;
  animation: fiche-bandeau-scroll 25s linear infinite;
  white-space: nowrap;
}
.fiche-bandeau-text {
  flex-shrink: 0;
  font-size: 0.72rem;
  color: #666;
  letter-spacing: 0.04em;
}
@keyframes fiche-bandeau-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.fiche-stock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #555;
  margin: 0;
  padding: 0.5rem 0 0.25rem 0;
  letter-spacing: 0.02em;
}
.fiche-stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2d8a5e;
  flex-shrink: 0;
}
.fiche-stock-dot.fiche-stock-out {
  background: #c33;
}
.fiche-stock strong {
  font-weight: 600;
  color: #1a1a1a;
}
.fiche-options {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
}
.fiche-options-row {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}
.fiche-option { display: flex; flex-direction: column; gap: 0.35rem; }
.fiche-option label,
.fiche-filter-label { font-size: 0.75rem; font-weight: 600; color: #444; letter-spacing: 0.03em; }
.fiche-select {
  padding: 0.6rem 2.25rem 0.6rem 1rem;
  font-size: 0.9rem;
  font-family: inherit;
  border: 1px solid rgba(26, 26, 26, 0.15);
  border-radius: 10px;
  background: #fff;
  min-width: 100px;
  color: #1a1a1a;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fiche-select:hover {
  border-color: rgba(26, 26, 26, 0.3);
}
.fiche-select:focus {
  outline: none;
  border-color: #1a1a1a;
  box-shadow: 0 0 0 1px #1a1a1a;
}
/* Taille : icône + boutons (pas de dropdown) */
.fiche-option-taille {
  width: 100%;
}
.fiche-taille-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #444;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}
.fiche-taille-icon {
  width: 16px;
  height: 16px;
  color: #666;
}
.fiche-taille-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.fiche-taille-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.fiche-size-btn {
  min-width: 44px;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-family: inherit;
  font-weight: 500;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.fiche-size-btn:hover {
  border-color: rgba(26, 26, 26, 0.4);
}
.fiche-size-btn.fiche-size-btn-active {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}
.fiche-size-btn.fiche-size-out,
.fiche-size-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  text-decoration: line-through;
}
.fiche-quantity .fiche-qty-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(26,26,26,0.2);
  border-radius: 8px;
  width: fit-content;
}
.fiche-qty-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: #f5f2ee;
  font-size: 1.1rem;
  cursor: pointer;
  color: #1a1a1a;
}
.fiche-qty-value {
  min-width: 2rem;
  text-align: center;
  font-weight: 600;
}
.fiche-add-wrap { flex-shrink: 0; }
.fiche-btn-add {
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}
.fiche-btn-add:hover { background: #333; }
.fiche-apple-pay {
  padding-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.fiche-btn-apple {
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}
.fiche-moyens {
  font-size: 0.75rem;
  color: #666;
  margin: 0;
  text-align: center;
}
.fiche-description {
  padding-top: 1rem;
  border-top: 1px solid rgba(26,26,26,0.1);
}
.fiche-description-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
}
.fiche-description-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #444;
}
.fiche-description-line {
  margin: 0 0 0.5rem 0;
}
.fiche-description-line:last-child {
  margin-bottom: 0;
}
.fiche-reco {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26,26,26,0.08);
}
.fiche-reco-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
}
.fiche-reco-slider {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.fiche-reco-slider::-webkit-scrollbar { display: none; }
.fiche-reco-inner {
  display: flex;
  gap: 1rem;
  padding-right: 1rem;
  width: max-content;
}
.fiche-reco-inner .product-card {
  flex-shrink: 0;
  width: 160px;
}

/* Utilitaires */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hidden {
  display: none !important;
}

/* Page Découvrir type Tinder (swipe) */
.page-swipe {
  min-height: 100vh;
  min-height: 100dvh;
  background: #e8e2db;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.header-swipe {
  position: relative;
  top: 0;
  z-index: 20;
  flex-shrink: 0;
  background: #e8e2db;
  color: #1a1a1a;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.75rem 1.25rem;
  min-height: 52px;
}
.header-swipe .header-logo {
  color: inherit;
  text-decoration: none;
  justify-self: center;
}
/* Bouton retour : mini cercle à gauche */
.header-back {
  justify-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #1a1a1a;
  text-decoration: none;
  position: relative;
}
.header-back-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.08);
  border: 1px solid rgba(26, 26, 26, 0.12);
}
.header-back-arrow {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  display: block;
}
.header-back:hover .header-back-circle {
  background: rgba(26, 26, 26, 0.12);
}
.header-swipe .header-cart {
  justify-self: end;
}
.header-swipe .header-cart .header-cart-icon {
  width: 12px;
  height: 12px;
}
.swipe-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 1rem 1.25rem;
  max-width: min(420px, 100vw);
  margin: 0 auto;
  width: 100%;
  min-height: 0;
  box-sizing: border-box;
}
.swipe-legend {
  display: flex;
  gap: 1rem;
  font-size: 0.7rem;
  color: #666;
  margin: 0 0 0.5rem 0;
}
.swipe-legend-item strong { color: #1a1a1a; }
.swipe-deck {
  position: relative;
  width: 100%;
  max-width: 100%;
  flex: 1;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
  box-sizing: border-box;
}
.swipe-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92%;
  max-width: min(360px, calc(100vw - 2rem));
  transform: translate(-50%, -50%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  background: #fff;
  transition: transform 0.1s ease-out;
  cursor: grab;
  user-select: none;
  box-sizing: border-box;
}
/* Cartes en dessous : légèrement plus petites pour effet pile */
.swipe-card:not(:last-child) {
  transform: translate(-50%, -50%) scale(0.96);
  pointer-events: none;
}
.swipe-card:last-child {
  z-index: 1;
}
.swipe-card:active { cursor: grabbing; }
.swipe-card-image {
  aspect-ratio: 400/520;
  background: #eee;
  overflow: hidden;
}
.swipe-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.swipe-card-info {
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  min-width: 0;
  box-sizing: border-box;
}
.swipe-card-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.swipe-card-price {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  flex-shrink: 0;
}
.swipe-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  opacity: 0;
  transition: opacity 0.15s;
  border-radius: 16px;
  pointer-events: none;
}
.swipe-overlay-pass {
  background: rgba(220, 60, 60, 0.75);
}
.swipe-overlay-voir {
  background: rgba(80, 100, 180, 0.75);
}
.swipe-overlay-cart {
  background: rgba(0, 140, 90, 0.75);
}
.swipe-show-pass .swipe-overlay-pass,
.swipe-show-voir .swipe-overlay-voir,
.swipe-show-cart .swipe-overlay-cart {
  opacity: 1;
}
.swipe-card-gone {
  pointer-events: none;
  transition: transform 0.3s ease-out;
}
.swipe-card-right.swipe-card-gone { transform: translate(120%, -50%) rotate(20deg) !important; }
.swipe-card-left.swipe-card-gone { transform: translate(-120%, -50%) rotate(-20deg) !important; }
.swipe-card-up.swipe-card-gone { transform: translate(-50%, -120%) !important; }
.swipe-progress {
  margin: 0.75rem 0;
  font-size: 0.8rem;
  color: #666;
}
.swipe-progress-text { font-weight: 500; }
.swipe-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.swipe-btn {
  min-width: 0;
  height: auto;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #e0ddd9;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: border-color 0.15s, color 0.15s;
  background: transparent;
  color: #555;
  font-family: inherit;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.swipe-btn:hover {
  border-color: #bbb;
  color: #1a1a1a;
}
.swipe-btn-pass { color: #888; }
.swipe-btn-pass:hover { color: #b33; border-color: rgba(179,51,51,0.4); }
.swipe-btn-voir { color: #555; }
.swipe-btn-voir:hover { color: #1a1a1a; }
.swipe-btn-cart { color: #555; }
.swipe-btn-cart:hover { color: #1a5c3a; border-color: rgba(26,92,58,0.4); }
.swipe-btn-cart-icon {
  width: 16px;
  height: 16px;
}
.swipe-end {
  text-align: center;
  padding: 2rem;
  font-size: 1.1rem;
  color: #444;
}
.swipe-end a {
  display: inline-block;
  margin-top: 1rem;
  color: #1a1a1a;
  font-weight: 600;
  text-decoration: underline;
}

/* Menu latéral (ouvre au clic sur icône hamburger) */
.header-menu-btn {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 999;
  pointer-events: none;
  transition: background 0.25s ease;
}
.menu-overlay-open {
  background: rgba(0, 0, 0, 0.4);
  pointer-events: auto;
}
.menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  background: #e8e2db;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
  padding: 1.5rem 1.25rem;
}
.menu-panel-open {
  transform: translateX(0);
}
.menu-logo {
  display: block;
  padding-top: 0.25rem;
  margin-bottom: 1.25rem;
  color: #1a1a1a;
  text-decoration: none;
}
.menu-logo:hover {
  color: #1a1a1a;
}
.menu-logo-brand {
  display: block;
  font-family: 'Mickle', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.15em;
}
.menu-logo-collection {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  font-weight: 300;
  margin-top: 0.05rem;
}
.menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  font-size: 1.5rem;
  color: #1a1a1a;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.75rem;
}
.menu-nav a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}
.menu-nav a:hover {
  color: #444;
}

/* Page Panier */
.panier-main .panier-content {
  text-align: center;
  padding: 2rem 0;
}
.panier-empty {
  font-size: 1rem;
  color: #444;
  margin: 0 0 0.5rem 0;
}
.panier-empty-hint {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 1.5rem 0;
}
.panier-cta {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
}
.panier-cta:hover {
  background: #333;
}
.panier-list {
  text-align: left;
  padding: 0;
}
.panier-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}
.panier-item:last-child {
  border-bottom: none;
}
.panier-item-image {
  flex-shrink: 0;
  width: 80px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
}
.panier-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.panier-item-info {
  flex: 1;
  min-width: 0;
}
.panier-item-name {
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  display: block;
  margin-bottom: 0.25rem;
}
.panier-item-name:hover {
  text-decoration: underline;
}
.panier-item-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.2rem 0;
}
.panier-item-qty {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}
.panier-item-remove {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(26, 26, 26, 0.06);
  color: #666;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  flex-shrink: 0;
}
.panier-item-remove:hover {
  background: rgba(26, 26, 26, 0.12);
  color: #1a1a1a;
}

/* Récap panier : total HT, TVA, TTC + délai livraison */
.panier-summary {
  margin-top: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(26, 26, 26, 0.12);
}
.panier-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5rem;
}
.panier-summary-row.panier-summary-total {
  margin-top: 0.75rem;
  margin-bottom: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
}
.panier-summary-value {
  font-variant-numeric: tabular-nums;
}
.panier-delivery-info {
  margin: 1rem 0 0 0;
  font-size: 0.85rem;
  color: #666;
}

/* Barre fixe « Passer à la caisse » (visible uniquement quand le panier a des articles) */
.panier-checkout-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0));
  background: #fff;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
  z-index: 100;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
}
.panier-checkout-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.panier-main.has-checkout-bar {
  padding-bottom: 5rem;
}
.panier-checkout-btn {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-family: inherit;
  transition: background 0.2s;
}
.panier-checkout-btn:hover {
  background: #333;
}

/* Pages légales (Mentions, CGV, Confidentialité, Contact) */
.legal-main {
  padding: 2rem 1.5rem 4rem;
  max-width: 640px;
  margin: 0 auto;
}
.legal-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: #1a1a1a;
  margin: 0 0 1.25rem 0;
  letter-spacing: 0.02em;
}
.legal-content {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #333;
}
.legal-content p {
  margin: 0 0 0.85rem 0;
}
.legal-content p:last-child {
  margin-bottom: 0;
}
.legal-content a {
  color: #1a1a1a;
  text-decoration: underline;
}
.legal-content a:hover {
  color: #555;
}

/* Page Connexion */
.page-connexion .connexion-main {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}
.connexion-box {
  width: 100%;
  max-width: 360px;
  background: rgba(232, 226, 219, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 20px;
  padding: 2rem;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.connexion-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #1a1a1a;
  margin: 0 0 0.25rem 0;
}
.connexion-subtitle {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 1.5rem 0;
}
.connexion-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.connexion-form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #444;
}
.connexion-input {
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid rgba(26, 26, 26, 0.2);
  border-radius: 8px;
  background: #fff;
}
.connexion-input:focus {
  outline: none;
  border-color: #1a1a1a;
}
.connexion-btn {
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  margin-top: 0.25rem;
}
.connexion-btn:hover {
  background: #333;
}
.connexion-btn-small {
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
}
.connexion-demo {
  padding: 0.5rem;
  font-size: 0.8rem;
  color: #666;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
}
.connexion-demo:hover {
  color: #1a1a1a;
}
.connexion-message {
  margin: 1rem 0 0 0;
  font-size: 0.85rem;
  min-height: 1.2em;
}
.mon-compte-section {
  margin-top: 1.25rem;
}
.mon-compte-title {
  margin: 0 0 0.35rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
}
.mon-compte-line {
  margin: 0;
  font-size: 0.9rem;
  color: #444;
}
.mon-compte-orders-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mon-compte-order {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(26,26,26,0.08);
}
.mon-compte-order:last-child {
  border-bottom: none;
}
.mon-compte-order-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1a1a1a;
}
.mon-compte-order-meta {
  margin: 0.15rem 0 0 0;
  font-size: 0.8rem;
  color: #777;
}
.mon-compte-empty {
  margin: 0.25rem 0 0 0;
  font-size: 0.85rem;
  color: #777;
}
.mon-compte-btn-logout {
  margin-top: 1.5rem;
  width: 100%;
}
.connexion-forgot {
  margin-top: 0.5rem;
}
.connexion-form-small {
  margin-top: 0.75rem;
}
.connexion-forgot-hint {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #777;
}
.connexion-admin-link {
  margin: 1.25rem 0 0 0;
  font-size: 0.8rem;
}
.connexion-admin-link a {
  color: #666;
  text-decoration: none;
}
.connexion-admin-link a:hover {
  color: #1a1a1a;
  text-decoration: underline;
}
.connexion-hr {
  border: none;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
  margin: 1.5rem 0 1rem 0;
}
.connexion-admin-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: #1a1a1a;
  margin: 0 0 0.25rem 0;
}
.connexion-admin-sub {
  font-size: 0.85rem;
  color: #666;
  margin: 0 0 1rem 0;
}
.connexion-btn-admin {
  margin-top: 0.5rem;
}
.connexion-admin-message {
  margin: 0.75rem 0 0 0;
  font-size: 0.85rem;
  min-height: 1.2em;
}
.connexion-message-success {
  color: #2d8a5e;
}
.connexion-message-info {
  color: #666;
}
