.container-home {
  margin-left: 70px;
  margin-top: 12px;
  margin-bottom: 24px;
  width: calc(100% - 70px);
  max-width: 100%;
  box-sizing: border-box;
}
.plage-titre {
  font-size: 10px;
  display: flex;
  justify-content: center;
  font-size: 16px;
}

#loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid var(--logo-color);
  border-top-color: var(--effet-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 9999;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

#loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid var(--logo-color);
  border-top-color: var(--effet-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 9999;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}



.nom .noms {
  max-width: 26px;
  font-size: 14px;
  color: var(--titre-color);
  font-weight: bold;
  max-width: 80px;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
}

.info-message {
  font-size: var(--taille-text-pc);
  color: var(--text-color);
  background: var(--navrigt-primary-bg);
  border-radius: 5px;
  padding: 8px 10px;
  margin-top: 5px;
}

.info-message span {
  display: inline-block;
  margin-right: 5px;
  color: var(--logo-color);
  font-weight: 500;
  cursor: pointer;
}

.produits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  position: relative;
  gap: 6px;
  padding: 6px;
  background-color: #f5f5f5;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

@media (min-width: 769px) {
  .produits-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Blocs publicitaires / carrousels pleine largeur */
.produits-grid > .separator-card,
.produits-grid > .horizontal-scroll-section {
  grid-column: 1 / -1;
  min-width: 0;
}

/* Produit boosté : une colonne, même taille qu'une carte */
.produits-grid > .responsive-separator-card {
  min-width: 0;
  height: 100%;
}

.reductions-produits {
  margin: 10px 0;
  padding: 8px;
  background: var(--navrigt-primary-bg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-size: 13px;
}

.reductions-produits h4 {
  margin: 0 0 4px 0;
  font-weight: var(--text-gras);
}

.reductions-produits ul {
  margin: 0;
  padding-left: 18px;
}

.reductions-produits li {
  margin-bottom: 2px;
}


@keyframes rainbow-border {
  0% {
    border-color: red;
  }

  20% {
    border-color: orange;
  }

  40% {
    border-color: yellow;
  }

  60% {
    border-color: green;
  }

  80% {
    border-color: blue;
  }

  100% {
    border-color: violet;
  }
}

.rainbow-border {
  border: 2px solid;
  border-radius: 10px;
  animation: rainbow-border 3s linear infinite;
  box-shadow: 0 0 12px var(--navrigt-primary-bg);
}

/* =========================
   GRILLE DES PRODUITS
   ========================= */

/* =========================
   GRILLE PRINCIPALE
   ========================= */
.product-item {
  height: auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* =========================
   CARTE PRODUIT
   ========================= */
.produit-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eeeeee;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  width: 100%;
  position: relative;
  min-width: 0;
}

/* Dropdown ⋯ — coin haut droit de la carte */
.produit-card .product-drop-wrap {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 8;
}

.produit-card .product-drop-wrap .dropdown-bottom-container:not(.active) {
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.produit-card .product-drop-wrap .dropdown-bottom-trigger {
  margin: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  font-size: 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.produit-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* Images produit — style Alibaba : cadre carré fixe, photo à taille naturelle */
.produit-card .home-product-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  flex-shrink: 0;
  background: #ffffff;
  border-bottom: 1px solid #f5f5f5;
  overflow: hidden;
}

.produit-card .post-media-link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
  text-decoration: none;
}

.produit-card img.post-media {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.produit-card .post-media.post-media-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f7f7f7 0%, #ececec 100%);
  border-radius: 4px;
}

.produit-card .home-product-media .image-counter,
.produit-card .home-product-media .home-card-visual-btn {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

/* =========================
   INFORMATIONS PRODUIT (Version Pro)
   ========================= */
.product-info {
  padding: 6px 8px 8px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 2px;
  min-width: 0;
}

.home-product-title-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.home-product-title {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: #1677ff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 0;
}

.home-product-title a {
  color: #1677ff;
  text-decoration: none;
}

.home-product-title a:hover {
  color: #0d5bdb;
}

.home-product-expedition {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 1px 0 0;
  padding: 0;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.1;
}

.home-product-expedition--yes {
  color: #1677ff;
}

.home-product-expedition--no {
  color: #6b7280;
}

.home-product-expedition-plane {
  font-size: 9px;
  color: #1677ff;
  opacity: 0.95;
}

.home-product-expedition-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #ffffff;
}

.home-product-expedition--yes .home-product-expedition-icon {
  border: 1.5px solid #1677ff;
}

.home-product-expedition--yes .home-product-expedition-icon .fa-check {
  font-size: 7px;
  line-height: 1;
  color: #1677ff;
}

.home-product-expedition--no .home-product-expedition-icon {
  border: 1.5px solid #9ca3af;
}

.home-product-expedition--no .home-product-expedition-icon .fa-map-marker-alt {
  font-size: 7px;
  line-height: 1;
  color: #6b7280;
}

.home-product-tag {
  margin: 0;
  font-size: 10px;
  color: #888;
  line-height: 1.2;
}

.home-product-price {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}

.home-product-meta {
  margin: 2px 0 0;
  font-size: 10px;
  color: #888;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-product-meta-sep {
  color: #666;
}

.home-product-delivery {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 2px;
  color: #1a7f37;
  font-weight: 600;
  white-space: nowrap;
}

.home-product-delivery .fa-check {
  font-size: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #1a7f37;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-product-seller {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 4px;
  margin-top: 4px;
  font-size: 10px;
  color: #999;
  line-height: 1.2;
  min-width: 0;
}

.home-verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #1677ff;
  font-weight: 600;
  flex-shrink: 0;
}

.home-verified-icon {
  width: 12px;
  height: 12px;
  object-fit: contain;
}

.home-verified-label {
  font-size: 10px;
}

.home-seller-name,
.home-seller-country {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-product-dot {
  color: #ccc;
}

.home-product-rating-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 5px;
  margin-top: 4px;
  min-height: 22px;
}

.home-product-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  flex: 0 1 auto;
  min-width: 0;
  margin-top: 0;
}

.home-commission-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 4px;
  border: 1.5px solid #3d5a99;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  color: #3d5a99;
  line-height: 1;
  background: #ffffff;
  letter-spacing: -0.03em;
  box-sizing: border-box;
}

.home-product-stars .etoile-pleine {
  color: #f5a623;
  font-size: 11px;
  line-height: 1;
}

.home-product-stars .etoile-vide {
  color: #c5d4e8;
  font-size: 11px;
  line-height: 1;
}

.home-card-visual-btn {
  left: 8px;
  bottom: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #333;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

/* NOM / TYPE PRODUIT */
.product-type {
  font-size: 11px;
  font-weight: 500;
  color: #666;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Coupe le texte proprement s'il est trop long */
}

.product-type a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* PRIX */
.product-price {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: auto;
  /* Aligne le prix en bas de la carte */
}

/* ÉTOILES / RATING */
.etoiless {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  /* Couleur or standard */
  margin-top: 2px;
}

/* BADGE VERIFIÉ */
.badge {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}


/* =========================
   ÉTOILES (RATING)
   ========================= */

.etoiles {
  display: flex;
  /* flexbox */
  justify-content: flex-end;
  /* étoiles alignées à droite */
  background: transparent;
  /* fond transparent */
  margin-top: -19px;
  /* ajustement position */
}


.product-title {
  font-size: 14px;
  font-weight: bold;
  margin: 0;
}

.product-links {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.product-links a {
  text-decoration: none;
  color: var(--accent-color);
  font-weight: bold;
  font-size: var(--taille-text-pc);
}
/* CARTE GLOBALE */
.separator-card {
  background: transparent;
}

.separator-card .boosters-container {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* CONTENEUR PRINCIPAL */
.boosters-container {
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background-color: var(--bg-color);
  overflow-x: auto;
  /* scroll horizontal */
  gap: 5px;
}

/* CAROUSEL */
.advertisement-carousel {
  display: flex;
  gap: 5px;
}

/* CHAQUE CARTE */
.ad-slide {
  position: relative;
  flex-shrink: 0;
  width: 130px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.ad-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


/* TEXTE SUR IMAGE */
.ad-details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px;
  font-size: 12px;
  color: white;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

/* TITRE */
.boosted {
  font-size: 12px;
  margin: 0;
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
  .boosters-container {
    height: auto;
    min-height: 0;
  }

  .ad-slide {
    width: calc((100vw - 48px) / 3.2);
    max-width: 120px;
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .ad-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

.extra-info {
  color: var(--navrigt-primary-bg);
  margin-bottom: 3px;
  font-size: 0.7em;
}

.boosted {
  color: var(--text-color);
  margin-bottom: 3px;
  font-size: var(--taille-text-pc);
  bottom: 5px;
}

.title {
  font-size: var(--taille-titre-pc);
  margin-bottom: 3px;
}

.price {
  color: var(--text-color);
  font-size: var(--taille-text-pc);

}

.btn-container {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 2px;
}

.btn-reserver {
  text-decoration: none;
  padding: 4px 8px;
  background-color: var(--navrigt-primary-bg);
  color: var(--text-color);
  border-radius: 4px;
  transition: background-color 0.3s ease;
  font-size: var(--taille-text-pc);
}

.btn-reserver:hover {
  background-color: var(--navrigt-primary-bg);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  left: 10px;
  right: 10px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 10;
}

.prev-btn,
.next-btn {
  background-color: var(--navrigt-primary-bg);
  color: var(--text-color);
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: var(--taille-icon-pc)
}

.prev-btn:hover,
.next-btn:hover {
  background-color: var(--hover-bg);
}

.responsive-separator-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  border-radius: 8px;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.responsive-separator-card .boosted-slot-card {
  height: 100%;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
}

.responsive-separator-card .boosted-slot-card .boosted-products-carousel {
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0;
}

.responsive-separator-card .boosted-slot-card .boosted-products-wrapper {
  height: 100%;
}

.responsive-separator-card h4 {
  font-size: var(--taille-text-pc);
  margin-bottom: 15px;
  color: var(--text-color);
}

.responsive-separator-card .boosted-carousel-title {
  position: relative;
  z-index: 3;
  margin: 0 0 10px 0;
  padding: 4px 8px 0;
  text-align: left;
  line-height: 1.25;
}

.boosted-products-carousel {
  overflow: hidden;
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  background: #ffffff;
}

.produit-card .post-media-link {
  z-index: 2;
}
.boosted-products-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  transition: transform 0.6s ease;
  will-change: transform;
}

.boosted-card .compteur-flottants {
  position: fixed;
  /* reste toujours visible */
  top: 200px;
  /* distance du haut */
  right: 5px;
  /* distance de la droite */
  background-color: var(--titre-color);
  /* rouge vif pour attirer l’œil */
  color: var(--text-color);
  padding: 15px 5px;
  border-radius: 25px;
  /* arrondi style badge */
  font-size: 24px;
  box-shadow: 0 4px 10px var(--shaodw-color);
  z-index: 9999;
  /* toujours au-dessus */
  z-index: 999;
}

/* effet quand le compteur change (animation “pop”) */
.compteur-flottants.pop {
  background-color: var(--navrigt-primary-bg);
}



.boosted-card {
  position: relative;
  display: block;
  flex: 0 0 100%;
  min-width: 100%;
  width: 100%;
  height: 100%;
  transform: translateZ(0);
  backface-visibility: hidden;
  overflow: hidden;
  background: #000;
}

.boosted-slot-card .boosted-slide-media {
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  border-bottom: none;
  flex-shrink: 0;
  padding-top: 10px;
  box-sizing: border-box;
}

.boosted-slot-card .boosted-media-link {
  position: absolute;
  inset: 0;
  top: 10px;
  display: block;
  padding: 0;
  text-decoration: none;
}

.boosted-slot-card .boosted-full-img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: 50% 62%;
  display: block;
  margin: 0;
  padding: 0;
}

.boosted-slot-card .post-media.post-media-placeholder.boosted-full-img {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.boosted-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: 0.02em;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
  pointer-events: none;
}

.boosted-empty {
  margin: 0;
  padding: 12px 8px;
  font-size: 12px;
  color: #888;
  text-align: center;
}

.boosted-card > a:first-of-type {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.prev-btn,
.next-btn {
  position: absolute;
  top: 93%;
  transform: translateY(-50%);
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width:35px;
  height: 35px;
  font-size: var(--taille-icon-pc);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.3s ease;
}

.prix p {
  font-size: var(--taille-titre-pc);
}

.boosted-card h5 {
  font-size: 10px;
  color: var(--text-color);
  margin-bottom: 10px;
}

.boosted-card p {
  font-size: var(--taille-titre-pc);
  color: var(--text-color);
  margin-bottom: 10px;
}



.prev-btn {
  left: 1px;
}

.next-btn {
  right: 1px;
}

.prev-btn:hover,
.next-btn:hover {
  background-color: var(--hover-bg);
}

.boosted-products-wrapper p {
  font-size: var(--taille-titre-pc);
  color: var(--text-color);
  text-align: center;
  margin: auto;
}

.banner-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.left-titles {
  display: flex;
  gap: 5px;
  flex: 1;
}

.title {
  padding: 10px 20px;
  color: var(--text-color);
}

.main-image-pub {
  flex: 2;
  align-items: center;
}

.main-image-pub img {
  max-width: 60px;
  border-radius: 50%;
}

.sponsors {
  display: flex;
  gap: 5px;
  position: absolute;
  top: 5px;
  right: 10px;
}

.sponsors img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.button-link {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.link-button {
  display: inline-block;
  padding: 5px 25px;
  background-color: var(--navrigt-primary-bg);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 50%;
  text-align: center;
}

@keyframes rainbow-border {
  0% {
    border-color: var(--effet-color);
  }

  20% {
    border-color: var(--logo-color);
  }

  40% {
    border-color: var(--effet-color);
  }

  60% {
    border-color: var(--logo-color);
  }

  80% {
    border-color: var(--effet-color);
  }

  100% {
    border-color: var(--logo-color);
  }
}

.rainbow-border {
  border: 2px solid;
  border-radius: 10px;
  animation: rainbow-border 3s linear infinite;
  box-shadow: 0 0 12px var(--shadow-color);
}

div#pub-container {
  margin-top: 12px;
}

span.image-counter {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  padding: 2px 6px;
  border-radius: 10px;
  z-index: 2;
}
span.nom {
  font-size: 14px;
  color: var(--text-color);
  font-weight: bold;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
}
.favori-btn {
  padding: 10px;
  cursor: pointer;
}

.favori-btn:hover {
  color: var(--hover-bg);
}

.favori-btn i {
  font-size: var(--taille-icon-pc);
  vertical-align: middle;
}

.compteur-flottant {
  position: fixed;
  top: 340px;
  left: 0px;
  background-color: var(--navrigt-primary-bg);
  color: var(--text-color);
  padding: 5px 10px;
  border-radius: 25px;
  font-size: 12px;
  box-shadow: 0 4px 10px var(--shaodw-color);
  z-index: 9999;
  transition: transform 0.3s ease, background-color 0.3s ease;
  z-index: 999;
}

.compteur-flottant.pop {
  transform: scale(1.2);
  background-color: var(--navrigt-primary-bg);
}

.top-produits-container {
  position: fixed;
  bottom: 0;
  left: 0;
  top: 400px;
  width: 100%;
  max-height: 0;
  background-color: var(--navrigt-primary-bg);
  box-shadow: 0 -2px 10px var(--shadow-color);
  overflow-y: auto;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  z-index: 999;
}

.top-produits-container.active {
  max-height: 60vh;
  opacity: 1;
}

.top-produits-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border-bottom: 1px solid var(--border-color);
  font-weight: bold;
  background-color: var(--bg-color);
}

.top-produits-header button {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.top-produits-list .produit-item {
  padding: 8px;
  border-bottom: 1px solid var(--logo-color);
  display: inline-block;
  width: 90px;
  margin: 5px;
  text-align: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.top-produits-list .produit-item:hover {
  transform: scale(1.05);
  background-color: var(--hover-bg);
  border-radius: 5px;
}

.produit-media-img,
.produit-media-video {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 25px;
}

.separator-cards {
  display: none;
  background: var(--bg-color);
  max-height: 170px;
}

.boosters-containers {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  height: auto;
  min-height: 115px;
  display: flex;

}

.image-counters {
  position: absolute;
  top: 39px;
  left: 16px;
  background-color: var(--navrigt-primary-bg);
  color: var(--text-color);
  padding: 1px 2px;
  border-radius: 50%;
  font-size: 8px;
  font-weight: bold;
}


.advertisement-carousels {
  display: grid;
  position: relative;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  width: 100%;
}

.advertisement-carousels img {
  width: 35px;
  height: 35px;
  object-fit: cover;
  border-radius: 25px;
}

.ad-slides {
  display: flex;
  flex-shrink: 1;
  position: relative;
  align-items: center;
  justify-content: space-between;
  margin-left: -5px;
  padding: 1px 9px;
}


.separato-cards {
  background: var(--bg-color);
  max-height: 170px;
}

/* ANIMATION */
@keyframes autoScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.boosters-containe {
  /* position: relative; */
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  height: 100px;
  display: flex;
}

.advertisement-car {
  display: flex;
  position: relative;
  gap: 2px;
  animation: autoScroll 1s linear infinite;
  width: max-content;
}

/* ITEM */
.ad-sl {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.carousel-n {
  position: absolute;
  top: 26%;
  left: -8px;
  right: -8px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 10;
}

.separato-cards {
  display: block;
}

.prev-bt,
.next-bt {
  position: absolute;
  top: 20%;
  transform: translateY(-50%);
  color: var(--text-color);
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: var(--taille-icon-pc);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 4px var(--shadow-color);
  z-index: 2;
  transition: background-color 0.3s ease;
}

.advertisement-car img {
  width: 70px;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
}

.plage-titre {
  font-size: 10px;
}



@media (max-width: 768px) {
  .produit-card {
    width: 100%;
  }

  .separator-cards {
    display: block;

  }

  .container-home {
    margin-left: 0 !important;
    margin-top: 8px;
    width: 100%;
    padding: 0 2px;
    box-sizing: border-box;
  }


  .produits-grid {
    gap: 6px;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 6px;
  }

  .home-product-title {
    font-size: 11px;
    min-height: 0;
  }

  .home-product-price {
    font-size: 13px;
  }

  .home-product-meta,
  .home-product-seller,
  .home-verified-label {
    font-size: 9px;
  }

  .home-commission-badge {
    min-width: 24px;
    height: 24px;
    font-size: 8px;
    border-width: 1.5px;
  }

  .home-product-stars .etoile-pleine,
  .home-product-stars .etoile-vide {
    font-size: 10px;
  }

  .home-card-visual-btn {
    width: 22px;
    height: 22px;
    font-size: 9px;
  }

  .home-product-info {
    padding: 5px 6px 7px;
  }
  .plage-titre {
  
    font-size: 20px;
  }
  .favori-btn i {
    font-size: var(--taille-icon-mo);
  }

  .product-links a {

    font-size: var(--taille-text-mo);
  }

  .boosters-container h2 {
    font-size: var(--taille-titre-mo);

  }

  .info-message {
    font-size: var(--taille-text-mo);

  }

  .boosted {
    font-size: 6px !important;
  }

  .title {
    font-size: var(--taille-titre-mo);
  }

  .product-info p {
    font-size: var(--taille-text-mo);
  }

  .price {
    font-size: var(--taille-text-mo);
  }

  .btn-reserver {

    font-size: var(--taille-text-mo);
  }

  .boosted-products-wrapper p {
    font-size: var(--taille-titre-mo);

  }

  
  .prev-btn,
  .next-btn {

    font-size: var(--taille-icon-mo)
  }

  .responsive-separator-card h4 {
    font-size: var(--taille-text-mo);

  }

  .responsive-separator-card .boosted-carousel-title {
    margin-bottom: 8px;
    padding-inline: 6px;
  }

  .second {
    display: none;
  }

  .prev-btn,
  .next-btn {
    font-size: var(--taille-icon-mo);
  }

  .prix p {
    font-size: var(--taille-titre-mo);
  }

  .product-price,
  .product-size {
    font-size: var(--taille-text-pc);

  }

  .boosted-card h5 {
    font-size: var(--taille-titre-mo);
  }

  .boosted-card p {
    font-size: var(--taille-titre-mo);
  }

  .info-text {
    font-size: 0, 2rem;
    width: 150px;
  }

  .product-title,
  .product-size {
    display: none;
  }

  .boosters-container h2 {
    font-size: var(--taille-text-mo);

  }

  .product-links {
    margin-top: 0;
  }

  .product-info:not(.home-product-info) p {
    margin-bottom: 1px;
    font-size: 17px;
  }


  .ad-details {
    font-size: var(--taille-text-mo);
  }

 

  .product-price,
  .product-size {
    font-size: var(--taille-text-mo);

  }

  .home-product-info .home-product-price {
    font-size: 13px;
  }
  span.nom_boost{
    margin-left: 10px;
    font-size: 13px;
      color: var(--text-color);
      font-weight: bold;
      white-space: nowrap;
      text-overflow: ellipsis;
      display: inline-block;
    
    
  }


  .banner-container {
    align-items: start;
  }

  .left-titles {
    gap: 0 !important;
  }

  .title-pub {
    padding: 10px 5px;
  }

  .main-image-pub img {
    max-width: 50px;

  }


}

@media(min-width: 768px) {
  .top-produits-container {
    display: none;
  }
}

.home-products-loader {
  width: 100%;
  padding: 6px 0 2px;
}

.home-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  padding: 0 6px;
  background-color: #f5f5f5;
}

.home-skeleton-card {
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
}

.home-skeleton-media {
  background: linear-gradient(90deg, rgba(120, 120, 120, 0.14) 25%, rgba(120, 120, 120, 0.28) 50%, rgba(120, 120, 120, 0.14) 75%);
  background-size: 200% 100%;
  animation: home-skeleton-shimmer 1.1s linear infinite;
}

.home-skeleton-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
}

@keyframes home-skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.home-products-sentinel {
  width: 100%;
  height: 1px;
}

@media (min-width: 769px) {
  .home-skeleton-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .home-skeleton-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
}

@media (max-width: 400px) {
  .produits-grid {
    gap: 4px;
    padding: 4px;
  }

  .home-product-title {
    font-size: 10px;
    min-height: 0;
  }

  .home-product-price {
    font-size: 12px;
  }

  .home-product-meta,
  .home-product-seller,
  .home-verified-label {
    font-size: 8px;
  }

  .home-card-visual-btn {
    width: 20px;
    height: 20px;
    font-size: 8px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .produits-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}