﻿/********************************************************************/
/*   Original CSS                                                   */
/*   PlaneteAfrique - 2006                                          */
/*   This stylesheet can be modified.                               */
/*   No official support is available for this stylesheetX           */
/*                                                                  */
/* CONFIGURATION DES LIENS PAR DEFAUT - DEFAULT LINKS CONFIGURATION */
/********************************************************************/
/**********************************************************************/
/*    CONFIGURATION DU CONTENEUR - MAIN CONTAINER CONFIGURATION       */
/**********************************************************************/
html {
    background: url("imagesCss/bodybg.gif") repeat scroll 0 0;
}

body {
	background : url(imagesCss/bodybg.GIF);
}
p {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 1.5em;
	color: #000000;
	margin: 0 0 10px 0;
	padding: 0;
}
.ombrage {
	box-shadow: 0 0 8px 1px #dadada
}
a {
	font-weight: normal;
	text-decoration: none;
}
a:link {
	font-family: Verdana;
	font-weight: bold;
	color: #cc6600;
	text-decoration: none;
}
a:visited {
	font-size: 12px;
	color: #cc6600;
	font-weight: bold;
}
a:hover {
	font-weight: bold;
	color: #cc6600;
	text-decoration: underline;
}

/*   Displays   */
.flexspacebetween {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}



/**********************************************************************/
/*    CONFIGURATION DE L ENTETE - HEADER CONFIGURATION                */
/**********************************************************************/




img {
	border: none;
	max-width: 100%;
}
#chemindefer {
	font-size: 1.2em;
}
.homepagemainproduct img {
	border: none;
	width: 100%;
}
/**********************************************************************/
/*    CONFIGURATION DU TITRE DES PAGES - PAGES TITLES CONFIGURATION    */
/**********************************************************************/
.titrepage {
	font-family: Verdana;
	font-size: 14pt;
	font-weight: bold;
}
h1 {
	font-family: Verdana;
	font-size: 14pt;
	font-weight: bold;
}
.Main_Cat_Description {
  
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 5px;
  max-width: 1300px; /* ou 100% si c'est déjà fluide */
  margin: auto;

  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  margin: 10px;
  padding: 10px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}
.Main_Cat_Description:hover
{
transform: scale(1.03);

}
.Main_Cat_Description  h1 {
  font-size: 2em;
}

/**********************************************************************/
/* CONFIGURATION DE LA POLICE PAR DEFAUT - DEFAULT FONT CONFIGURATION */
/**********************************************************************/
font {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
/********************************************************************/
/*             CONFIGURATION DU MENU - MENU CONFIGURATION            */
/********************************************************************/


/* Couleurs du gradient du menu horizontal*/
#cssmenu {
  width: auto;
  font-family: 'Open Sans', Helvetica, sans-serif;
  background: #39b1cc;
  background: -moz-linear-gradient(top, #2071D4 0%, #054591 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2071D4), color-stop(100%, #054591));
  background: -webkit-linear-gradient(top, #2071D4 0%, #054591 100%);
  background: -o-linear-gradient(top, #2071D4 0%, #054591 100%);
  background: -ms-linear-gradient(top, #2071D4 0%, #054591 100%);
  background: linear-gradient(to bottom, #2071D4 0%, #054591 100%);
}

#cssmenu ul ul li a {
  text-decoration: none;
  font-weight: 400;
  padding: 11px 15px;
  width: 250px;
  color: #777777;
  background: #ffffff;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1), 1px 1px 1px rgba(0, 0, 0, 0.1), -1px 1px 1px rgba(0, 0, 0, 0.1);
}
/*Fin du menu horizontal*/

/*INFODIV ANTISPAM*/
.infodiv {
  justify-content: flex-start;
  align-items: center;
  background-color: #FFF7D2;
  border-top: 1px dashed #FF0000;
  border-bottom: 1px dashed #FF0000;
  padding: 10px 15px;
  font-family: Verdana, sans-serif;
  font-size: small;
  gap: 15px;
}

.infodiv img {
  width: 24px;
  height: 24px;
}

.infodiv p {
  margin: 0;
  text-align: left;
}
/*FIN INFODIV ANTISPAM*/


#menu {
	margin: 25px 0 0 0;
	padding: 10px;
  Border-radius: 8px;
}
#menu ul {
	margin-left: 5px;
	margin-right: 5px;
	padding-left: 0px;
	margin-top: 0px;
	list-style-type: none;
	text-align: left;
	font-size: 0.8em;
	font-family: Verdana;
	text-indent: 10px;
}
#menu a {
	border: 1px solid #00446A;
	display: block;
	padding: 3px;
	margin-top: 2px;
	color: #FFFFFF;
	text-decoration: none;
	font-family: Verdana;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
}
#menu a:active {
	border: 1px solid #F77C07;
	display: block;
	padding: 3px;
	margin-top: 2px;
	background-color: #FFFFCC;
	color: #FF0000;
	text-decoration: none;
}
#navmenu a:visited {
	color: #FFFFFF;
	text-decoration: none;
}
#navmenu a:hover {
	border: 1px solid #A29DFB;
	color: #FF0000;
}
#navmenu {
	margin: 0 auto;
	z-index: 8;
	position: relative;
}
/********************************************************************/
/*             CONFIGURATION DU SOUS-MENU - SUBMENU CONFIGURATION            */
/********************************************************************/
.menuh {
	font-size: 1em;
	color: #FFFFFF;
}
.menuhover {
	font-size: 1em;
	color: #FFFFFF;
	background: #80316d;
}
.menuh a:hover, .menuh a:link, .menuh a:visited {
	font-size: 1em;
	color: #FFFFFF;
	text-decoration: none;
}
.menumouseoverh {
	font-size: 1em;
	background: #7F6377;
}
.menumouseouth {
	color: #ff0000;
}
/********************************************************************/
/*CONFIGURATION DU CONTENIU PRINCIPAL - MAIN CONTENT CONFIGURATION */
/********************************************************************/
#maincontent {
    flex: 1;
    min-width: 0; /* Important pour flex */
    order: 2;
	color: #000000;
	padding: 5px;
	font-size: initial;

}

/********************************************************************/
/*        CONFIGURATION DU BLOC NEWS - NEWS BLOC CONFIGURATION      */
/********************************************************************/
#news {
	color: #000000;
	text-align: left;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1em;
	z-index: 8;
}
#news img{
	width: 100%;
	height: auto;
	margin: 0 0 10px 0;
}
/********************************************************************/
/*      CONFIGURATION DU PIED DE PAGE - FOOTER CONFIGURATION        */
/********************************************************************/


/* Footer */
#footer {
    padding: 20px;
    background: inherit;
    margin-top: 40px;
    clear: both;
}
#footer a {
	color: #000000;
}
#footer td {
	color: #8e8b8b;
	background:#DDDDDD;
	width: 25%;
}
#footer h1 {
	color: #404040;
	font-weight:700;
	font-size:14px;
	text-transform:uppercase;
	margin:10px 0 10px 0;
	padding:0;
}
#footer p {
	margin:10px 0 10px 0;
	padding:0;
}
@media (max-width: 600px) {
  #footer table,
  #footer tbody,
  #footer tr {
    display: block;
    width: 100%;
  }

  #footer tr {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  #footer td {
    display: block;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  }

  #footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #footer li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
  }
}
#footer ul {
  list-style: none;
  padding-left: 2em;
  margin: 0;
}

#footer li::before {
  content: "◉"; /* Change ici si tu veux un autre symbole */
  color: #0077cc;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1.2em;
}
#footer h1 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #333;
  font-weight: 600;
  border-bottom: 2px solid #0077cc;
  padding-bottom: 0.3rem;
}
#footer h1::before {
  content: "📦 ";
  font-size: 1.2rem;
  margin-right: 0.3rem;
}


/********************************************************************/
/*      CONFIGURATION PRODUITS 						        */
/********************************************************************/
#homepagemainproduct {
	width: 100%;
	color: #000000;
	font-size: 1em;
	text-align: left;
	padding: 2px;
}
#homepagemainproduct a {
	color: #000000;
	text-align: left;
	font-weight: normal;
}
#ptitle {
	color: #FFFFFF;
	background: #3C6FB1;
	font-size: 14pt;
	text-align: center;
	padding: 5px;
}
.pprice {
	color: #FF6633;
	font-size: 3em;
	margin-right: 10px;
}
.ppricemiddle {
	color: #FF6633;
	font-weight: bold;
}
.ppricesmall {
	color: #FF6633;
	font-weight: bold;
}
.prixpromo {
	color: #000000;
	font-size: 2.5em;
	text-decoration: line-through;
}
.maincatproduct {
	color: #000000;
	font-size: 1em;
	text-align: center;
	font-weight: bold;
	text-transform: uppercase;
	padding: 2px;
}
.productref {
	color: #000000;
	text-align: left;
}
.pannier_contenu_items {
  display: flex;
  gap: 10px;
}
.separator {
	height: 10px;
	clear: both;
}
.produit_principal_prix {
  display: flex;
  justify-content: center;     /* Centre horizontalement */
  align-items: center;         /* Centre verticalement */
  gap: 5px;
  text-align: center;
  margin: auto;
  flex-direction: row;
  margin-top:15px;
}

/********************************************************************/
/*      CONFIGURATION SOUS PRODUITS 						        */
/********************************************************************/
.sptitle {
	color: #FFFFFF;
	background: #3C6FB1;
	font-size: 12px;
	text-align: left;
}
.sptitle a {
	color: #FFFFff;
}
.sptable {
	border: #336699 solid 1px;
}
.autresreferences {
	background: #FFCC00;
	color: #FF0000;
	padding-right: 10px;
}
.produitautresreferences {
	border-bottom: #FFCC00 solid 1px;
}
.afficheprix {
	position: absolute;
	background: url('imagescatalogue/Prix_Normal.gif') no-repeat;
	color: #FFFFFF;
	font-size: 1.5em;
	font-weight: bold;
	width: 79px;
	height: 64px;
	text-align: center;
	padding-top: 20px;
	margin: 20px 10px 0 10px;
}
.affichepromo {
	background: url('imagescatalogue/Prix_Promo2.gif') no-repeat;
	color: #FFFF00;
	font-size: 24px;
	font-weight: bold;
	width: 79px;
	height: 64px;
	text-align: center;
	padding-top: 9px;
  margin: auto;
  animation: bounce 1.2s infinite;
}
@keyframes clignoter {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

.blink {
  animation: clignoter 1s infinite;
}

/* Badge promo animé */
.affichepromo2 {
	background: url('imagescatalogue/Prix_Promo2.gif') no-repeat;
  background-color: #ff3e3e;
  color: #fff;
  padding-top: 10px;
	text-align: center;
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 10px;
	width: 79px;
	height: 64px;
	font-weight: bold;

  font-size: 1.5em;
  border-radius: 8px;
  animation: bounce 1.2s infinite;
}




@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}


/********************************************************************/
/*      CAT ADMIN TITLES 						        */
/********************************************************************/
.admh1 {
	color: #000000;
	background: #336699 url('images/AdmTop.gif');
	text-indent: 15px;
  font-size: larger;
  width: 100%;
  display: block;
}
.admh2 {
	color: #0000FF;
	font-size: 12pt;
	font-weight: bold;
}
.admh3 {
	color: #0000FF;
	font-size: 12pt;
	font-weight: bold;
}
.adminpopup {
	font-size: 14pt;
	margin-left: 15px;
	background: url('images/AdmBackground.gif');
}
.admclosebtn {
	position: absolute;
	text-align: right;
	top: 5px;
	right: 5px;
}
.homepagesubtable {
	color: #000000;
	border: #C0C0C0 solid 1px;
	height: 300px;
}
/********************************************************************/
/*      SEARCH FORM 						        */
/********************************************************************/
.searchup {
	font-size: 14pt;
	color: #FFFFFF;
	font-weight: bold;
	margin-left: 15px;
	background: #2B5685;
	border-top: #000000 solid 1px;
	border-bottom: #000000 solid 1px;
	height: 30px;
	text-indent: 10px;
	text-align: left;
}
.searchunder {
	margin-left: 15px;
	background: #FFDD00;
	border-top: #000000 solid 1px;
	border-bottom: #000000 solid 1px;
	height: 70px;
	text-indent: 10px;
	text-align: left;
}
.results {
	font-size: 12px;
	color: #FFFFFF;
	font-weight: bold;
	background: #2B5685;
	border-top: #000000 solid 1px;
	border-bottom: #000000 solid 1px;
	height: 20px;
	text-align: left;
}
.surligne {
	background: #FFFF00;
}
.findproduct {
	font-size: 8pt;
	font-weight: normal;
 	text-align: left;
}
.resulttable {
	border-top: #336699 solid 1px;
	border-bottom: #336699 solid 1px;
	border-right: #336699 solid 1px;
	border-left: #336699 solid 1px;
	text-align: left;
}
.searchprice {
	font-size: 1.5em;
	font-weight: bold;
	color: #FF0000;
	text-align: center;
}
.uploadiframe {
	border: #ffffff solid 1px;
	text-align: left;
}
#bookmark {
	font-size: 10px;
	color: #FFFFFF;
	text-align: center;
	height: 22px;
	width: 123px;
	padding-top: 2px;
	background: url('imagescatalogue/Bookmark_bg.jpg') no-repeat;
}
#bookmark a {
	font-size: 10px;
	color: #FFFFFF;
	font-weight: normal;
}
#caddie a {
	color: #000000;
	margin: 0 0 0 40px;
}
.smallformbutton {
	text-align: center;
	color: #000000;
	font-weight: normal;
  font-size: inherit;
}
/**********************************************************************/
/* CONFIGURATION DU SELECTEUR GALERIE - GALERY SELECTOR CONFIGURATION */
/**********************************************************************/
#galeryselector {
	color: #000000;
	border-left: 1px solid #2731E7;
	border-right: 1px solid #2731E7;
	border-top: 1px solid #2731E7;
	border-bottom: 1px solid #2731E7;
	background-color: #E5E6FC;
	font-size: 8pt;
	font-family: Verdana;
}
/********************************************************************/
/*        CONFIGURATION ERREURS - ERROR DIV CONFIGURATION      */
/********************************************************************/
.erreur {
	color: #000000;
	width: 400px;
	margin: auto;
	text-align: center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	background: #FFB8A6;
	border: 4px solid #ff0000;
	z-index: 8;
}
/********************************************************************/
/*       INCREMENT  - DECREMENT      */
/********************************************************************/
.incrementAdd {
	color: #FFFFFF;
	width: 32px;
	text-align: center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	background: #009933;
	border: 1px solid #cccccc;
	cursor: pointer;
	font-weight: 700;
	padding: 2px 2px;
	margin: 0 2px;
}
.incrementSubstract {
	color: #FFFFFF;
	width: 32px;
	text-align: center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	background: #CC3300;
	border: 1px solid #cccccc;
	cursor: pointer;
	font-weight: 900;
	padding: 2px 2px;
	margin: 0 2px;
}


.subcatlist {
background: rgb(246,248,249); /* Old browsers */
background: -moz-linear-gradient(left, rgba(246,248,249,1) 0%, rgba(229,235,238,1) 37%, rgba(215,222,227,1) 65%, rgba(245,247,249,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(246,248,249,1)), color-stop(37%,rgba(229,235,238,1)), color-stop(65%,rgba(215,222,227,1)), color-stop(100%,rgba(245,247,249,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, rgba(246,248,249,1) 0%,rgba(229,235,238,1) 37%,rgba(215,222,227,1) 65%,rgba(245,247,249,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, rgba(246,248,249,1) 0%,rgba(229,235,238,1) 37%,rgba(215,222,227,1) 65%,rgba(245,247,249,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left, rgba(246,248,249,1) 0%,rgba(229,235,238,1) 37%,rgba(215,222,227,1) 65%,rgba(245,247,249,1) 100%); /* IE10+ */
background: linear-gradient(to right, rgba(246,248,249,1) 0%,rgba(229,235,238,1) 37%,rgba(215,222,227,1) 65%,rgba(245,247,249,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f8f9', endColorstr='#f5f7f9',GradientType=1 ); /* IE6-9 */
padding: 5px;
margin: 0 0 10px 0;
}
.degradevert {
	background:url('userfiles/image/prix_ttc.png')
}

.degradebleu {
	background: rgb(30,87,153); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(30,87,153,1) 0%, rgba(41,137,216,1) 50%, rgba(32,124,202,1) 51%, rgba(125,185,232,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,1)), color-stop(50%,rgba(41,137,216,1)), color-stop(51%,rgba(32,124,202,1)), color-stop(100%,rgba(125,185,232,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(30,87,153,1) 0%,rgba(41,137,216,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(30,87,153,1) 0%,rgba(41,137,216,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(30,87,153,1) 0%,rgba(41,137,216,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(30,87,153,1) 0%,rgba(41,137,216,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */	
}
.lastproducts {
	height:69px;
	width:100%;
	background: url('userfiles/image/lastproducts.png') repeat-x;
	}
.lastproducts h2
{ 
	padding: 20px 0 0 50px ;
	color:#FFF;
	text-shadow: 0 2px 2px #333333;
  text-align: left;
}



.radialorange {
	background: rgb(255,175,75); /* Old browsers */
	background: -moz-radial-gradient(center, ellipse cover, rgba(255,175,75,1) 0%, rgba(255,146,10,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(255,175,75,1)), color-stop(100%,rgba(255,146,10,1))); /* Chrome,Safari4+ */
	background: -webkit-radial-gradient(center, ellipse cover, rgba(255,175,75,1) 0%,rgba(255,146,10,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-radial-gradient(center, ellipse cover, rgba(255,175,75,1) 0%,rgba(255,146,10,1) 100%); /* Opera 12+ */
	background: -ms-radial-gradient(center, ellipse cover, rgba(255,175,75,1) 0%,rgba(255,146,10,1) 100%); /* IE10+ */
	background: radial-gradient(ellipse at center, rgba(255,175,75,1) 0%,rgba(255,146,10,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffaf4b', endColorstr='#ff920a',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */	
}



.subcatlist a {

border-bottom: 1px solid #ddd;
padding: 2px 0;
}

.titre-subcatlist {
    border-bottom: 2px solid #ddd;
    margin: 0 0 10px;
    padding: 10px 0;
    text-transform: uppercase;
    font-weight:500;
    }
.subtitre-subcatlist {
    border-bottom: 2px solid #ddd;
    margin: 0 0 10px;
    padding: 3px 0;
    text-transform: uppercase;
    font-weight:200;
    }

.slogan h1, .slogan h2 {
  /* Fallback pour les anciens navigateurs */
  background: #ffffff;
  
  /* Dégradés modernes (plus besoin des anciens préfixes) */
  background: linear-gradient(to bottom, 
    rgba(255,255,255,1) 0%,
    rgba(241,241,241,1) 50%,
    rgba(225,225,225,1) 51%,
    rgba(246,246,246,1) 100%
  );
  
  font-size: 20px;
  font-weight: 600;
  line-height: 1.15;
  height: 30px;
  padding: 0 0 0 30px;
  margin: 0 0 10px 0;
}


.pastille{
	height:53px;
}




.degradevert h1
{ 
    font-size: 20px;
    line-height: 1.15;    
    height:30px;
    padding:0 0 0 30px;
    font-weight:600;
    color:#fff;
}

.degradevert h1:before
{ 
content:"contenu";
}
.categories
{ 
	padding: 10px 0;
}

.categories h1, .categories h2{
	background: rgb(255,255,255); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(241,241,241,1) 50%, rgba(225,225,225,1) 51%, rgba(246,246,246,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(50%,rgba(241,241,241,1)), color-stop(51%,rgba(225,225,225,1)), color-stop(100%,rgba(246,246,246,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-9 */    
    font-size: 20px;
    font-weight: normal;
    line-height: 1.15;    
    height:30px;
    padding:0 0 0 10px;
    font-weight:600;
    text-align: left;
}
.categories h1:before, .categories h2:before
{ 
content:":: ";
}


.item {
	width:148px;
	height:220px;
	float:left;
	margin:15px;
	text-align:center;
	position:relative
}

.itemimage img, .itemhomepage img {
		box-shadow: 0 0 8px 1px #dadada;
		padding:5px;

}

.itemname, .itemname a {
	color: #000000;
	text-transform:uppercase;
	padding:5px;
	}
.itemimage img:hover {
		box-shadow: 0 0 8px 1px #336699;
	}

.itemprice, .itempricea {
	color: #336699;
	text-transform:uppercase;
	padding:5px;
	font-weight:700;
  font-size: 1.2em;
  text-align: center;
	}

.itemaddtocart {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
	
}

button, button a{
		box-shadow: 0 0 8px 1px #dadada;
		cursor:pointer;

}
.disponibilite_produit {
    color: #000000;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.disponibilite_produit img{
    border:0;
    box-shadow: unset;
    width: 40px
}



/********************************************************************/
/*      RESPONSIVE CSS            */

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Conteneur principal */
#conteneur {
    width: 100%;
    max-width: 1200px; /* Remplace votre LargeurPage */
    margin: 0 auto;
    background: inherit; /* Garde votre couleur de fond */
	box-shadow: -8px 0 15px -5px rgba(0, 0, 0, 0.1), 
				8px 0 15px -5px rgba(0, 0, 0, 0.1);
}

/* Header */
#header {
    width: 100%;
    position: relative;
    background: inherit; /* Garde votre image de fond */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

#banner {
    flex: 0 0 auto;
    margin: 10px 0;
}

#titresite {
  text-align: left;
	width: 40%;
	padding: 0px 10px;
}
#titresite img, #titresite p {
	margin:0;
	padding:0
}
#caddie {
  position: absolute;
  right: 20px;
  transform: translateX(0);
  border-radius: 5px;
  font-size: 14px;
  z-index: 1000;
  max-width: calc(100% - 40px);
  box-sizing: border-box;
  padding-left: 30px; /* espace pour laisser l’image à gauche du texte */
  display: flex;
}

.caddie-icon-red {
  display: flex;
  width: 70px; /* Ajustez la taille de l'icône */
  margin-right: 10px; /* Espace entre l'icône et le texte */
  align-items: center; /* Centre verticalement le texte */
}

.caddie-text {
  display: flex;
  align-items: center; /* Centre verticalement le texte */
  text-align: center;
}

#languagelector {
  position: absolute;
  top: 0;
  left: 0px;
  transform: translateX(0); /* Empêche tout décalage */
  padding: 10px;
  border-radius: 5px;
  font-size: 14px;
  z-index: 1000;
  max-width: calc(100% - 40px); /* pour éviter de dépasser */
  box-sizing: border-box;
}


#caddie a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* Menu sous header */
#headerunder {
    width: 100%;
    z-index: 99;
    position: relative;
    height: 62px;


}

/* Layout principal - Desktop */
.main-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}



/* Utilitaires */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* RESPONSIVE BREAKPOINTS */

/* Tablettes (768px - 1024px) */
@media screen and (max-width: 1024px) {
    #conteneur {
        width: 95%;
        padding: 0 10px;
    }
    
    .leftcolumn {
        flex: 0 0 250px;
    }
    
    #header {
        padding: 15px;
    }
    
    #caddie {
      position: absolute;
      top: 15px;
      right: 15px;
      width: auto;
      margin: 0;
      padding: 0.5rem 1rem;
      text-align: center;
    }

    #banner {
        display: none; /* Masquer le banner pour les tablettes */
        visibility: hidden;
    }


}

/* Tablettes portrait (768px) */
@media screen and (max-width: 768px) {
    #header {
        flex-direction: row;
        text-align: center;
    }

  .pannier_contenu_items {
  display: flex;
  gap: 10px;
  flex-direction: column-reverse;
}  
    
    #banner {
    order: 2;
    margin-bottom: 15px;
		Display: none; /* Masquer le banner pour les tablettes portrait */
		visibility: hidden;
    }
    
    #titresite {
        order: 1;
        margin-bottom: 15px;
        width: max-content;
    }
    #caddie {
      position: absolute;
      top: -35px;
      right: 20px;
    }    
    .main-wrapper {
        flex-direction: column;
        padding: 15px;
    }
    
    .leftcolumn {
        order: 2;
        flex: none;
        width: 100%;
    }
    
    #maincontent {
        order: 1;
        width: 100%;
    }

  }

/* Mobiles (480px et moins) */
@media screen and (max-width: 480px) {
    #conteneur {
        width: 100%;
        padding: 0 5px;
    }
    
    #header {
        padding: 10px;
    }
    
    #titresite {
        font-size: 90%;
    }
    
    .main-wrapper {
        padding: 10px;
        gap: 15px;
    }
    
    #footer {
        padding: 15px;
        font-size: 14px;
    }
    
    #caddie {
        font-size: 12px;
        padding: 8px;
    }


  }

/* Très petits écrans (320px) */
@media screen and (max-width: 320px) {
    #header {
        padding: 8px;
    }
    
    #titresite {
        font-size: 85%;
    }
    
    .main-wrapper {
        padding: 8px;
        gap: 10px;
    }
    
    #footer {
        padding: 10px;
        font-size: 13px;
    }
}


.login_btn span {
	color: #ff0000;
	padding: 10px 20px;
	cursor: pointer;
	float:right; 
	margin-right: 10px;
	text-decoration: none;
	font-size: 1em;
}

/* Image Hover */
#homepagemainproduct img:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}
/*login form*/

    .login-container {
      background-repeat: no-repeat;
      background-size: cover;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .login-form {
      background-color: rgba(61, 81, 122, 0.575);
      padding: 20px;
      border-radius: 8px;
      color: #fff;
      width: 100%;
      max-width: 70%;
    }

    .login-form h2 {
      font-size: 16px;
      margin-bottom: 20px;
      text-align: center;
    }

    .login-form label {
      font-weight: bold;
      display: block;
      margin-bottom: 5px;
    }

    .login-form input[type="password"],
    .login-form input[type="submit"] {
      width: 100%;
      padding: 8px;
      margin-bottom: 15px;
      border: none;
      border-radius: 4px;
    }

    .login-form input[type="submit"] {
      background-color: #007BFF;
      color: white;
      cursor: pointer;
    }

    .login-form input[type="submit"]:hover {
      background-color: #0056b3;
    }

/* fin login form*/


/* Prix barré */
.prixbarre {
  text-decoration: line-through;
  color: #888;
  margin-right: 10px;
  font-size: 1.5em;
  font-weight: 700;
}

/* Texte promo clignotant */
blink {
  animation: blinker 1s linear infinite;
}
@keyframes blinker {
  50% { opacity: 0; }
}

/* Responsive layout */
@media (max-width: 600px) {
  #homepagemainproduct {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  #homepagemainproduct img{
    width: 100%;
	height: auto;
  }
}
  .homepagemainproduct_img{
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 25px;
  }
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 61px;
  justify-content: flex-start;
  max-width: 1300px; /* ou une autre largeur fixe */
  margin: 0 auto; 
}

.product-card {
  width: 100%;
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  box-sizing: border-box;
  max-width: 20%;
}

.conteneur_images {
  min-height: 190px;
  text-align: center;
}



/* 📱 Mobile (0px à 480px) */
@media (max-width: 480px) {
  .product-card {
    max-width: 100%;
    /* Adaptations spécifiques au mobile */
  }
}

/* 📲 Tablette (481px à 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .product-card {
    max-width: 50%;
    /* Adaptations spécifiques à la tablette */
  }
}

/* 💻 Petit desktop (769px à 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .product-card {
    max-width: 33.33%;
    /* Adaptations pour petits écrans desktop */
  }
}

.itemhomepage {
  flex: 1 1 22%;
  max-width: 22%;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  margin: 10px;
  padding: 10px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
  display: grid;
}
@media (max-width: 768px) {
  .itemhomepage {
    flex: 1 1 45%;
    max-width: 45%;
  }
}

@media (max-width: 480px) {
  .itemhomepage {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.itemhomepage:hover {
  transform: scale(1.03);
}



.itemhomepage:hover {
  transform: scale(1.03);
}

/* Image + nom produit */
.itemimage img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.itemname {
  margin-top: 8px;
  font-weight: bold;
  text-align: center;
  font-size: 1em;
}
.itemhomepage-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 5px;
  max-width: 1300px; /* ou 100% si c'est déjà fluide */
  margin: auto;
}

/* Page produit */
.product-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.product-left {
  flex: 1 1 40%;
  text-align: center;
}

.product-right {
  flex: 1 1 55%;
}

.image-actions a img {
  margin: 0 5px;
}

.price-block, .description {
  margin: 15px 0 30px 0;
}
.description p {
  font-size: 1em;
}
.price-block {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}


.bookmark {
  margin-top: 15px;
}

#table1 {
  padding: 2px;
  width: 100%;
  box-sizing: border-box;
}

.cart-quantity,
.cart-feedback {
  white-space: nowrap;
  margin-bottom: 1em;
}

.cart-feedback {
  font-size: 1.3em;
  padding: 10px;
}
.cart-quantity {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  font-size: 1.2em;
  margin-top: 10px;
}
.btn-view-cart {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: bold;
  color: white;
  background: #00a8ef;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-view-cart:hover {
  background: #000000;
  transform: scale(1.02);
}

.btn-icon {
  width: 20px;
  height: 20px;
  background-image: url('/UserFiles/image/add_to_cart.svg'); /* ton icône locale 🛒 */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}


.btn-view-cart-green {
  background: linear-gradient(to bottom, #4ae275, #57a725);
  color: white;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}

.btn-view-cart-green:hover {
  background: linear-gradient(to bottom, #5af0c0, #46d24f);
}

/* fonction lightbox */
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox-content {
    background: var(--card-background);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    position: relative;
    max-width: 95%;
    max-height: 95%;
    overflow: hidden;
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: inherit;
    height: inherit;  
    text-align: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 4px;
  margin-bottom: 1em;
  object-fit: contain;
}

.btn-fermer {
  background: #357ABD;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
}
/* liste à puce check */

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 16px;
  color: #1a3e6e; /* bleu profond */
  font-weight: 500;
}

.check-list li::before {
  content: "✔"; /* ou "★" selon ton style */
  position: absolute;
  left: 0;
  top: 0;
  color: #3498db; /* bleu vif */
  font-size: 18px;
}
/*  panneau lateral */.onglet {
position: fixed;
top: 50%;
right: 0;
transform: translateY(-50%);
background-color: #0074D9;
color: #FFF;
padding: 10px;
cursor: pointer;
z-index: 10;
}

/* Styles pour le DIV d'informations 1 */

/* Styles pour l'overlay */
.superposition {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Couleur semi-transparente */
display: none; /* Caché par défaut */
}

/* Styles pour le bouton de fermeture */
.close-button {
position: absolute;
top: 10px;
right: 10px;
cursor: pointer;
display: none; /* Caché par défaut */

}
.infos {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100%;
  background-color: #F0F0F0;
  transition: right 0.5s ease;
  overflow: auto;
  padding: 20px;
  z-index: 9999;
  width: 30%;
}


/* Écrans ≤ 1024px */
@media screen and (max-width: 1024px) {
  .infos {
    width: 80%;
    right: -80%;
  }
}

/* Écrans ≤ 768px */
@media screen and (max-width: 768px) {
  .infos {
    width: 100%;
    right: -100%;
  }
}

/* Écrans ≤ 480px */
@media screen and (max-width: 480px) {
  .infos {
    width: 100%;
    right: -100%;
  }
}

/* Écrans ≤ 320px */
@media screen and (max-width: 320px) {
  .infos {
    width: 100%;
    right: -100%;
    padding: 15px; /* Optionnel, pour gagner un peu d'espace */
  }
}

/* Afficher le bouton de fermeture lorsque le DIV est ouvert */
.infos.open .close-button {
display: block;
background: red;
}


/* fin panneau lateral */
/*  GEZSTION DES ONGLETS ADMIN */


/* Style général des onglets */
.admin_onglet {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ddd;
  color: #000;
  cursor: pointer;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  margin-right: 5px;
  font-weight: bold;
}

.admin_onglet.active {
  background-color: #fff;
  border-bottom: 2px solid #fff;
}

/* Contenu des onglets */
.admin_contenu {
  display: none;
  padding: 20px;
  border: 1px solid #ddd;
  border-top: none;
  background-color: #fff;
}

.admin_contenu.active {
  display: block;
}

/* Styles pour les onglet de la console admin */
    .tabs {
      display: flex;
      border-bottom: 2px solid #ccc;
    }
    .tab {
      padding: 10px 20px;
      cursor: pointer;
      border: 1px solid #ccc;
      border-bottom: none;
      background-color: #f7f7f7;
    }
    .tab.active {
      background-color: #ffffff;
      font-weight: bold;
      border-top: 2px solid #0078D7;
      font-size: initial;
    }
    .tab-content {
      border: 1px solid #ccc;
      padding: 15px;
      display: none;
      font-size: larger;
    }
    .tab-content.active {
      display: block;
    }


.spacebetween {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flexend {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: row;
}
.admin-actions-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

.admin-actions-grid img {
	width: 50px;
	height: 50px;
	transition: transform 0.2s;
	display: flex
}

.admin-actions-grid img:hover {
	transform: scale(1.1);
}

.disk-full-message {
	text-align: center;
	margin: 40px auto;
	padding: 30px;
	background-color: #ffe6e6;
	border: 1px solid #ff9999;
	border-radius: 5px;
}

  /* Styles pour la lightbox */
  .lightbox-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      z-index: 10;
      opacity: 0;
      transition: opacity 0.3s ease;
  }

  .lightbox-overlay.active {
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 1;
  }



  .lightbox-overlay.active .lightbox-content {
      transform: scale(1);
  }


  .lightbox-close:hover {
      background-color: #f0f0f0;
      color: #333;
  }

  .lightbox-iframe {
      width: 100%;
      height: 100%;
      border: none;
      display: block;
  }

  /* Styles responsives */
  @media (max-width: 768px) {
      .lightbox-content {
          max-width: 95%;
          max-height: 90%;
          margin: 20px;
      }
      
      .lightbox-close {
          top: 10px;
          right: 15px;
          font-size: 20px;
      }

  
      .infos.open {
          right: 0; /* Affiche le DIV */
      }
      
      .superposition {
          display: block; /* Affiche l'overlay */
          display: none; /* Caché par défaut */

      }
      
      .close-button {
          display: block; /* Affiche le bouton de fermeture */
      }

      fielset {
        display: flex;
        gap: 1rem;
        align-items: center;
        flex-wrap: wrap;
        margin-top: 1.5rem;
        flex-direction: row;
    }

      
  }

  @media (max-width: 480px) {
      .lightbox-content {
          max-width: 98%;
          max-height: 85%;
          margin: 10px;
      }
  }

  :root {
    --primary-color: #2D7FF9;
    --bg-color: #fff;
    --tab-bg: #e9eff5;
  }

  body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f6f9;
    margin: 0;
    padding: 20px;
  }


  .tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #ccc;
  }

  .tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    background: var(--tab-bg);
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: initial;
  }

  .tab svg {
    width: 20px;
    height: 20px;
  }

  .tab:hover {
    background: #d9e5f0;
  }

  .tab.active {
    background: var(--bg-color);
    border-bottom: 3px solid var(--primary-color);
    font-weight: bold;
    color: var(--primary-color);
  }

  .tab-content {
    display: none;
    padding: 20px;
    animation: fadeIn 0.3s ease-in;
  }

  .tab-content.active {
    display: block;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }


/* ===== PANNEAU D'ADMINISTRATION MODERNE ===== */

/* Variables CSS pour cohérence */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --background-color: #f8fafc;
    --card-background: #ffffff;
    --border-color: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Container principal */
.container {
  max-width: 800px; /* Choisis celle qui convient à ton layout */
  margin: auto;
  background: var(--bg-color);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  min-height: 99vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;

}

/* Titre principal */
h2 {
    color: var(--text-primary);
    font-size: 1.875rem;
    font-weight: 700;
    margin: 0 0 2rem 0;
    letter-spacing: -0.025em;
    text-align: center;
}

/* ===== SYSTÈME D'ONGLETS ===== */
.tabs {
    display: flex;
    background: var(--card-background);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    border-bottom: none;
    overflow: hidden;
}

.tab {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--card-background);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    border-right: 1px solid var(--border-color);
}

.tab:last-child {
    border-right: none;
}

.tab svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: var(--transition);
}

.tab:hover {
    background: #f1f5f9;
    color: var(--primary-color);
    transform: translateY(-1px);
}

.tab.active {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

/* ===== CONTENU DES ONGLETS ===== */
.tab-content {
    display: none;
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 0 0 1.5rem 0;
}

/* ===== FLEXBOX UTILITIES ===== */
.flexstart {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    background: transparent !important;
    flex-direction: row;
    justify-content: flex-start;
}

.flexstart > div {
    display: flex;
    align-items: center;
}

/* ===== ICÔNES ADMIN ===== */
.icones_admin {
    width: 4rem;
    height: 4rem;
    padding: 0.5rem;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
    /* Suppression du filtre qui rendait les SVG invisibles */
}
.imghelp
 {
    width: 25px;
    height: 25px;
    margin: 10px 10px 0 0;
    cursor: pointer;
    /* Suppression du filtre qui rendait les SVG invisibles */
}


.icones_admin:hover {
    background: var(--primary-hover);
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Style pour les conteneurs d'icônes */
.flexstart > div a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.flexstart > div a:hover {
    background: var(--primary-hover);
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Si vous voulez forcer les SVG en blanc sur fond coloré */
.icones_admin.white-icon {
    filter: brightness(0) invert(1);
}

/* Alternative : style pour SVG avec couleur adaptée au background */
.flexstart > div a img {
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.3));
}

.adminimage {
    cursor: pointer;
}

/* ===== FIELDSET MODERNE ===== */
fieldset {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    margin: 1rem 0;
    box-shadow: var(--shadow-sm);
}

fieldset legend {
    background: var(--card-background);
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

fieldset legend h2 {
    margin: 0;
    font-size: 1.25rem;
}

/* ===== TABLEAU D'ACTIONS ===== */
#table5 {
    width: 100%;
    background: var(--card-background);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

#table5 > div {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

#table5 > div:last-child {
    border-bottom: none;
}

#table5 > div:hover {
    background: #f8fafc;
    border-radius: var(--radius-sm);
    margin: 0 -0.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

#table5 b font {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.875rem;
}

/* ===== LIENS D'ACTION ===== */
#table5 a {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

#table5 a:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

#table5 img {
    width: 0.75rem;
    height: 0.75rem;
    filter: brightness(0) invert(1);
}

/* ===== ALERTES ===== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin: 1rem 0;
    border-left: 4px solid;
    box-shadow: var(--shadow-sm);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.alert-warning {
    background: #fef3c7 !important;
    border-left-color: var(--warning-color);
    color: #92400e !important;
}

.alert-warning h2 {
    color: #92400e;
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
}

/* ===== SLIDER ===== */
.flex-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  font-size: 1.4rem;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  max-width: 80%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  z-index: 10;

  /* Animation */
  animation: bounceInUp 1s ease-out forwards;
}

/* Animation avec rebond visible */
@keyframes bounceInUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 300px) scale(0.5);
  }
  60% {
    opacity: 1;
    transform: translate(-50%, -20px) scale(1.1);
  }
  80% {
    transform: translate(-50%, 10px) scale(0.95);
  }
  100% {
    transform: translate(-50%, 0) scale(1);
  }
}

/* ===== ESPACE DISQUE ===== */
.tab-content > div:first-of-type {
    background: linear-gradient(135deg, var(--success-color), #047857);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    font-weight: 500;
}

.tab-content > div:first-of-type b {
    font-weight: 700;
}

/* ===== LIGHTBOX STYLES ===== */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.lightbox-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}



.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 15px; /* Valeur finale choisie */
  right: 20px;
  background: rgba(0, 0, 0, 0.1); /* Préserve l'effet de fond */
  border: none;
  font-size: 1.5rem; /* Ou 24px selon préférence visuelle */
  color: var(--text-secondary); /* À ajuster si tu préfères #666 */
  cursor: pointer;
  z-index: 10001;
  width: 2rem; /* Ou 30px, selon l’unité que tu préfères */
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease, color 0.2s ease; /* Combine avec la variable si nécessaire */
  backdrop-filter: blur(8px);
}



.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
    transform: scale(1.1);
}

.lightbox-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    border-radius: var(--radius-lg);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    
    .tabs {
        flex-direction: row;
    }
    
    .tab {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 0.75rem 1rem;
    }
    
    .tab:last-child {
        border-bottom: none;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .flexstart {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    #table5 > div {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    #table5 > div > div:not(:first-child) {
        margin-left: 0;
    }
    
    fieldset {
        padding: 1rem;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 90%;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.5rem;
    }
    
    .tab {
        font-size: 0.875rem;
        gap: 0.375rem;
    }
    
    .tab svg {
        width: 1rem;
        height: 1rem;
    }
    
    .tab-content {
        padding: 1rem;
    }
    
    .icones_admin {
    width: 4rem;
    height: 4rem;
    }
    
    .lightbox-content {
        max-width: 98%;
        max-height: 85%;
        margin: 0.5rem;
    }
    
    .lightbox-close {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 1.25rem;
    }
}

/* ===== AMÉLIORATION DE L'ACCESSIBILITÉ ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus pour l'accessibilité */
.tab:focus,
.icones_admin:focus,
.lightbox-close:focus,
#table5 a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ADMIN : Styles pour les boutons d'action sur les pages */
    .admin-container {
        max-width: 1200px;
        margin: 0 auto;
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        overflow: hidden;
    }

    .admin-header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 20px 30px;
    }

    .admin-header h1 {
        font-size: 1.8rem;
        font-weight: 600;
    }

    .admin-header p {
        opacity: 0.9;
        margin-top: 5px;
    }

    .pages-list {
        padding: 0;
    }

    .page-item {
        display: flex;
        align-items: center;
        border-bottom: 1px solid #e9ecef;
        transition: all 0.2s ease;
        margin-bottom: 5px;
    }

    .page-item:hover {
        background: #f8f9fa;
        transform: translateX(2px);
    }

    .page-item:last-child {
        border-bottom: none;
    }

    .page-name {
        flex: 1;
        font-size: 1.1rem;
        font-weight: 500;
        color: #333;
        margin-right: 20px;
    }

    .page-actions {
        display: flex;
        gap: 12px;
        align-items: center;
    }

    .action-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        text-decoration: none;
        transition: all 0.2s ease;
        cursor: pointer;
        border: none;
        font-size: 16px;
    }

    .view-btn {
        background: #e3f2fd;
        color: #1976d2;
    }

    .view-btn:hover {
        background: #bbdefb;
        transform: scale(1.05);
    }

    .edit-btn {
        background: #fff3e0;
        color: #f57c00;
    }

    .edit-btn:hover {
        background: #ffe0b2;
        transform: scale(1.05);
    }

    /* Style pour les icônes SVG */
    .icon {
        width: 18px;
        height: 18px;
    }

    /* Responsive */
    @media (max-width: 768px) {
        body {
            padding: 10px;
        }
        
        .admin-header {
            padding: 16px 20px;
        }
        
        .admin-header h1 {
            font-size: 1.5rem;
        }
        
        .page-item {
            padding: 15px 20px;
        }
        
        .page-name {
            font-size: 1rem;
            margin-right: 15px;
        }
        
        .action-btn {
            width: 36px;
            height: 36px;
        }
        
        .page-actions {
            gap: 8px;
        }
    }

    @media (max-width: 480px) {
        .page-item {
            padding: 12px 15px;
        }
        
        .page-name {
            font-size: 0.95rem;
            margin-right: 10px;
        }
        
        .action-btn {
            width: 32px;
            height: 32px;
        }
        
        .icon {
            width: 16px;
            height: 16px;
        }
    }

    /* Animation d'apparition */
    .page-item {
        animation: fadeInUp 0.3s ease-out forwards;
        opacity: 0;
        transform: translateY(10px);
    }

    .page-item:nth-child(1) { animation-delay: 0.1s; }
    .page-item:nth-child(2) { animation-delay: 0.2s; }
    .page-item:nth-child(3) { animation-delay: 0.3s; }
    .page-item:nth-child(4) { animation-delay: 0.4s; }
    .page-item:nth-child(5) { animation-delay: 0.5s; }

    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

.img-miniature {
 border-radius: 8px;
}
                        
