/* ===============================================================
   index.css — Les Cayes Dropshipping v2.1
   =============================================================== */

/* ── VARIABLES & RESET ── */
:root {
  --bleu-marin: #001f3f;
  --bleu-clair: #0074D9;
  --rouge: #e74c3c;
  --rouge-fonce: #c0392b;
  --white: #ffffff;
  --gris-border: #f0f0f0;
  --texte: #333333;
  --texte-soft: #666666;
  --top-bar-h: 60px;
  --annonce-h: 34px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --kaki: #8fbc8f;
  --blanc-fond: #ffffff;
  --noir-texte: #333;
  --vert-menu: #004D40;
  --vert-success: #2ecc71;
  --gris-fonce: #444;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Poppins', 'Nunito', sans-serif;
  background: #f8f9fa;
  color: var(--texte);
  /* espace pour top bar uniquement — announcement bar est en dessous */
  padding-top: var(--top-bar-h);
}

.hidden { display: none !important; }

/* ── PAGE LOADER ── */
#page-loader {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.94);
  z-index: 9990;
  display: none;
  align-items: center;
  justify-content: center;
}
#page-loader.show { display: flex; }

.pl-inner {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pl-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid #f0f0f0;
  border-top-color: var(--rouge);
  border-right-color: var(--rouge-fonce);
  animation: plSpin 0.85s linear infinite;
}

@keyframes plSpin { to { transform: rotate(360deg); } }


/* ── TOP BAR — sticky indépendant, sans saccade ── */
#top-bar {
  position: fixed;
  top: 0;
  left: 0; right: 0;
  height: var(--top-bar-h);
  background: var(--white);
  border-bottom: 1px solid var(--gris-border);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  z-index: 600;
  box-shadow: var(--shadow-sm);
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
}

#hamburger-btn, #top-bar-bell {
  width: 38px; height: 38px; border-radius: 10px; background: #f0f0f0;
  border: none; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--bleu-marin); position: relative;
}

#top-bar-brand { flex: 1; display: flex; align-items: center; gap: 9px; }
#top-bar-logo  { width: 30px; height: 30px; border-radius: 7px; object-fit: contain; }
#top-bar-title { font-size: 14px; font-weight: 900; color: var(--bleu-marin); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }

.tb-notif-dot {
  position: absolute; top: 7px; right: 7px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--rouge); border: 2px solid var(--white);
}



/* ── INSTALL BANNER ── */
#install-banner {
  position: fixed;
  bottom: 120px; left: 15px; right: 15px;
  background: rgba(0, 120, 160, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0,188,212,0.35);
  color: var(--bleu-marin);
  padding: 10px 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 500;
  box-shadow: 0 4px 18px rgba(0,120,160,0.18);
}

/* Animation clignotement toutes les 3s */
.install-blink {
  animation: installBlink 3s ease-in-out infinite;
}

@keyframes installBlink {
  0%, 70%, 100% { opacity: 1; }
  85%           { opacity: 0.3; }
}

.install-info { display: flex; flex-direction: column; gap: 2px; }
.install-info strong { font-size: 14px; font-weight: 800; color: var(--bleu-marin); }
.install-info span   { font-size: 12px; color: #555; }

#install-btn {
  background: #6E0B14;
  color: white;
  border: none;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── NOTIFIKASYON DEMANN AVIS (koli disponib) ── */
.avis-prompt-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, #fff8ed 0%, #fef0f5 100%);
  border: 1px solid rgba(233,30,140,0.18);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 10px 0 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  animation: avisPromptIn 0.35s ease-out;
}
@keyframes avisPromptIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.avis-prompt-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(233,30,140,0.12);
  display: flex; align-items: center; justify-content: center;
}
.avis-prompt-icon .material-icons { color: #e91e8c; font-size: 20px; }
.avis-prompt-text { flex: 1; min-width: 0; }
.avis-prompt-text strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--bleu-marin);
  margin-bottom: 2px;
}
.avis-prompt-text p {
  font-size: 12px;
  color: #555;
  line-height: 1.4;
  margin: 0;
}
.avis-prompt-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.avis-prompt-ok {
  background: #e91e8c;
  color: #fff;
  border: none;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.avis-prompt-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avis-prompt-close .material-icons { font-size: 16px; }

/* ── DRAWER & OVERLAY ── */
.drw-section-lbl {
  font-size: 11px;
  font-weight: 800;
  color: var(--gris-fonce);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 20px 16px 8px;
}

#drawer-overlay, #inv-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.42);
  z-index: 700; opacity: 0; visibility: hidden; transition: 0.3s;
}

#drawer-overlay.open, #inv-overlay.open { opacity: 1; visibility: visible; }

#app-drawer {
  position: fixed; top: 0; left: 0; width: 285px; height: 100%;
  background: var(--white); z-index: 800; transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column; box-shadow: 3px 0 20px rgba(0,0,0,0.12);
}

#app-drawer.open { transform: translateX(0); }

.drw-head {
  background: linear-gradient(135deg, var(--bleu-marin) 0%, var(--bleu-clair) 100%);
  padding: 40px 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.drw-info { display: flex; flex-direction: column; }

.drawer-head-name { font-size: 14px; font-weight: 900; color: var(--white); line-height: 1.2; }
.drw-loc          { font-size: 11px; color: rgba(255,255,255,0.6); font-weight: 400; }
.drw-logo         { width: 50px; height: 50px; border-radius: 13px; background: white; padding: 4px; }
.drw-body         { flex: 1; overflow-y: auto; padding: 8px 0; }

.drw-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--texte);
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
}

.drw-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(46,204,113,0.1); color: var(--vert-menu);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* Kiyès item — accent spécial */
.drw-item-kiyès { background: rgba(143,188,143,0.08); }
.drw-item-kiyès:hover { background: rgba(143,188,143,0.16); }
.drw-icon-kiyès {
  background: rgba(143,188,143,0.2);
  color: var(--kaki);
}
.drw-item-kiyès .drw-label { color: var(--vert-menu); font-weight: 800; }

.drw-label  { flex: 1; font-size: 13px; font-weight: 700; }
.drw-arrow  { color: #bbb; font-size: 18px !important; margin-left: auto; }

.drw-tarif {
  padding: 15px 16px;
  font-size: 13px; font-weight: 700; color: #333;
  display: flex; align-items: center; gap: 8px;
}

.drw-logout { color: var(--rouge) !important; margin-top: 10px; }
.drw-logout .drw-icon { background: rgba(231,76,60,0.1); color: var(--rouge); }

.drw-divider { height: 1px; background: #eee; margin: 10px 16px; }

.drw-close-btn {
  position: absolute; top: 15px; right: 15px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: 0.2s;
}
.drw-close-btn:active { background: rgba(255,255,255,0.4); transform: scale(0.9); }

.drw-footer-ver { font-size: 11px; color: #aaa; text-align: center; padding: 12px; }


/* ── BLOC TRACKING LCD (style épuré) ── */

#lcd-tracking-bloc {
  margin: 15px auto 0;
  width: 100%;
  max-width: 100%;
  background: transparent;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  border-left: none;
  border-right: none;
  border-radius: 0;
  padding: 14px 16px;
  font-family: sans-serif;
  color: #222;
}

/* Titre transporteur — supprimé, styles conservés pour rétrocompat */
.ltb-header         { display: none; }
.ltb-transporteur-label,
.ltb-transporteur-name { display: none; }

.ltb-divider {
  height: 1px;
  background: #ddd;
  margin: 12px 0;
}

/* ── Statut ── */
.ltb-statut-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

/* Wrapper pour le dot + halo pulsation */
.ltb-statut-dot-wrap {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ltb-statut-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

/* Pulsation orange — classe ajoutée quand état "live" (resepsyon ouvè) */
.ltb-statut-dot-wrap.ltb-dot-pulse::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: #FF8C00;
  opacity: 0.4;
  animation: ltbDotPulse 1.5s ease-out infinite;
}

@keyframes ltbDotPulse {
  0%   { transform: scale(0.8); opacity: 0.5; }
  70%  { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(0.8); opacity: 0; }
}

.ltb-dot-live   { background: #FF8C00; }   /* orange pulsant — resepsyon ouvè */
.ltb-dot-orange { background: #e67e22; }   /* orange fixe */
.ltb-dot-blue   { background: #2980b9; }   /* bleu — vwayaj an kous */
.ltb-dot-kaki   { background: #556B2F; }   /* kaki foncé — disponib */

/* Note info */
.ltb-note-info {
  font-size: 12px;
  color: #556B2F;
  line-height: 1.5;
  margin-bottom: 4px;
}

/* ── Timeline ── */
.ltb-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 4px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.ltb-timeline::-webkit-scrollbar { display: none; }

.ltb-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
  flex: 1;
  text-align: center;
}

.ltb-step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: 2px solid #bbb;
  margin-bottom: 6px;
  flex-shrink: 0;
}

/* Étape accomplie — kaki foncé */
.ltb-step.ltb-step-done .ltb-step-dot {
  background: #556B2F;
  border-color: #556B2F;
}
.ltb-step.ltb-step-done .ltb-step-label { color: #333; font-weight: 700; }
.ltb-step.ltb-step-done .ltb-step-date  { color: #556B2F; }

/* Étape en cours — rose (indique l'échéance prochaine) */
.ltb-step.ltb-step-active .ltb-step-dot {
  background: #fff;
  border-color: #e91e8c;
  box-shadow: 0 0 0 3px rgba(233,30,140,0.18);
}
.ltb-step.ltb-step-active .ltb-step-label { color: : #ffc0cb; font-weight: 800; }
.ltb-step.ltb-step-active .ltb-step-date  { color: : #ffc0cb; font-weight: 700; }

/* Étape future — grisé */
.ltb-step-label {
  font-size: 10px;
  color: #aaa;
  font-weight: 500;
  line-height: 1.3;
}
.ltb-step-date {
  font-size: 10px;
  color: #bbb;
  margin-top: 3px;
  font-weight: 500;
}

/* Connecteur */
.ltb-connector {
  flex-shrink: 0;
  width: 24px;
  height: 1px;
  background: #ddd;
  margin-top: 5px;
  align-self: flex-start;
}
.ltb-connector.ltb-conn-done { background: #556B2F; }

/* Bouton détails */
.ltb-detail-btn {
  background: none;
  border: none;
  color: #FF8C00;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  display: block;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Annonces ── */
.ltb-annonces {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ltb-annonce-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12px;
  color: #333;
  line-height: 1.5;
}

.ltb-annonce-icon { flex-shrink: 0; font-size: 14px; }

/* Ticker défilement droite → gauche en boucle */
.ltb-annonce-warn {
  color: #555;
  align-items: center;
}

.ltb-ticker-wrap {
  overflow: hidden;
  flex: 1;
  white-space: nowrap;
}

.ltb-ticker-text {
  display: inline-block;
  white-space: nowrap;
  animation: ltbTickerScroll 18s linear infinite;
}

@keyframes ltbTickerScroll {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ── Recap galerie okazyon pasé ── */
.galerie-recap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  gap: 6px;
}

.galerie-recap-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.galerie-recap-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #999;
  letter-spacing: 0.06em;
}

.galerie-recap-val {
  font-size: 12px;
  font-weight: 700;
  color: #222;
}

.galerie-recap-badge {
  color: #556B2F;
  background: rgba(85,107,47,0.1);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 11px;
}

.galerie-recap-sep {
  width: 1px;
  height: 32px;
  background: #e0e0e0;
  flex-shrink: 0;
}

/* Boutons réaction (remis) */
.livrezon-react-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0 4px;
  padding: 0 16px;
}

.react-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 20px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}

.react-btn:active { transform: scale(0.93); }
.react-btn .material-icons { font-size: 22px; }

.react-btn-unlike {
  color: #888;
  background: #f5f5f5;
}
.react-btn-unlike:hover { background: #fce4e4; color: var(--rouge); }

.react-btn-comment {
  color: var(--bleu-marin);
  background: #f0f4ff;
  text-decoration: none;
  flex: 1;
  max-width: 120px;
}
.react-btn-comment:hover { background: #dce8ff; }

.react-btn-like {
  color: var(--bleu-marin);
  background: #f5f5f5;
}
.react-btn-like:hover { background: #e8f5e9; color: var(--vert-menu); }

/* ── TOAST DOUBLE RETOUR ── */
#back-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(0,0,0,0.78);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 24px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.25s, transform 0.25s;
}

#back-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── MODAL GALERIE ── */
#galerie-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}

.galerie-inner {
  background: #fff; border-radius: 16px;
  padding: 20px 16px 24px; width: 100%; max-width: 420px;
  position: relative; max-height: 90vh; overflow-y: auto;
}

.galerie-close {
  position: absolute; top: 12px; right: 14px;
  background: #f0f0f0; border: none; border-radius: 50%;
  width: 30px; height: 30px; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}

.galerie-titre {
  font-size: 1em; font-weight: 900; color: var(--bleu-marin);
  margin-bottom: 16px; text-align: center;
}

.galerie-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.galerie-grid img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 10px;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.galerie-grid img:hover { transform: scale(1.04); box-shadow: 0 4px 16px rgba(0,0,0,0.22); }

/* ── LIGHTBOX ── */
#lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.9);
  z-index: 9500; display: flex; align-items: center; justify-content: center; padding: 20px;
}

#lightbox-img {
  max-width: 100%; max-height: 90vh; border-radius: 10px;
  object-fit: contain; box-shadow: 0 0 40px rgba(0,0,0,0.8);
}

/* ── Compatibilité ancien code ── */
#info-livrezon-container { display: none; }

.info-title {
  margin: 0;
  font-size: 0.9em;
  font-weight: bold;
  text-transform: uppercase;
  opacity: 0.85;
  color: #ffffff;
}

.info-detail {
  color: #FFD700;
  font-size: 1.3em;
  font-weight: 900;
  margin: 5px 0;
}

.info-sub {
  margin: 0;
  font-size: 0.75em;
  line-height: 1.4;
  color: rgba(255,255,255,0.85);
  font-weight: normal;
}

/* ── CAROUSEL BANNER ── */
#banner-carousel {
  overflow-x: scroll;
  height: 120px;
  position: relative;
  margin: 20px 0;
  padding: 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

#banner-carousel::-webkit-scrollbar { display: none; }

.carousel-container { height: 100%; display: flex; }

.carousel-item {
  min-width: 100vw;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanc-fond);
  text-align: center;
  padding: 15px 25px;
  position: relative;
  border-radius: 0px;
  margin-right: 0;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.55);
  z-index: 1;
  border-radius: 0px;
}

.banner-text { position: relative; z-index: 2; text-align: center; width: 100%; }

.banner-text h1 {
  font-size: 1.1em;
  text-shadow: 1px 1px 3px #000;
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
}

.banner-text p {
  font-size: 0.75em;
  margin-top: 5px;
  text-shadow: 1px 1px 2px #000;
}

/* ── AVIS KLIYAN ── */
#avis-clients {
  padding: 0;
  margin: 20px 0;
  border-radius: 0px;
  background: var(--blanc-fond);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  overflow: hidden;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.avis-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 18px 16px;
  background: linear-gradient(135deg, var(--bleu-marin) 0%, #003d7a 100%);
  color: white;
}

.avis-main-title  { font-size: 1.5em; font-weight: 900; color: white; letter-spacing: -0.02em; line-height: 1; }
.avis-subtitle    { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 4px; font-weight: 400; }

.avis-score-block {
  text-align: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 10px 14px;
  min-width: 90px;
}

.avis-score-number { font-size: 2.4em; font-weight: 900; color: #FFD700; line-height: 1; }

.avis-score-stars {
  display: flex; gap: 1px; justify-content: center; margin: 4px 0 2px;
}

.avis-score-stars .material-icons { font-size: 14px; color: #FFD700; }
.avis-score-count { font-size: 10px; color: rgba(255,255,255,0.7); white-space: nowrap; }

.avis-rating-bar-container { height: 4px; background: #eee; margin: 0; }
.avis-rating-bar-fill      { height: 100%; width: 90%; background: linear-gradient(90deg, #FFD700, #ffc107); border-radius: 0 2px 2px 0; }

#comments-container {
  padding: 10px 14px 0;
  position: relative;
  overflow: hidden;
}

/* ── CARROUSEL AVIS — système par groupes de 2 ── */
#avis-carousel-wrap {
  position: relative;
  min-height: 180px; /* espace réservé pendant les transitions */
  overflow: hidden;
}

.avis-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Wrapper de défilement animé — conservé pour compat */
#avis-scroll-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  will-change: transform;
}

/* Chaque carte */
#comments-container .comment-card {
  border-bottom: 1px solid #f0f0f0;
  padding: 14px 0;
  transition: opacity 0.6s ease;
}

.comment-author { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.comment-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bleu-marin), var(--bleu-clair));
  color: white; font-size: 13px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.comment-name   { font-weight: 800; font-size: 0.9em; color: var(--bleu-marin); flex: 1; }
.comment-author span { color: #004D40; font-size: 14px; }

.comment-text {
  font-size: 0.85em; color: #555; margin-top: 8px; line-height: 1.5; padding-left: 42px;
}

.comment-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 6px; padding-left: 42px;
}

.comment-date { font-size: 0.72em; color: #aaa; font-style: italic; }
.stars-row    { display: flex; gap: 1px; }

/* Section Ajouter un avis */
.add-avis {
  margin: 0;
  padding: 16px 18px 20px;
  background: #f8f9fa;
  border-top: 1.5px dashed #e0e0e0;
}

.add-avis h3 {
  font-size: 0.95em; font-weight: 800; color: var(--bleu-marin); margin-bottom: 10px;
}

.add-avis textarea {
  width: 100%; height: 80px; border-radius: 10px;
  border: 1.5px solid #ddd; padding: 10px 12px;
  font-family: inherit; font-size: 14px; resize: none; outline: none;
  transition: border-color 0.2s;
}

.add-avis textarea:focus { border-color: var(--bleu-marin); }

/* Bouton ajouter avis — même style que rules-container */
.btn-ajoute-avis {
  background: transparent;
  color: #333;
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 12px 20px;
  margin-top: 10px;
  width: 100%;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
}

.btn-ajoute-avis:hover {
  border-color: var(--kaki);
  color: var(--bleu-marin);
  background: #f9f9f9;
  transform: scale(1.02);
}

/* Boutons Modifye / Efase */
.user-actions { display: flex; gap: 6px; }
.user-actions button {
  background: none; border: 1px solid #ddd; border-radius: 8px;
  padding: 3px 8px; font-size: 11px; cursor: pointer; font-family: inherit;
}

/* ── KONDISYON (RÈG) ── */
.rules-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 30px 0;
}

.rules-image {
  width: 90vw; height: 90vw;
  max-width: 500px; max-height: 500px;
  object-fit: contain; margin-bottom: 20px;
}

.rules-link {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80%;
  max-width: 300px;
  height: 120px;
  border: 2px dashed #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
  margin: 0 auto;
}

.rules-link::after  { content: "→"; font-size: 24px; margin-top: 10px; color: #333; }
.rules-link:hover   { border: 2px dashed #ccc; color: #333; background-color: #f9f9f9; transform: scale(1.02); }

/* ── FOOTER DESCRIPTION ── */
#footer-description {
  padding: 40px 0;
  text-align: center;
  background-color: #004D40;
  color: #ffffff;
  margin: 30px -15px -70px -15px;
  border-radius: 0;
}

.container-footer { padding: 0 20px; }
#footer-description p          { line-height: 1.6; font-size: 0.95em; margin-bottom: 20px; }
#footer-description strong     { color: #FF8C00; }

.social-icons-display {
  display: flex; justify-content: center; gap: 30px;
  margin: 25px 0; font-size: 30px; color: #ffffff;
}

.contact-info-footer { margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.contact-info-footer p        { margin: 10px 0; font-size: 0.85em; color: #e0e0e0; }
.contact-info-footer strong   { color: #FF8C00; display: block; margin-bottom: 4px; text-transform: uppercase; font-size: 0.9em; }

/* ── FOOTER NAVIGATION — suppression couleur bleue et soulignement ── */
#main-footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  height: 60px;
  background-color: var(--blanc-fond);
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}

#main-footer a,
#main-footer a:visited,
#main-footer a:hover,
#main-footer a:active {
  text-decoration: none;
  color: inherit;
}

.nav-item {
  text-align: center;
  font-size: 0.75em;
  padding: 5px;
  position: relative;
  color: #004D40;
  text-decoration: none;
}

#main-footer .material-icons      { color: #004D40; font-size: 24px; }
.nav-item.active .material-icons  { color: var(--kaki); }
.nav-item p                       { margin: 0; }

/* ── WHATSAPP FAB ── */
#whatsapp-fab {
  position: fixed; bottom: 80px; right: 18px;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; border: none; cursor: pointer;
  z-index: 999; box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
}

#whatsapp-fab:active { transform: scale(0.93); }
#whatsapp-fab .fab.fa-whatsapp { font-size: 28px; color: white; line-height: 1; }

/* Formulaire progressif supprimé — dead code nettoyé */


/* ── ANIMATIONS ── */
@keyframes pulseBadge {
  0%   { box-shadow: 0 0 0 0 rgba(231,76,60,0.7); transform: scale(1); }
  50%  { transform: scale(1.15); }
  70%  { box-shadow: 0 0 0 8px rgba(231,76,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(231,76,60,0); transform: scale(1); }
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ── INVENTAIRE ── */
.inv-edit-btn {
  background: rgba(0,116,217,0.10); border: none; border-radius: 7px;
  width: 26px; height: 26px; display: flex; align-items: center;
  justify-content: center; cursor: pointer; color: var(--bleu-clair);
}
.inv-edit-btn .material-icons { font-size: 14px; }



