/* ----------------------------- */
/* RESET DE BASE */
/* ----------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  background: #f8f8f8;
  color: #222;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* -------------------*/
/* DIV DU HAUT : LOGO */
/* ------------------ */

.top-header {
  width: 100%;
  height: 55px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 0;
}

.logo img {
  margin-top: 8px;
  width: 95px;
  height: 48px;
  object-fit: contain;
}


/* ----------------------------- */
/* CONTENU PRINCIPAL */
/* ----------------------------- */
main {
  flex: 1;
  padding-top: 100px;
}

/* ----------------------------- */
/* ENSEMBLE DES PRODUITS */
/* ----------------------------- */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 15px;
}

h1 {
  color: #00a8e8;
  margin-bottom: 5px;
  text-align: center;
  font-size: 28px;
}

.subtitle {
  color: #666;
  margin-bottom: 18px;
  text-align: center;
  font-size: 14px;
}

/* Catégories */
.categories {
  position: fixed;
  top: 55px;
  left: 0;
  width: 100%;
  z-index: 999;
  background: #f8f8f8;
  display: flex;
  gap: 10px;
  padding: 10px 15px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.categories::-webkit-scrollbar {
  display: none;
}



.categories a {
  flex: 0 0 auto;
  padding: 8px 18px;
  border-radius: 20px;
  background: #e0e0e0;
  color: #222;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.categories a.active {
  background: #00a8e8;
  color: white;
}



/* Produits */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.product {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid black;
}

.product:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0,0,0,0.16);
}

.product img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
  background: #f1f1f1;
}


.product h3 {
  font-size: 14px;
  margin: 10px 0 7px;
  line-height: 1.35;
  color: #222;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  min-height: 38px;
}



.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 13px;
  margin-bottom: 3px;
}

.price {
  color: green;
  font-weight: bold;
  font-size: 16px;
}

/* ----------------------------- */
/* FOOTER */
/* ----------------------------- */
.footer {
  margin-top: 30px;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 18px 10px;
  font-size: 14px;
}

/* Responsive */
@media (min-width: 768px) {
  .products {
    grid-template-columns: repeat(4, 1fr);
  }

  .product img {
    height: 210px;
  }
}





.fake-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  pointer-events: none;
}

.fake-buy {
  flex: 1;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 4px 2px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

.fake-whatsapp {
  width: 32px;
  height: 32px;
  background: #25D366;
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

.fake-whatsapp i {
  font-size: 28px;
}


