


body {
  margin: 0;
  padding: 0;
  background: #fcfcfc; /* ou #081e3f si tu veux que ça se fonde dans le footer */
}

/* --- BARRE DE RECHERCHE --- */
.search-bar-home {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f0f0f0;
  border-radius: 12px;
  margin: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.search-bar-home input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  flex: 1;
}
.search-bar-home svg {
  width: 22px;
  height: 22px;
  stroke: #888;
}

/* --- SECTION MEILLEURES VENTES --- */
.best-sellers-section {
  padding: 0 12px;
  margin-top: 20px;
}
.best-sellers-section h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* --- SCROLL HORIZONTAL --- */
.best-sellers-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.best-sellers-scroll::-webkit-scrollbar {
  display: none;
}

/* --- PRODUIT CARD --- */
.card-item {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 140px;
  height: 160px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}
.card-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 8px;
}
.search-bar-home {
  display: flex;
  align-items: center;
  background: #f1f1f1;
  border-radius: 12px;
  padding: 10px 14px;
  margin: 16px;
}
.search-bar-home input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
}
.search-bar-home svg {
  width: 20px;
  height: 20px;
  stroke: #555;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 16px 12px;
}

.product-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.product-scroll::-webkit-scrollbar {
  display: none;
}

.card-product {
  flex: 0 0 auto;
  width: 120px;
  scroll-snap-align: start;
  text-align: center;
}
.card-product .card-box {
  background-color: #ddd;
  height: 100px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-product img {
  max-width: 60%;
  max-height: 60%;
}
.card-product span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
}
/* STYLE DUNDLE BEST SELLER */
.best-sellers-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  padding: 0 16px 30px;
  -webkit-overflow-scrolling: touch;
}
.best-sellers-container::-webkit-scrollbar {
  display: none;
}
.best-seller-card {
  flex: 0 0 85%;
  max-width: 85%;
  height: 200px;
  border-radius: 18px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  scroll-snap-align: start;
  position: relative;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.best-seller-card img {
  width: 90%;
  height: 70%;
  object-fit: contain;
  margin: 0 auto;
  margin-top: 14px;
}

.best-seller-card .label {
  position: absolute;
  bottom: 12px;
  left: 16px;
  font-size: 15px;
  font-weight: 600;
  color: white;
}
/* Conteneur principal de la section */
.best-sellers-section {
  /* Vous pouvez ajuster le padding/margin selon la mise en page globale du site */
  padding: 1rem 0;
}

/* Titre de la section */
.best-sellers-section h2 {
  font-size: 1.5em;
  margin: 0 0 0.5em 0;  /* espace sous le titre */
  font-weight: 600;
}

/* Conteneur scrollable des produits */
.best-sellers-list {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory; /* Active le scroll snap horizontal strict :contentReference[oaicite:0]{index=0} */
  -webkit-overflow-scrolling: touch; /* Défilement fluide (momentum) sur iOS:contentReference[oaicite:1]{index=1} */
  scroll-behavior: smooth;        /* Défilement doux lorsqu’on scroll */
  list-style: none;               /* Pas de puces pour la liste */
  padding: 0;
  margin: 0;
  gap: 1rem;                      /* Espacement entre les cartes */
}

/* Masquer la barre de scroll horizontale (optionnel) */
.best-sellers-list::-webkit-scrollbar {
  display: none;
}
.best-sellers-list {
  -ms-overflow-style: none;       /* Internet Explorer/Edge */
  scrollbar-width: none;          /* Firefox */
}

/* Chaque élément (carte) de la liste */
.best-sellers-list li {
  flex: 0 0 auto;                /* Empêche les items de s'étirer ou rétrécir */
  scroll-snap-align: start;      /* Chaque carte s'aligne au début du conteneur lors du snap :contentReference[oaicite:2]{index=2} */
}

/* Lien de la carte produit */
.product-card {
  display: block;
  text-decoration: none;
  color: inherit;                /* Conserve la couleur du texte par défaut */
  width: 80vw;                   /* Occupe ~80% de la largeur du viewport pour en laisser 20% à la carte suivante */
  max-width: 300px;              /* Optionnel : limite la taille sur écrans très larges */
}

/* Contenu visuel de la carte (rectangle coloré) */
.product-card-inner {
  background: #f0f0f0;           /* Couleur de fond par défaut (sera surchargée par les classes produit) */
  border-radius: 8px;            /* Coins arrondis pour reproduire l’effet visuel */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);  /* Ombre légère sous la carte */
  overflow: hidden;              /* Masque d’éventuels débordements de l’image */
  aspect-ratio: 8/5;             /* Ratio largeur/hauteur ~1.6 pour un rectangle horizontal */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image du produit à l’intérieur de la carte */
.product-card-inner img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;  /* Ajuste l’image sans la déformer */
}

/* Nom du produit sous la carte */
.product-name {
  margin-top: 0.5em;
  font-size: 0.95em;
  font-weight: 500;
  text-align: left;
  /* Même padding horizontal que la carte si souhaité */
}

/* Couleurs de fond spécifiques à chaque produit (fidèles à la charte de dundle.fr) */
.product-card.paysafecard .product-card-inner {
  background-color: #0082cc; /* Bleu PaysafeCard (exemple) */
}
.product-card.neosurf .product-card-inner {
  background-color: #E91E63; /* Rose Neosurf */
}
.product-card.transcash .product-card-inner {
  background-color: #212121; /* Gris foncé pour Transcash */
}
.product-card.cashlib .product-card-inner {
  background-color: #4caf50; /* Vert pour CASHlib (exemple) */
}
.product-card.pcs .product-card-inner {
  background-color: #303F9F; /* Bleu foncé pour PCS Mastercard */
}
.product-card.google-play .product-card-inner {
  background-color: #000000; /* Noir pour Google Play (logo multicolore ressort sur fond sombre) */
}

/* Responsive : ajustements éventuels pour les écrans plus larges */
@media (min-width: 768px) {
  .best-sellers-section h2 {
    font-size: 1.75em;
  }
  .product-card {
    width: 60vw;           /* Sur tablette+ : occupe 60% du viewport, montrant plus de la carte suivante */
    max-width: 400px;
  }
}
.best-sellers-section h2 {
  font-size: 1.5em;
  margin: 0 0 0.8em 0;
  font-weight: 700;
  font-family: 'Aeonik Pro', sans-serif;
  padding: 0 16px;
}

.best-sellers-list {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  padding: 0 16px 20px;
  -webkit-overflow-scrolling: touch;
}
.best-sellers-list::-webkit-scrollbar {
  display: none;
}

.product-card {
  display: block;
  flex: 0 0 80%;
  max-width: 300px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}

.product-card-inner {
  aspect-ratio: 8/7;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background-repeat: repeat;
  background-size: cover;
}


.product-card-inner img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.product-name {
  font-family: 'Aeonik Pro', sans-serif;
  font-size: 15px;
  font-weight: 500;
  margin-top: 8px;
  padding-left: 4px;
  color: #111;
  text-align: left;
}
.section-separator {
  padding-top: 64px;
  margin-top: 24px;
  border-top: 1px solid #ddd;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 1.5em;
  margin: 0;
  font-weight: 700;
}

.voir-plus {
  font-size: 14px;
  color: #555; /* gris foncé élégant */
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.voir-plus:hover {
  opacity: 0.7;
  text-decoration: none; /* pas de soulignement au hover non plus */
  cursor: pointer;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background-color: #f7f8f9; /* même couleur que le footer */
  overflow-x: hidden;
}
.promo-connect-section {
  background-color: #081e3f;
  background-image: url("bg-pattern2.png");
  background-repeat: repeat;
  background-size: contain;
  color: #fff;
  padding: 32px 16px;
  
  position: relative;
  overflow: hidden;
  margin: 32px 0px;
}

.promo-content {
  max-width: 340px;
  z-index: 2;
  position: relative;
}

.promo-connect-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.promo-connect-section p {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: #d8e0ea;
  line-height: 1.5;
}

.promo-button {
  display: inline-block;
  background-color: #00caff;
  color: #081e3f;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s ease;
}

.promo-button:hover {
  background-color: #00b5e0;
}

.promo-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  max-width: 50%;
  z-index: 1;
}
/* ✅ FORCÉ À LA FIN POUR ÉVITER TOUT CONFLIT */
.best-sellers-list {
  padding-left: 16px !important;
  padding-right: 16px !important;
  gap: 16px !important;
}
.product-scroll,
.best-sellers-scroll,
.best-sellers-container {
  padding-left: 16px;
  padding-right: 16px;
  gap: 16px;
}
.best-sellers-list > .product-card:first-child {
  margin-left: 16px;
}
.spacer-card {
  pointer-events: none;
  flex: 0 0 10px;
  width: 1px;
  height: 1px;
  background: transparent;
}
/* Applique Inter partout */
body, html, input, button, select, textarea {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
