    /* RESET & BASE */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
	@font-face {
			  font-family: BonvenoCF;
			  src: url("./css/fonts/thinoothin.otf");
	}
    body {
      font-family: Verdana, sans-serif;
      background: #d0d0d0;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    ul {
      list-style: none;
    }

    /* ---------- LIGNE 1 ---------- */
    .top-bar-hd {
      background: #eee;
      color: #333;
      font-size: 14px;
      padding: 10px 20px;
      display: flex;
      justify-content: space-between;
    }

    .top-bar-left-hd, .top-bar-right-hd {
      display: flex;
      align-items: center;
    }

  .rating {
	text-align:center;
    display: block;
    padding: 1px 5px 1px 5px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.stars {
    display: flex;
    position: relative;
    font-size: 24px;
}

.star {
    color: #ccc;
    position: relative;
}

.star.filled {
    color: gold;
}

.star.half::before {
    content: '\2605';
    color: gold;
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
}

.note {font-size:0.6em;}

.rating a {text-decoration:none;color:#000;}


    @media (max-width: 1023px) {
      .top-bar-hd {
        display: none;
      }
    }

    /* ---------- LIGNE 2 ---------- */
    .promo-bar-hd {
      background: #5060ff;
      color: #fff;
      text-align: center;
      padding: 10px;
      font-weight: bold;
      font-size: 14px;
    }
    .promo-bar-hd a {
		color:#d3d3d3;
    }
    .promo-bar-hd a:hover {
		color:#ffbd88;
    }

    /* ---------- LIGNE 3 ---------- */
    .header-main-hd {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      background: #fff;
      border-bottom: 1px solid #ddd;
    }

    .logo-hd {
      font-size: 24px;
      font-weight: bold;
      padding-left:60px;
    }
    
    .logo-hd img {
  height: 40px;
	}

    .search-bar-hd {
      margin: 0 auto;
      width:50%;
      display: flex;
  border: 1px solid #bbb;
  border-radius: 8px;
  overflow: hidden;  /* Cache les bords non arrondis */
    }

    .search-bar-hd input {
      flex: 1;
      padding: 8px 10px;
      border: none;
      border-radius: 0;
    }

    .search-bar-hd button {
      border: none;
      color: #fff;
      padding: 8px 15px;
      border-radius: 0 4px 4px 0;
      cursor: pointer;
      background:#7174b4;
    }
.search-bar-hd button:hover {
  background-color: #333784; /* Change la couleur du bouton lors du survol */
}

    .icons-hd {
      display: flex;
      gap: 15px;
      align-items: center;
      padding-right:60px;
    }

    .icons-hd span:hover {
      transform: scale(1.1);
    }

    .icons-hd span {
      position: relative;
      cursor: pointer;
      font-size:1.5em;
    }

    .icons-hd .cart-count-hd {
      position: absolute;
      top: -5px;
      right: -10px;
      background: #ff5050;
      color: #fff;
      border-radius: 50%;
      padding: 2px 6px;
      font-size: 12px;
    }

    .mobile-header-hd {
      display: none;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      background: #fff;
      border-bottom: 1px solid #ddd;
    }

    .mobile-search-hd {
      display: none;
      padding: 10px 20px;
      background: #f9f9f9;
    }

    .mobile-search-hd input {
      width: 100%;
      padding: 8px 10px;
      border: 1px solid #ddd;
      border-radius: 4px;
    }

    @media (max-width: 1023px) {
      .header-main-hd {
        display: none;
      }

      .mobile-header-hd {
        display: flex;
      }

      .mobile-search-hd {
        display: block;
      }
    .logo-hd {
      padding-left:0px;
    }
    }

    /* ---------- LIGNE 4 : CATÉGORIE DESKTOP ---------- */
    .category-menu-hd {
      display: flex;
      justify-content: center;
      background-color: #f9f9f9;
      border-bottom: 3px solid #ccc;
      font-size:0.9em;
    }

    .category-menu-hd > li {
      padding: 15px 20px;
      position: relative;
      cursor: pointer;
      transition: all 0.3s ease;
      font-variant-caps: small-caps;
      justify-content: center;
    }

    .category-menu-hd > li:hover {
      color: #333784;
    }

    .category-menu-hd > li::after {
      content: '';
      display: block;
      height: 2px;
      background: transparent;
      transition: 0.3s;
      margin-top: 5px;
    }

    .category-menu-hd > li:hover::after {
      background: #333784;
    }

.category-menu-hd > li {
  position: static; /* important pour que le submenu utilise la fenêtre */
}

    .sub-menu-hd {
      display: none;
		position: absolute; /* ou absolute si tu préfères */
      left: 0;
      width: 100vw; /* toute la largeur */
      background: #fff;
      border-top: 1px solid #ddd;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      padding: 20px;
      margin-top:20px;
      text-align: left;
		z-index: 1000; /* assure-toi qu'il passe par-dessus */
		color:#242424;
    }

    .category-menu-hd > li:hover .sub-menu-hd {
      display: block;
    }

.sub-menu-hd-content {
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	}

.sub-menu-hd-left {
	flex:2;
}
.sub-menu-hd-right {
	flex:3;
}

  .category-menu-hd .sub-menu-hd ul {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 colonnes */
    gap: 10px;
  }
  .category-menu-hd .sub-menu-hd a {
	display:block;
  }
  
  .category-menu-hd .sub-menu-hd ul li:hover {
	text-decoration:underline;
	}

    @media (max-width: 1023px) {
      .category-menu-hd {
        display: none;
      }
    }

.mini-grid {
  display: flex;
  flex-wrap: wrap; /* Pour rester en horizontal */
  gap: 12px;
  overflow-x: auto; /* Scrolling horizontal si trop large */
  padding: 10px 0;
  overflow: hidden; /* Cache le reste si pas de scroll */
}

.mini-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 70px;
  padding: 8px;
  border-radius: 8px;
  background: #f9f9f9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  flex-shrink: 0; /* Empêche de se réduire si pas assez de place */
}

.mini-item:hover {
  background-color: #007bff;
  color: #fff;
}

.mini-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 6px;
}

.mini-item span {
  font-size: 0.75rem;
  font-weight: 500;
}


    /* ---------- HAMBURGER ---------- */
    .hamburger-hd {
      display: none;
      flex-direction: column;
      cursor: pointer;
    }

    .hamburger-hd div {
      width: 25px;
      height: 3px;
      background-color: #333;
      margin: 4px 0;
    }

    @media (max-width: 1023px) {
      .hamburger-hd {
        display: flex;
      }
    }

    /* ---------- MENU MOBILE FULLSCREEN ---------- */
    .mobile-menu-hd {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.9);
      z-index: 9999;
      flex-direction: column;
      color: #fff;
      overflow-y: auto;
    }

    .mobile-menu-hd.active-hd {
      display: flex;
    }

    .mobile-menu-hd .menu-header-hd {
      padding: 20px;
      background-color: #333;
      font-size: 18px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .mobile-menu-hd ul {
      width: 100%;
    }

    .mobile-menu-hd ul li {
      padding: 15px 20px;
      border-bottom: 1px solid #444;
      position: relative;
      cursor: pointer;
    }

    /* -------- FULLSCREEN SUBMENU MOBILE -------- */
    .mobile-submenu-hd {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #111;
      color: #fff;
      z-index: 10000;
      flex-direction: column;
    }
    
    .mobile-submenu-hd a {
		display:block;
		}

    .mobile-submenu-hd.active-hd {
      display: flex;
    }

    .mobile-submenu-hd .menu-header-hd {
      padding: 20px;
      background-color: #333;
      font-size: 18px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .mobile-submenu-hd ul {
      padding: 20px;
      flex: 1;
      overflow-y: auto;
    }

    .mobile-submenu-hd ul li {
      padding: 15px 0;
      border-bottom: 1px solid #444;
    }

    .mobile-menu-hd .contact-info-hd {
      padding: 20px;
      background-color: #333;
    }

    @media (min-width: 1023px) {
      .mobile-menu-hd, .mobile-submenu-hd {
        display: none !important;
      }
    }


    /* ----------- IMAGE PRINCIPALE ---------- */
    .hero {
      display: block;
      width: 100%;
      height: auto;
      margin-bottom: 40px;
      border-radius: 10px;
      overflow: hidden;
    }

    .hero img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .hero:hover img {
      transform: scale(1.02);
    }

    /* ----------- CATEGORIES ---------- */
    .categories {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 20px;
      margin-bottom: 60px;
    }

    .category-item {
      background-color: #fff;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
    }

    .category-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    }

    .category-item img {
      width: 100%;
      height: 150px;
      object-fit: cover;
      display: block;
    }

    .category-item h3 {
      padding: 15px;
      font-size: 1.1rem;
      background-color: #f0f0f0;
    }

    /* ----------- FICHES PRODUITS ---------- */
    .products {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
      margin-bottom: 60px;
    }

    .product-item {
      background-color: #fff;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
    }

    .product-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    }

    .product-item img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      display: block;
    }

    .product-info {
      padding: 15px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
      justify-content: space-between;
    }

    .product-info h4 {
      margin-bottom: 10px;
      font-size: 1rem;
      color: #222;
    }

    .product-info p {
      font-size: 0.9rem;
      color: #777;
      margin-bottom: 15px;
    }

    .product-info .price {
      font-size: 1rem;
      font-weight: bold;
      color: #e63946;
    }

    /* Responsive helpers */
    @media (max-width: 768px) {
      .category-item img {
        height: 120px;
      }

      .product-item img {
        height: 150px;
      }
    }

/* Footer global */

.mobile-call-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #0078D7; /* Bleu du bandeau */
  color: white;
  text-align: center;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: bold;
  z-index: 9999;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.mobile-call-banner a {
  color: white;
  text-decoration: none;
}

@media (min-width: 1024px) {
  .mobile-call-banner {
    display: none; /* Masqué sur tablette et desktop */
  }
}
.footer {
  background-color: #fff;
  color: #111;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer a {
  color: #111;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Container */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

/* Sections */
.footer-section {
  flex: 1 1 200px;
  margin: 20px;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #111;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section p {
  margin: 5px 0;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #111;
  margin-bottom: 15px;
}

/* Réseaux sociaux */
.social-icons a {
  display: inline-block;
  margin-right: 10px;
}

.social-icons img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

/* Bottom footer */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  border-top: 1px solid #444;
  padding-top: 15px;
}

.footer-bottom a {
  margin: 0 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    margin: 10px 0;
  }

  .social-icons {
    justify-content: center;
  }
}


/* PAGE PRODUIT */
    .container-pge-product {
      max-width: 1200px;
      margin: 10px auto;
      padding: 1.5rem;
      background-color: #fff;
      box-shadow: 0 0 10px rgba(0,0,0,0.05);
      border-radius: 10px;
    }

    /* === GRID PRINCIPALE === */
    .product-grid-pge-product {
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    @media (min-width: 1024px) {
      .product-grid-pge-product {
        flex-direction: row;
      }
    }

    .gallery-column-pge-product {
      flex: 1;
    }

	.container-infos-art {
  display: flex;              /* Aligne les items en ligne */
  justify-content: center;    /* Centre les items horizontalement dans le container */
  align-items: flex-start;    /* Aligne le haut des items */
  flex-wrap: nowrap;          /* Pas de retour à la ligne */
  overflow-x: none;           /* Scroll horizontal si trop d'éléments */
  gap: 10px;                  /* Espacement réduit entre les items */
}


    @media (max-width: 1023px) {
    	.container-infos-art {
	gap: 2px;
    }
    }

.item-infos-art {
  display: flex;              
  flex-direction: column;     /* Empile l'image et le texte verticalement */
  align-items: center;        /* Centre l'image et le texte horizontalement */
  min-width: 60px;           /* Largeur minimale plus petite */
  flex-shrink: 0;             /* Empêche de rétrécir à zéro */
}

.item-infos-art img {
  max-width: 60px;            /* Taille réduite de l'image */
  height: auto;
}

.item-infos-art p {
  margin-top: 10px;
  text-align: center;
  font-size:0.6em;
}

    .info-column-pge-product {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    /* === GALERIE === */
    .gallery-container-pge-product {
      position: relative;
      overflow: hidden;
      border-radius: 10px;
      margin-bottom: 1rem;
    }

    .gallery-track-pge-product {
      display: flex;
      transition: transform 0.3s ease;
    }

    .gallery-track-pge-product img {
      width: 100%;
      object-fit: cover;
      flex-shrink: 0;
      border-radius: 10px;
      max-height: 450px;
        object-position: top;
    }

    .gallery-thumbs-pge-product {
      display: flex;
      justify-content: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .gallery-thumbs-pge-product img {
      width: 100px;
      height: 60px;
      object-fit: cover;
      cursor: pointer;
      opacity: 0.6;
      border-radius: 5px;
      transition: opacity 0.3s, transform 0.3s;
        object-position: top;
    }

    .gallery-thumbs-pge-product img:hover {
      opacity: 1;
      transform: scale(1.05);
    }

    .gallery-thumbs-pge-product .active-thumb-pge-product {
      opacity: 1;
      border: 2px solid #1d3557;
    }

    .gallery-controls-pge-product {
      text-align: center;
      margin: 1rem 0;
    }

    .gallery-controls-pge-product span {
      display: inline-block;
      width: 10px;
      height: 10px;
      margin: 0 5px;
      background-color: #ccc;
      border-radius: 50%;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    .gallery-controls-pge-product .active-pge-product {
      background-color: #333;
    }

    /* === INFOS PRODUIT === */
    .product-info-pge-product {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .product-info-pge-product h1 {
      font-size: 2rem;
    }

    .price-pge-product {
      font-size: 1.8rem;
      color: #e63946;
      font-weight: bold;
    }

    .description-pge-product {
      line-height: 1.6;
      color: #555;
    }
    
    .description-pge-product a {
		text-decoration:underlined;
		font-weight:bold;
		}
    
    .description-pge-product a:hover {
		color:#457b9d;
		}

    .add-to-cart-pge-product {
      background-color: #1d3557;
      color: #fff;
      padding: 1rem 2rem;
      border: none;
      border-radius: 5px;
      font-size: 1rem;
      cursor: pointer;
      width: fit-content;
      transition: background 0.3s ease;
    }

    .add-to-cart-pge-product:hover {
      background-color: #457b9d;
    }

    /* === ARTICLES RECOMMANDÉS === */
    .recommendations-pge-product {
      margin-top: 2rem;
    }

    .recommendations-pge-product h2 {
      margin-bottom: 1rem;
      font-size: 1.4rem;
    }

    .recommendations-grid-pge-product {
  display: flex;
  flex-direction: column;
  gap: 1rem;
    }

    .recommendation-item-pge-product {
  display: flex;
  flex-direction: row;
  align-items: center;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 8px;
  background-color: #fff;
  transition: box-shadow 0.3s ease;
    }

    .recommendation-item-pge-product:hover {
      transform: translateY(-5px);
    }

    .recommendation-item-pge-product-img img {
  width: 80px;
  height: auto;
  border-radius: 4px;
      object-fit: cover;
    }

    .recommendation-item-pge-product p {
      padding: 0.5rem;
      margin: 0;
      font-size: 0.9rem;
      text-align: center;
    }


.recommendation-item-pge-product-content {
  flex: 1;
  margin-left: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.recommendation-item-pge-product-name {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.recommendation-item-pge-product-price {
  color: #27ae60;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.recommendation-item-pge-product-stock {
  font-size: 0.8rem;
  color: #888;
}

.recommendation-item-pge-product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-left: 1rem;
}

.recommendation-item-pge-product-action-button {
  padding: 0.5rem 0.75rem;
  text-align: center;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.recommendation-item-pge-product-info-btn {
  background-color: #3498db;
  color: #fff;
}

.recommendation-item-pge-product-info-btn:hover {
  background-color: #2980b9;
}

.recommendation-item-pge-product-cart-btn {
  background-color: #2ecc71;
  color: #fff;
  border: none;
}

.recommendation-item-pge-product-cart-btn:hover {
  background-color: #27ae60;
}
.recommendation-item-pge-product-cart-message {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

@media (max-width: 1023px) {
 .recommendation-item-pge-product {
    flex-direction: row; /* Reste en ligne sur mobile */
    align-items: flex-start;
  }

  .recommendation-item-pge-product-img {
    flex: 0 0 80px; /* Garde une largeur fixe pour l'image */
  }

  .recommendation-item-pge-product-img img {
    width: 80px;
    height: auto;
  }

  .recommendation-item-pge-product-content {
    flex: 1;
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .recommendation-item-pge-product-name {
    margin-bottom: 0.5rem;
  }

  .recommendation-item-pge-product-price,
  .recommendation-item-pge-product-stock {
    margin: 0;
  }

  .recommendation-item-pge-product-actions {
    flex-direction: column;
    gap: 0.5rem;
    margin-left: 1rem;
    justify-content: flex-start;
    align-items: flex-end; /* Aligner à droite */
  }

  .recommendation-item-pge-product-action-button {
    flex: none;
    width: auto;
    text-align: center;
  }}


    /* === INFOS COMPLÉMENTAIRES === */
    .additional-info-pge-product {
      margin-top: 3rem;
      padding-top: 2rem;
      border-top: 1px solid #ddd;
    }

    .additional-info-pge-product h3 {
      margin-bottom: 1rem;
      font-size: 1.3rem;
    }

    .additional-info-pge-product p {
      line-height: 1.6;
      color: #555;
    }

    @media (max-width: 1023px) {
      .gallery-track-pge-product img {
        max-height: 300px;
      }

      .gallery-thumbs-pge-product img {
        width: 80px;
        height: 50px;
      }

      .product-info-pge-product h1 {
        font-size: 1.6rem;
      }
    }

    @media (max-width: 480px) {
      .gallery-track-pge-product img {
        max-height: 250px;
      }

      .gallery-thumbs-pge-product img {
        width: 60px;
        height: 40px;
      }

      .product-info-pge-product h1 {
        font-size: 1.4rem;
      }
    }

/* === DISPONIBILITÉ STOCK === */
.stock-info-container-pge-product {
  display: flex;
  gap: 1rem;
}

  .stock-info-container-pge-product.options-pge-product {
    flex-direction: row;
    flex-wrap: wrap;
    display: flex;
  }
.stock-info-container-pge-video-product {
  display: flex;              /* Aligne les items en ligne */
  justify-content: center;    /* Centre les items horizontalement dans le container */
  align-items: flex-start;    /* Aligne le haut des items */
  flex-wrap: nowrap;          /* Pas de retour à la ligne */
  overflow-x: auto;           /* Scroll horizontal si trop d'éléments */
  gap: 50px;                  /* Espacement réduit entre les items */
  padding: 10px;              /* Espace intérieur du container */
	}

.stock-info-container-video-product {
	display:flex;
	}

.stock-info-internet-pge-product,
.stock-info-store-pge-product {
  flex: 1;
  padding: 1rem;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stock-info-internet-pge-product.besoindinfos {
text-align:center;
font-weight:bold;
}

.besoindinfos a {
	color:#FD3F92;
}

.stock-info-internet-pge-product h3,
.stock-info-store-pge-product h3 {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #333;
}

.status-available-pge-product,
.status-low-stock-pge-product,
.status-out-of-stock-pge-product {
  font-size: 0.9rem;
  font-weight: bold;
}

.status-available-pge-product {
  color: #2a9d8f;  /* Disponible - Vert */
}

.status-out-of-stock-pge-product {
  color: #e63946;  /* Rupture - Rouge */
}
.status-low-stock-pge-product {
  color: #e97e00;  /* Rupture - Rouge */
}

.restock-date-pge-product {
  font-size: 0.8rem;
  color: #777;
  margin-top: 1rem;
}

/* RESPONSIVE */
@media (max-width: 1023px) {
  .stock-info-container-pge-product {
    flex-direction: column;
    gap: 1rem;
  }
  .stock-info-container-pge-product.options-pge-product {
    flex-direction: row;
    flex-wrap: wrap;
    display: flex;
  }

.stock-info-container-pge-video-product {
	gap:15px;
	}

  .stock-info-internet-pge-product,
  .stock-info-store-pge-product {
    margin-bottom: 1rem;
  }
}

/* === LIGHTBOX === */
.lightbox-pge-product {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 20px;
  box-sizing: border-box;

  /* Gérer l'affichage */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.lightbox-pge-product.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img-pge-product {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  animation: zoomIn 0.3s ease;
}

.close-lightbox-pge-product {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s;
}

.close-lightbox-pge-product:hover {
  color: #ff6b6b;
}

@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.form-add-to-cart-pge-product {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quantity-add-wrapper-pge-product {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quantity-add-wrapper-pge-product .option-produit {
	display:flex;
	align-items:center;
	gap: 1rem;
	font-size:0.8em;
	text-align:right;
	}

.quantity-selector-pge-product {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
}

.quantity-selector-pge-product input.quantity-input-pge-product, .quantity-add-wrapper-pge-product input.texte-option, .quantity-add-wrapper-pge-product select {
  width: 50px;
  text-align: center;
  border: none;
  font-size: 1rem;
  padding: 0.5rem 0;
  outline: none;
}
.quantity-add-wrapper-pge-product input.texte-option, .quantity-add-wrapper-pge-product select {
	width:100%;
	border:1px solid #999;
	border-radius:5px;
	text-align:left;
	padding-left:10px;
	}

.quantity-btn-pge-product {
  background-color: #f2f2f2;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s;
}

.quantity-btn-pge-product:hover {
  background-color: #ddd;
}

.errtel {
  color: #d32f2f; /* Rouge type erreur */
  font-size: 0.9em;
  margin-top: 4px;
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
  text-align:center;
}

.errtel.headerform {
	background-color:#d32f2f;
	color:#fff;
	font-weight:bold;
	padding:15px;
	text-align:center;
	}

#telephone.erreur{background-color:#d32f2f;color:#fff;}

.panier-confirmation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
    padding: 20px;
}

.panier-confirmation-content {
    text-align: center;
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
}
.panier-confirmation-content-contactsend, .panier-fail-content-contactsend {
    text-align: center;
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 700px;
    width: 100%;
    }

.panier-confirmation-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #28a745;
    color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 36px;
}

.panier-confirmation-content h2 {
    font-size: 24px;
    color: #333;
    margin: 10px 0;
}

.panier-confirmation-content p {
    color: #666;
    margin: 10px 0 20px;
    font-size: 16px;
}

.panier-confirmation-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.panier-btn {
    display: inline-block;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.panier-btn-primary {
    background-color: #007bff;
    color: #fff;
}

.panier-btn-primary:hover {
    background-color: #0056b3;
}

.panier-btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.panier-btn-secondary:hover {
    background-color: #5a6268;
}

@media (max-width: 576px) {
    .panier-confirmation-content {
        padding: 20px 10px;
    }

    .panier-confirmation-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .panier-confirmation-content h2 {
        font-size: 20px;
    }

    .panier-confirmation-content p {
        font-size: 14px;
    }

    .panier-btn {
        font-size: 14px;
        padding: 8px 15px;
    }
}


.panier-fail-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40vh;
    padding: 20px;
}

.panier-fail-content {
    text-align: center;
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
}

.panier-fail-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ff9a9a;
    color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 36px;
}

.panier-fail-content h2 {
    font-size: 24px;
    color: #333;
    margin: 10px 0;
}

.panier-fail-content p {
    color: #666;
    margin: 10px 0 20px;
    font-size: 16px;
}

.panier-fail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}



@media (max-width: 576px) {
    .panier-fail-content {
        padding: 20px 10px;
    }

    .panier-fail-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .panier-fail-content h2 {
        font-size: 20px;
    }

    .panier-fail-content p {
        font-size: 14px;
    }

}

.alertStock {
	background-color: #ddd;
	padding:5px;
	border-radius:5px;
	font-size:12px;
	}

.categ-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Espacement entre les catégories */
    padding: 20px;
    padding-top:0;
    box-sizing: border-box;
    justify-content: center; /* Centre les catégories horizontalement */
}

.categ-item {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(20% - 20px); /* Cinq catégories par ligne */
    max-width: calc(20% - 20px); /* Assure que la largeur maximale est correcte */
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none; /* Supprime le soulignement du lien */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.categ-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.categ-number {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #3498db;
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    font-weight: bold;
    display:none;
}

.categ-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
    /* Alignement des éléments pour remplir l'espace disponible */
    justify-content: space-between;
}

.categ-title {
    margin: 0 0 10px;
    font-size: 1.2em;
    color: #333;
}

.categ-image {
    width: 100%;
    height: auto;
    max-height: 150px; /* Hauteur maximale pour garder les images uniformes */
    object-fit: cover; /* Ajuste l'image sans déformation */
    border-bottom: 1px solid #ddd; /* Ligne de séparation sous l'image */
}

.categ-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.categ-button:hover {
    background-color: #2980b9;
}


/* Responsive design */
@media (max-width: 1200px) {
    .categ-item {
        flex: 1 1 calc(25% - 20px); /* Quatre catégories par ligne */
        max-width: calc(25% - 20px);
    }
}

@media (max-width: 900px) {
    .categ-item {
        flex: 1 1 calc(33.333% - 20px); /* Trois catégories par ligne */
        max-width: calc(33.333% - 20px);
    }
}

@media (max-width: 600px) {
    .categ-item {
        flex: 1 1 calc(50% - 20px); /* Deux catégories par ligne */
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 400px) {
    .categ-item {
        flex: 1 1 100%; /* Une seule catégorie par ligne */
        max-width: 100%;
    }
}

/* Page catégories - carte article */
/* Reset CSS de base */
.card-cat-item-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px;
    justify-content: center;
}

.card-cat-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative; /* Ajouté pour que l'image utilise tout l'espace */
}

.card-cat-item:hover {
    transform: scale(1.02);
}

/* Styles pour les grands écrans */
.card-cat-item-img .imgarticle {
    width: 100%;
    height: auto;
    display: block;
}
/* Styles pour les grands écrans */
.card-cat-item .gif {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajuste l'image tout en maintenant ses proportions */
    position: absolute;
    top: 0;
    left: 0;
}

.card-cat-item-content {
    display: flex;
    flex-direction: column;
    padding: 16px;
    /* Flexbox to ensure button is pushed to the bottom */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-cat-item-name {
    font-size: 18px;
    margin-bottom: 8px;
    /* Ensure the name takes up the needed space but doesn't overflow */
    word-wrap: break-word;
}

.product-cat-item-name a {
	text-decoration: none;
	color:#000;
	}

.price-cat-item {
    font-size: 16px;
    margin-bottom: 8px;
}

.discounted-price-cat-item {
    text-decoration: line-through;
    color: #888;
    margin-right: 8px;
}

.current-price-cat-item {
    color: #e63946;
    font-weight: bold;
}

.availability-cat-item,
.delivery-cat-item {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}


.sizes-cat-item strong {
    display: block;
    margin-bottom: 4px;
}

.sizes-cat-item ul {
    list-style: none;
    padding: 0;
}

.sizes-cat-item li {
    display: inline-block;
    margin: 4px 0 0 4px;
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f1f1f1;
    font-size:0.8em;
}

.view-product-cat-item-btns {
	display:flex;
	flex-direction:row;
	}

.view-product-cat-item-btn {
	flex:2;
    display: block;
    padding: 8px 16px;
    background-color: #FAA401;
    color: #fff;
    text-decoration: none;
    text-align:center;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.view-product-cat-item-btn.add-to-cart {
    background-color: #4a77b3;
    color: #fff;
	}

.view-product-cat-item-btn-video {
	flex:1;
    display: block;
    padding: 8px 16px;
    background-color: #a80000;
    color: #fff;
    text-decoration: none;
    text-align:center;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: background-color 0.3s ease, color 0.3s ease;
	}

.view-product-cat-item-btn:hover {
    background-color: #1d3557;
    color: #fff;
}
.pagination-articles {
    flex: 0 0 100%;
    margin-top: 16px;
    background-color: #fff;
    padding: 16px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.pagination-articles p {
    margin: 0 16px 0 0;
    font-size: 16px;
    color: #333;
}

.pagination-articles a {
    display: inline-block;
    padding: 8px 16px;
    color: #fff;
    background-color: #FAA401;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination-articles a:hover {
    background-color: #1d3557;
    color: #fff;
}

.pagination-articles a.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.pagination-articles .filtres {
	margin: 10px 0 20px;
	}

.pagination-articles .filtres > span {
	border-radius: 5px;
	border: 1px solid #ddd;
	padding:10px;
	cursor:pointer;
	margin:10px;
	background-color:#fafafa;
	}

/* Responsive styles pour petit écran */
@media (min-width: 768px) {
	
	.card-cat-item-content {
		height: 100%;
		}
	}
@media (max-width: 768px) {
    .card-cat-item {
        flex-direction: row;
        width: 100%;
        max-width: 100%;
    }

    .card-cat-item-img {
        flex: 1 1 33%;
        height: 100%;
    }

    .card-cat-item-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .card-cat-item-content {
        flex: 1 1 67%;
        display: flex;
        flex-direction: column;
        padding: 16px;
        /* Ensure the content stretches fully */
        justify-content: space-between;
    }

    .product-cat-item-name {
        font-size: 18px;
        margin-bottom: 8px;
        word-wrap: break-word;
    }
    
}

.modal-video {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-video-content {
  position: relative;
  margin: 10% auto;
  padding: 0;
  width: 60%;
  max-width: 700px;
}

.close-modal-video {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 30px;
  cursor: pointer;
}



/* NOUVEAU PANIER */

.new-cart {
    max-width: 800px;
    margin: 20px auto;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Navigation supérieure et inférieure */
.new-cart-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.new-cart-btn {
    text-align: center;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.new-cart-btn-primary {
    background-color: #28a745;
    color: #fff;
    border: 1px solid #28a745;
}

.new-cart-btn-primary:hover {
    background-color: #218838;
    border-color: #218838;
}

.new-cart-btn-secondary {
    background-color: #fff;
    color: #007bff;
    border: 1px solid #007bff;
}

.new-cart-btn-secondary:hover {
    background-color: #007bff;
    color: #fff;
}

/* Liste des articles */
.new-cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.new-cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    position: relative;
    background-color:#f9f9f9;
    border-radius:5px;
    border:1px solid #b3b3b3;
}

.new-cart-item.supprime {
    background-color: #ffd5d5;
    border: 1px solid #ff9090;
    color: #111;
}

.new-cart-item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.new-cart-item-details {
    flex: 1;
}

.new-cart-item-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}
.new-cart-item-code {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

.new-cart-item-code span {
    font-weight: bold;
    color: #333;
}
.new-cart-item-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
}

.new-cart-item-price,
.new-cart-item-availability {
    font-size: 14px;
    margin: 5px 0;
    color: #555;
}

.new-cart-item-price span, .new-cart-item-stock {
    font-weight: bold;
    color: #007bff;
}

.new-cart-item-availability span.new-cart-item-stock {
    color: #28a745;
}

/* Si indisponible */
.new-cart-item-availability span.new-cart-item-outofstock {
    color: #dc3545;
}

.new-cart-item-quantity {
    width: 60px;
    padding: 5px;
    font-size: 14px;
    margin-top: 10px;
}

.new-cart-item-quantity[readonly] {
	background-color:#e2e2e2;
	cursor:not-allowed;
}

.new-cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.new-cart-btn {
    display: inline-block;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.new-cart-btn-edit {
    background-color: #007bff;
    color: #fff;
    border: 1px solid #007bff;
}

.new-cart-btn-edit:hover {
    background-color: #0056b3;
}

.new-cart-btn-delete {
    background-color: #ff9393;
    color: #ffe5e5;
    border: 1px solid #ff5555;
    
}

.new-cart-btn-delete:hover {
    background-color: #a71d2a;
}
/* Total produit aligné à droite */
.new-cart-item-total {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    background-color: #f8f9fa;
    padding: 5px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Extra info box */
.new-cart-item-extra-info {
    margin-top: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .new-cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .new-cart-item-actions {
        flex-direction: row;
        gap: 15px;
        margin-left: 0;
    }
}
/* Sous-total */
.new-cart-summary {
    margin-top: 20px;
    text-align: right;
}

.new-cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.new-cart-subtotal-value {
    color: #333;
}

/* Style de base pour la ligne du panier */
.panier-item-content-nomenclature {
  display: grid;
  grid-template-columns: 5fr 0.8fr 1.2fr 1fr 1.2fr;  /* Cinq colonnes égales */
  grid-gap: 10px; /* Espace entre les éléments */
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  font-size: 9px; /* Taille de police modérée */
}

/* Style des éléments individuels */
.panier-item-content-nomenclature span {
  overflow: hidden;
  text-overflow: ellipsis; /* Ajoute "..." si le texte déborde */
  white-space: nowrap; /* Empêche le texte de se couper */
  padding: 0 5px;
}

/* Styles spécifiques pour chaque colonne */
.article-content-nomenclature-titre {
  font-weight: bold;
}

.quantite-content-nomenclature, .prix-unitaire-content-nomenclature, .remise-content-nomenclature, .prix-total-content-nomenclature {
  text-align: right;
}

/* Responsivité : ajustement sur les petits écrans */
@media (max-width: 768px) {
  .panier-item-content-nomenclature {
    font-size: 8px; /* Réduit la taille de la police */
  }

  .quantite-content-nomenclature, .prix-unitaire-content-nomenclature, .remise-content-nomenclature, .prix-total-content-nomenclature {
    text-align: right; /* Alignement à gauche sur petits écrans */
  }
}


/* Section d'information */
.new-cart-info {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    font-size: 14px;
    text-align: center;
}
.new-cart-alert {
    background-color: #ffd5d5;
    border: 1px solid #ff9090;
    color: #111;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    font-size: 14px;
    text-align: center;
    font-weight:bold;
}
.new-cart-confirm {
    background-color: #b1ffc0;
    border: 1px solid #6fff8a;
    color: #111;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    font-size: 14px;
    text-align: center;
    font-weight:bold;
}

.new-cart-info-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.new-cart-info-link:hover {
    text-decoration: underline;
}

  /* Wrapper pour centrer uniquement le formulaire */
    .wrapper-form-connection {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px;
    }

    .container-form-connection {
      background: #ffffff;
      padding: 40px 30px;
      border-radius: 15px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
      width: 100%;
      max-width: 400px;
      text-align: center;
      animation: fadeIn-form-connection 1s ease;
    }

    .title-form-connection {
      margin-bottom: 20px;
      color: #333;
    }

    .form-group-form-connection {
      text-align: left;
      margin-bottom: 20px;
      position: relative;
    }

    .label-form-connection {
      display: block;
      margin-bottom: 8px;
      color: #555;
      font-weight: 600;
    }

    .input-form-connection {
      width: 100%;
      padding: 12px 15px;
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: 14px;
      transition: 0.3s;
    }

    .input-form-connection:focus {
      border-color: #4f46e5;
      outline: none;
      box-shadow: 0 0 8px rgba(79, 70, 229, 0.3);
    }

    /* Bouton œil afficher/masquer */
    .toggle-password-form-connection {
      position: absolute;
      top: 36px;
      right: 15px;
      background: none;
      border: none;
      cursor: pointer;
      font-size: 16px;
      color: #888;
      padding: 5px;
    }

    .btn-form-connection {
      width: 100%;
      background-color: #4f46e5;
      color: white;
      padding: 14px;
      font-size: 16px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.3s;
    }

    .btn-form-connection:hover {
      background-color: #4338ca;
    }

    .footer-form-connection {
      margin-top: 20px;
      font-size: 14px;
      color: #777;
    }

    .footer-form-connection a {
      color: #4f46e5;
      text-decoration: none;
      font-weight: 600;
    }

    /* Lien mot de passe oublié */
    .forgot-password-form-connection {
      display: block;
      text-align: right;
      margin-top: 8px;
      font-size: 13px;
    }

    .forgot-password-form-connection a {
      color: #4f46e5;
      text-decoration: none;
    }

    @keyframes fadeIn-form-connection {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (max-width: 480px) {
      .container-form-connection {
        padding: 30px 20px;
      }
    }


    .container-pages {
      width: 100%;
      margin: 0 auto;
      padding: 30px 0;
    }
   .step-pages {
      background-color: white;
      padding: 20px;
      margin-bottom: 20px;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .container-tunnel {
      width: 80%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 30px 0;
    }
   .step {
      background-color: white;
      padding: 20px;
      margin-bottom: 20px;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

#parcel-point-map {height:800px;}

#parcel-point-map {display:block;position:relative;}
    .step-header {
      font-size: 1.5rem;
      margin-bottom: 10px;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      display: block;
      margin-bottom: 5px;
    }

    .form-group input, .form-group select, .form-group textarea {
      width: 100%;
      padding: 10px;
      border-radius: 4px;
      border: 1px solid #ddd;
    }

    .address-list {
      list-style: none;
      padding: 0;
    }

    .address-list li {
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 4px;
      margin-bottom: 10px;
      cursor: pointer;
      transition: background-color 0.3s ease;
      font-size:0.8em;
    }

    .address-list li:hover {
      background-color: #f1f2ff;
    }

    .address-list li.selected {
      background-color: #dbdcff;
      border-color: #007bff;
}

.address-list input[type="radio"]:checked {
  background-color: #ffcc00; /* Couleur du radio lorsque sélectionné */
}
.address-list input[type="radio"] {
  opacity: 0;            /* Rendre l'élément invisible */
  position: absolute;    /* Le sortir du flux normal du document */
  pointer-events: none;  /* Désactiver l'interaction avec le radio (facultatif) */
}

    .button {
      background-color: #007bff;
      color: white;
      padding: 10px 20px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 16px;
    }

    .button:hover {
      background-color: #0056b3;
    }
    @media (max-width: 768px) {
      .container-tunnel {
        width: 100%;
        padding: 15px;
      }
    }

.address-form-tunnel {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group-tunnel {
  margin-bottom: 15px;
}

.form-group-tunnel label {
  display: block;
  margin-bottom: 5px;
}

.form-group-tunnel input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.button-tunnel {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.button-tunnel:hover {
  background-color: #0056b3;
}

@media (max-width: 600px) {
  .address-form-tunnel {
    padding: 15px;
  }

  .form-group-tunnel input,
  .button-tunnel {
    font-size: 14px;
  }
}

    .addresses-tunnel {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }

    .address-card-tunnel {
      flex: 1 1 45%;
      border: 1px solid #ccc;
      border-radius: 8px;
      padding: 16px;
      background-color: #f9f9f9;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .address-content-tunnel {
      margin-bottom: 12px;
      font-size:0.8em;
    }

    .modify-link-tunnel {
      align-self: flex-end;
      color: #007bff;
      text-decoration: none;
      font-weight: bold;
      transition: color 0.3s;
      font-size:0.8em;
      padding:5px;
    }

    .modify-link-tunnel:hover {
      color: #0056b3;
      border-radius: 4px;
      border:1px solid #5c5e90;
      background-color:#dedfff;
    }

    /* Responsive: stack in column on small screens */
    @media (max-width: 768px) {
      .addresses-tunnel {
        flex-direction: column;
      }

      .address-card-tunnel {
        flex: 1 1 100%;
      }
    }
    
/* Structure du label cliquable */
.transport-option {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  cursor: pointer;
  width: 100%;
}

/* Bouton radio */
.transport-option input[type="radio"] {
  margin-top: 5px;
  transform: scale(1.3);
  cursor: pointer;
}

/* Contenu à droite du radio */
.transport-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Ligne titre + prix */
.transport-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.transport-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #333;
}

.transport-price {
  font-weight: bold;
  font-size: 1rem;
  color: #007bff;
}

/* Date de livraison */
.transport-delivery-date {
  font-size: 0.95rem;
  color: #555;
}

/* Description avec fond */
.transport-description {
  font-size: 0.85rem;
  color: #666;
  background-color: #f9f9f9;
  padding: 12px;
  border-radius: 6px;
  line-height: 1.5;
}

.transport-description strong {
  color: #333;
}
.transport-description p {
	text-align:center;
	margin-top:10px;
	}

/* Responsive Design */
@media (max-width: 768px) {
  .transport-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .transport-header h3 {
    font-size: 1rem;
  }

  .transport-price {
    font-size: 0.95rem;
  }

  .transport-description {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .transport-option {
    gap: 10px;
  }

  .transport-option input[type="radio"] {
    transform: scale(1.2);
  }

  .transport-header h3 {
    font-size: 0.95rem;
  }

  .transport-price {
    font-size: 0.9rem;
  }

  .transport-delivery-date {
    font-size: 0.85rem;
  }

  .transport-description {
    font-size: 0.75rem;
  }
}
/* Cache la description par défaut */
.transport-option input[type="radio"] ~ .transport-content .transport-description {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

/* Affiche la description si l'input radio est coché */
.transport-option input[type="radio"]:checked ~ .transport-content .transport-description {
  max-height: 1000px; /* assez grand pour contenir le texte */
  opacity: 1;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

.formDriveTimeslot {display:inline;}
	
.jourDriveTunnel {font-weight:bold;font-size:1em;text-decoration:underline;margin:5px;}

.creneauxDriveTunnel {margin:10px;border:1px solid #ccc;border-radius:5px;background-color:#fafafa;}
.creneauxDriveTunnel label {margin:10px;padding:10px;border-radius:5px;border:1px solid #ccc;display:inline-block;}

.creneauxDriveTunnel label:focus-within {background-color:#FFF6AE;}

.creneauxDriveTunnel input[type=submit] {margin:10px;padding:10px;border-radius:5px;border:1px solid #ccc;display:inline-block;cursor:pointer;}
.creneauxDriveTunnel input[type=submit]:hover {background:#dedfff;}

.text-cgv {font-size:0.8em;text-align:center;padding:10px;font-weight:bold;}
.form-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
}

/* Groupe de checkboxes */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.custom-checkbox {
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #333;
  user-select: none;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
}

.custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-checkbox .checkmark {
  position: absolute;
  top: 3px;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #f1f1f1;
  border: 2px solid #ccc;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.custom-checkbox:hover .checkmark {
  border-color: #007bff;
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: #007bff;
  border-color: #007bff;
}

.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.custom-checkbox .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox a {
  color: #007bff;
  text-decoration: underline;
}

.custom-checkbox a:hover {
  text-decoration: none;
}

/* Bouton submit */
.submit-btn {
  background-color: #007bff;
  color: #fff;
  font-size: 1rem;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: #0056b3;
}

.submit-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 480px) {
  .custom-checkbox {
    font-size: 0.85rem;
  }

  .custom-checkbox .checkmark {
    height: 18px;
    width: 18px;
  }

  .custom-checkbox .checkmark:after {
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
  }

  .submit-btn {
    font-size: 0.9rem;
    padding: 10px 16px;
  }
}
	.buttonPaiementTunnel {display:block;width:100%;padding:10px;margin-top:10px;background:#716eff;color:#fff;font-variant-caps: small-caps;cursor:pointer;}
	.buttonPaiementTunnel:hover {background:#b6b4ff;}

/* Compte client */

.container-compte-client {
    display: flex;
    flex-direction: row;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 24px;
    padding: 15px;
    background-color: #333;
    color: white;
    cursor: pointer;
}

.sidebar {
    width: 250px;
    background-color: #f4f4f4;
    padding: 20px;
    box-sizing: border-box;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    margin: 10px 0;
}

.sidebar ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 10px;
}

.sidebar ul li a:hover {
    background-color: #ddd;
}

.content {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .container-compte-client {
        flex-direction: column;
    }

    .menu-icon {
        display: block;
    }

    .sidebar {
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }

    .menu-toggle:checked + .menu-icon + .sidebar {
        height: auto;
    }

    .content {
        padding: 20px;
    }

    .sidebar ul li a {
        padding: 10px;
    }
}


/* Compte client - commandes */
        .order-container-customer-account {
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 15px;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 15px;
            margin: 20px;
            flex-direction: row;
        }
        
        .order-container-customer-account.contact-container {
            flex-direction: column;
			}
        .order-info-customer-account {
            display: flex;
            flex-direction: column;
            gap: 10px;
            width:100%;
        }
        .order-info-row {
            display: flex;
            gap: 15px;
        }
        .order-info-customer-account div {
            margin-bottom: 5px;
            flex:1;
        }
        .order-date-customer-account {
            font-weight: bold;
        }
        .order-date-customer-account span {
            font-weight: normal;
        }
        .order-total-customer-account {
            font-weight: bold;
            text-align: center;
        }
        .order-total-customer-account span {
            font-weight: normal;
        }
        .order-details-customer-account {
            width: 100%;
            margin-top: 10px;
            border-top: 1px solid #ddd;
            padding-top: 10px;
            font-size:0.7em;
        }
        .order-button-container-customer-account {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }
        .order-separator-customer-account {
            border-left: 1px solid #ddd;
            height: 100%;
        }
        .order-button-customer-account {
            display: flex;
            justify-content: center;
            align-items: center;
            border: 1px solid green;
            border-radius: 5px;
            padding: 10px;
            text-decoration: none;
            color: green;
            font-weight: bold;
            gap: 5px;
            height: 100%;
            width:100%;
            text-align:center;
        }
        
        .order-button-customer-account.order-canceled {
            border: 1px solid red;
            color: red;
			}
        .order-button-customer-account:hover {
            background-color: green;
            color: white;
        }
        .order-button-customer-account.order-canceled:hover {
            background-color: red;
            color: white;
        }

        @media (max-width: 768px) {
            .order-container-customer-account {
                flex-direction: column;
                align-items: flex-start;
            }
            .order-info-customer-account {
                gap: 10px;
            }
            .order-info-row {
                flex-direction: column;
                align-items: flex-start;
            }
            .order-total-customer-account {
                width: 100%;
                text-align: center;
                margin: 10px 0;
            }
            .order-button-container-customer-account {
                width: 100%;
                justify-content: center;
                margin-top: 10px;
            }
            .order-separator-customer-account {
                display: none;
            }
        }

.no-orders-card-customer-account {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.no-orders-text-customer-account {
    font-size: 1.5em;
    color: #555;
    margin: 20px 0;
}

.start-shopping-link-customer-account {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    border: 2px solid #28a745;
    border-radius: 5px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s, border-color 0.3s;
}

.start-shopping-link-customer-account:hover {
    background-color: #218838;
    border-color: #218838;
}

/* FORMULAIRE PROFIL CLIENT */
.account-form-customer-account {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.form-group-customer-account {
    margin-bottom: 20px;
}

.form-label-customer-account {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-input-customer-account {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.form-submit-customer-account {
    width: 100%;
    padding: 10px 20px;
    border: 2px solid #28a745;
    border-radius: 5px;
    background-color: #28a745;
    color: white;
    text-align: center;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s, border-color 0.3s;
}

.form-submit-customer-account:hover {
    background-color: #218838;
    border-color: #218838;
}

.rgpd-link-customer-account {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #28a745;
    text-decoration: none;
}

.rgpd-link-customer-account:hover {
    text-decoration: underline;
}

.password-hint-customer-account {
    display: block;
    font-size: 0.8em;
    color: red;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .form-group-customer-account {
        margin-bottom: 15px;
    }

    .form-submit-customer-account {
        width: 100%;
    }
}

/* BOUTON COMPTE CLIENT */
.button-container-customer-account {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
}

/* Account buttons */
.account-button-customer-account {
    width: 100%;
    padding: 15px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    box-sizing: border-box;
    margin:10px;
    text-decoration:none;
}

.account-button-customer-account:hover {
    background-color: #007BFF;
}

.last-order-button-customer-account {
    position: relative;
    padding-bottom: 155px; /* Adjust if needed to fit details */
}

.last-order-details-customer-account {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 0 0 5px 5px;
    width: 100%; /* Ensure it matches parent width */
    box-sizing: border-box;
}

.contact-container select {
	width:100%;
	}
.contact-container textarea {
	width:100%;
	height:100px;
	}
.contact-container button {
	width:100%;
	height:30px;
}

@media (max-width: 768px) {
    .account-button-customer-account {
        width: 100%;
    }
}

/* FORMULAIRE DE CONTACT */

.contact-form-container-full {

    display: flex;
    justify-content: center;
    align-items: center;

	}

.contact-form-container-new {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    width: 100%;
}

.contact-form-container-new div {
	margin:10px;
	font-size:0.9em;
	}

.contact-form-new h2 {
    margin-bottom: 15px;
    font-size: 24px;
    text-align: center;
}

.contact-form-new label {
    margin-top: 10px;
    display: block;
    font-weight: bold;
}

.contact-form-new input,
.contact-form-new select,
.contact-form-new textarea {
    width: 95%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
}

.contact-form-new textarea {
    resize: vertical;
}

.contact-form-new button {
    width: 100%;
    background-color: #28a745;
    color: white;
    padding: 12px;
    margin-top: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.contact-form-new button:hover {
    background-color: #218838;
}

/* Responsiveness */
@media (max-width: 480px) {
    .contact-form-new h2 {
        font-size: 20px;
    }

    .contact-form-container-new {
        padding: 15px;
    }
}

/* fil d'ariane */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 10px 16px;
    margin: 0;
    background-color: #f8f9fa;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.breadcrumb-item {
    margin: 0 8px;
    font-size: 1rem;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: #0056b3;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
    margin-right: 8px;
    color: #6c757d;
}

.breadcrumb-item.active {
    color: #6c757d;
    pointer-events: none;
}

@media (max-width: 600px) {
    .breadcrumb-item {
        font-size: 0.875rem;
    }

    .breadcrumb-item+.breadcrumb-item::before {
        margin-right: 4px;
    }
}

/* CLIENTS CONFIANCE */

.category {
    margin-bottom: 40px;
}
.partners-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px; /* Taille fixe pour l'alignement des logos */
    height: 100px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.partner-logo:hover {
    transform: scale(1.05);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.category-title {
    position: relative;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
}

.category-title::before,
.category-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 2px;
    background-color: #333;
}

.category-title::before {
    left: 0;
}

.category-title::after {
    right: 0;
}


.carrier-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Clé pour pousser vers le bas */
  height: 100%;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  margin:20px 0;
}

.carrier-card:hover {
  transform: translateY(-5px);
}

.carrier-card h2 {
  color: #007bff;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

.pricing-table th,
.pricing-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
  font-size: 0.95rem;
}

.pricing-table th {
  background-color: #f1f1f1;
  font-weight: bold;
}
.bottom-info {
  margin-top: auto; /* Ceci pousse le bloc vers le bas */
}
.description {
  font-size: 0.9rem;
  margin-bottom: 30px;
  color: #555;
}

.countries {
  font-size: 0.85rem;
  color: #777;
}

/* Responsive */
@media (max-width: 600px) {
  .carrier-card {
    padding: 15px;
  }

  .carrier-card h2 {
    font-size: 1.2rem;
  }

  .pricing-table th,
  .pricing-table td {
    font-size: 0.85rem;
    padding: 8px;
  }

  .description,
  .countries {
    font-size: 0.8rem;
  }
}

.choice-item {
  display: inline-block;
  margin: 8px;
}

.choice-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #ddd;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width: 70px;
  height: 50px;
}

.choice-item a:hover {
  border-color: #007bff;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

/* Pour les couleurs */
.color-option .color-circle {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #ccc;
  transition: transform 0.3s ease;
}

.color-option a:hover .color-circle {
  transform: scale(1.2);
  border-color: #007bff;
}

/* Pour les tailles */
.size-option .size-text {
  font-size: 1rem;
  color: #333;
  font-weight: bold;
}
.size-text {
padding:2px; text-align:center;}

.size-option a:hover .size-text {
  color: #007bff;
}
.password-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.password-form .form-group {
  display: flex;
  flex-direction: column;
}

.password-form label {
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
}

.password-form input {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.password-form input:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0,123,255,0.2);
  outline: none;
}

.password-form button {
  padding: 12px;
  background-color: #007bff;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.password-form button:hover {
  background-color: #0056b3;
}

/* Responsive */
@media (max-width: 480px) {
  .password-form {
    padding: 15px;
  }

  .password-form button {
    font-size: 0.9rem;
  }
}

/* Champs d'erreur */
.error-msg {
  color: #d9534f;
  font-size: 0.85rem;
  margin-top: 4px;
  display: block;
}

/* Success state (optionnel si tu veux une couleur verte) */
.password-form input.valid {
  border-color: #28a745;
}

.password-form input.invalid {
  border-color: #d9534f;
}

.form-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2; /* S'assure que c'est bien au-dessus du formulaire */
  font-size: 1.1rem;
  color: #333;
  text-align: center;
  padding: 1rem;
  box-sizing: border-box;
  border-radius: 8px;
}

.form-overlay.hidden {
	display:none;
	}

.simulateur-page {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
	}

.simulateur-colonne1 {
  flex: 1; /* correspondra à 1/3 avec les proportions */
  background-color: #f0f0f0; /* juste pour visualiser */
  padding: 20px;
}

.simulateur-colonne2 {
  flex: 2; /* 2/3 */
  background-color: #ddd;
  padding: 20px;
}

.playlist-items {
  margin-bottom: 10px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  border-radius: 5px;
  overflow: hidden;
}

.playlist-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.item-info {
  flex: 1;
  font-size: 16px;
  color: #333;
}

.item-actions {
  display: flex;
  gap: 10px;
}

.item-actions a img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.item-actions a:hover img {
  transform: scale(1.2);
  cursor: pointer;
}

/* Responsive pour mobile */
@media (max-width: 600px) {
  .playlist-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .item-actions {
    justify-content: flex-start;
  }
}

.infoFeu p {
	font-size:0.9em;
	margin:10px;
	}

.infoFeu a {
	display:block;
	padding:10px;
	margin-bottom:20px;
	text-align:center;
	border:1px solid #cb8600;
	border-radius:5px;
	background:#ffa800;
	}

.infoFeu a:hover {
	background:#ffc24b;
	}
@media (max-width: 768px) {
  .simulateur-page {
    flex-direction: column; /* superpose les DIV */
  }

  .simulateur-colonne1,
  .simulateur-colonne2 {
    flex: none;
    width: 100%; /* elles prennent toute la largeur */
  }
}

.container_relais_content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}

.info-window-content {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.info-window-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.relais-nom {
  font-size: 0.9em;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #2c3e50;
}

.relais-adresse {
  font-size: 0.85em;
  margin-bottom: 10px;
  color: #555;
}

/* Toggle horaires */
.toggle-horaires {
  display: block;
  margin-bottom: 15px;
  cursor: pointer;
}

.toggle-horaires input[type="checkbox"] {
  display: none;
}

.toggle-horaires span {
  display: inline-block;
  color: #3498db;
  font-size: 0.85em;
  margin-bottom: 5px;
  transition: color 0.3s;
}

.toggle-horaires:hover span {
  color: #2980b9;
}

.relais-horaires {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  font-size: 0.75em;
  color: #666;
}

.toggle-horaires input[type="checkbox"]:checked + span + .relais-horaires {
  max-height: 500px; /* Doit être assez grand pour le contenu */
  margin-top: 10px;
}

.relais-form {
  margin-top: auto;
  text-align: center;
}

.relais-form input[type="submit"] {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85em;
  transition: background-color 0.3s;
  width:100%;
}

.relais-form input[type="submit"]:hover {
  background-color: #2980b9;
}

/* Responsive tweaks */
@media screen and (max-width: 992px) {
  .container_relais_content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .container_relais_content {
    grid-template-columns: 1fr;
  }
}

.container-rech-relais {
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 8px;
  max-width: 1200px;
  margin: auto;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Titre */
.titre-rech-relais {
  font-size: 1.2em;
  color: #2c3e50;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Label */
.label-rech-relais {
  font-size: 0.9em;
  color: #555;
  display: block;
  margin-bottom: 8px;
}

/* Zone formulaire */
.form-rech-relais {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

/* Champ texte */
.input-rech-relais {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9em;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.input-rech-relais:focus {
  border-color: #3498db;
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
  outline: none;
}

/* Bouton */
.btn-rech-relais {
  background-color: #3498db;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 0.9em;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.btn-rech-relais:hover {
  background-color: #2980b9;
}

.btn-rech-relais:active {
  transform: scale(0.95);
}

/* Responsive pour mobiles */
@media screen and (max-width: 480px) {
  .form-rech-relais {
    flex-direction: column;
    gap: 10px;
  }

  .input-rech-relais, .btn-rech-relais {
    width: 100%;
  }
}

.titreCat {margin:20px 10px 10px;font-weight:bold;}


/* Timeline livraison */
  #delivery-frame {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
    font-family: sans-serif;
    background-color: #fafafa;
    font-size: 14px;
  }
  
  #delivery-frame p {
  text-align:center;
  font-weight:bold;
  margin-bottom:20px;
	}

  .delivery-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 16px;
  }

  .delivery-btn {
    padding: 6px 14px;
    background-color: #eee;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    transition: background 0.2s;
  }

  .delivery-btn.active {
    background-color: #007bff;
    color: white;
  }

  .delivery-info {
    text-align: center;
    margin-bottom: 20px;
    font-size: 13px;
    color: #333;
  }

  .timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    padding: 10px 0;
    overflow: hidden;
  }

  .timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
    font-size: 12px;
    min-width: 80px;
  }

  .dot {
    width: 12px;
    height: 12px;
    background-color: #007bff;
    border-radius: 50%;
    margin-bottom: 6px;
  }

  .line {
    flex: 1;
    height: 2px;
    background-color: #ccc;
    margin: 0 5px;
  }

  @media (max-width: 500px) {
    .timeline {
      flex-direction: column;
      align-items: flex-start;
    }

    .line {
      width: 2px;
      height: 20px;
      margin: 5px 0;
    }

    .timeline-step {
      flex-direction: row;
      gap: 10px;
      min-width: unset;
    }

    .dot {
      margin-bottom: 0;
    }

    .label {
      text-align: left;
    }
  }

/* SLIDER */
.simple-slider {
  position: relative;
  width: 100vw;       /* largeur = largeur écran */
  left: 50%;
  transform: translateX(-50%);
  max-width: 100vw;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  background: #111;

  aspect-ratio: 16 / 5;  /* ← ratio largeur/hauteur (ex: 16:5) */
  margin-bottom:50px;
}

.simple-slider .ss-slide {
  min-width: 100%;
  height: auto;        /* hauteur auto gérée par aspect-ratio */
}

.simple-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* l’image remplit le cadre */
  display: block;
}
.simple-slider .ss-track {
  display: flex;
  transition: transform 0.45s ease;
}
.simple-slider .ss-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 42px; height: 42px;
  cursor: pointer;
}
.simple-slider .ss-prev { left: 10px; }
.simple-slider .ss-next { right: 10px; }
.simple-slider .ss-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.simple-slider .ss-dots button {
  width:10px; height:10px;
  border-radius:50%;
  border:none;
  background: rgba(255,255,255,.45);
}
.simple-slider .ss-dots button.active {
  background:#fff;
}