 .miniridercssblock img{
 
  color: inherit;
  border-radius: 10px;
  border: 2px solid;
 max-height: 300px;
 margin-bottom: 30px;
}

 .miniridercssblock img:hover{
 box-shadow: 0 0 25px rgba(255, 255, 255, 0.9),
            0 0 40px rgba(255, 255, 255, 0.6);
 
}


.miniridercssblock:active {
  text-decoration: none;
  color: inherit;
}



  .miniriderxcssblock img{
  
  color: #00ff7f;
 border-radius: 10px;
  border: 2px solid;
 max-height: 300px;
 margin-bottom: 30px;
}

  .miniriderxcssblock img:hover{
  
 box-shadow: 0 0 25px rgba(0, 255, 127, 0.9),
            0 0 40px rgba(0, 255, 127, 0.6);
}



.miniriderxcssblock:active {
  text-decoration: none;
  color: inherit;
}




   .epikridercssblock img{

  color: #33aaff;
   border-radius: 10px;
  border: 2px solid;
 max-height: 300px;
 margin-bottom: 30px;
}

.epikridercssblock img:hover {
  
  border-color: #33aaff;
box-shadow: 0 0 25px rgba(51, 170, 255, 0.9),
            0 0 40px rgba(51, 170, 255, 0.6);
 
}

.epikridercssblock:active {
  text-decoration: none;
  color: inherit;
}

  

    .mystikridercssblock img {

  color: #bb44ff;
   border-radius: 10px;
  border: 2px solid;
 max-height: 300px;
 margin-bottom: 30px;
}

.mystikridercssblock img:hover {
  
  border-color: #bb44ff;
 box-shadow: 0 0 25px rgba(187, 68, 255, 0.9),
            0 0 40px rgba(187, 68, 255, 0.6);
 
}


.mystikridercssblock:active {
  text-decoration: none;
  color: inherit;
}



  


 .legendridercssblock img{
 
 
 color:#ffa500 ;
  border-radius: 10px;
  border: 2px solid;
 max-height: 300px;
 margin-bottom: 30px;

}

.legendridercssblock img:hover {
  
  border-color: #ffbb33;
  box-shadow: 0 0 25px rgba(255, 165, 0, 0.9),
              0 0 40px rgba(255, 120, 0, 0.6);
  
}


.legendridercssblock:active {
  text-decoration: none;
  color: inherit;
}

.legendridertitle{
 font-size: 1.3rem;
 text-decoration-color: #ffa500;
  color: #ffa500;
  
  margin-bottom: 20px;
  font-family: 'Share Tech Mono', monospace; /* par exemple */
  text-align: center;
  }





.miniridersaletitle {
   text-align: center;
  font-family: 'Share Tech Mono', monospace; /* ou autre police stylée */
  color: white;
  text-shadow:
    0 0 5px #fff,
    0 0 10px #fff,
    0 0 20px #fff;
  font-size: 2em;
  margin-bottom: 0.2em;
}

.miniridercontent {
   background-color: black;
  border-radius: 10px;
  }


    .epikridersaletitle {
  text-align: center;
  font-family: 'Share Tech Mono', monospace; /* ou autre police stylée */
  color: white;
  text-shadow:
    0 0 5px #33aaffb9,
    0 0 10px #33aaffb9,
    0 0 20px #33aaffb9;
  font-size: 2em;
  margin-bottom: 0.2em;
}


.epikridercontent {
  background-color: black;
  border-radius: 10px;
  }

 

    .miniriderxsaletitle {
  text-align: center;
  font-family: 'Share Tech Mono', monospace; /* ou autre police stylée */
  color: white;
  text-shadow:
    0 0 5px #0bc041,
    0 0 10px #0bc041,
    0 0 20px #0bc041;
  font-size: 2em;
  margin-bottom: 0.2em;
}

.miniriderxcontent {
   background-color: black;
  border-radius: 10px;
  }


  
    .mystikridersaletitle {
  text-align: center;
  font-family: 'Share Tech Mono', monospace; /* ou autre police stylée */
  color: white;
  text-shadow:
    0 0 5px #bb44ff,
    0 0 10px #bb44ff,
    0 0 20px #bb44ff;
  font-size: 2em;
  margin-bottom: 0.2em;
}

.mystikridercontent {
  background-color: black;
  border-radius: 10px;
  }

  .legendridersaletitle {
  text-align: center;
  font-family: 'Share Tech Mono', monospace; /* ou autre police stylée */
  color: white;
  text-shadow:
    0 0 5px #ffa500,
    0 0 10px #ffa500,
    0 0 20px #ffa500;
  font-size: 2em;
  margin-bottom: 0.2em;
}



.legendridercontent {
  background-color: black;
  border-radius: 10px;
  }













.stockbox {
  width: 100%;
  max-width: 1600px;
  margin: 30px auto;
  
  border: 2px solid #ffa01cc7;
  box-shadow: 0 0 20px rgba(255, 159, 28, 0.5);
  padding: 30px;
  border-radius: 12px;
  display: flex;
  gap: 30px;
  flex-direction: row !important; 
  height:auto;
  background-image: url('/../images/uv.png');
  background-size: cover;
  
  
}

/* Sidebar gammes */
.stock-gamme-menu {
  width: 300px;
  flex-shrink: 0;
  background: #050505e1;
  position: relative;
  
  padding-right: 20px;
   border: 2px solid #ffa01cc7;
  border-radius: 8px;
}

.back-button-container {
  position: absolute;
  bottom: 20px;         /* espace avec le bord bas */
  left: 50%;
  transform: translateX(-50%); /* centrer horizontalement */
}

.back-button {
  display: inline-block;
  padding: 10px 20px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 16px;
  color: #fff;
  background-color: #FFA500;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.back-button:hover {
  background-color: #ff8800;
  transform: scale(1.05);
}

.back-button-container2 {
  position: absolute;
  bottom: 20px;         /* espace avec le bord bas */
  left: 50%;
  transform: translateX(-50%); /* centrer horizontalement */
}

.back-button2 {
  display: inline-block;
  padding: 10px 20px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 16px;
  color: #fff;
  background-color: #FFA500;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.back-button2:hover {
  background-color: #ff8800;
  transform: scale(1.05);
}


/* Zone de contenu */
.stock-content {
  flex: 1;
  color: #eee;
  padding-left: 20px;
}

.zmt-accordion {
  width: 100%;
  font-family: 'Segoe UI', sans-serif;
  background-color: #050505e1;
  border-radius: 8px;
  padding: 10px;
}

.zmt-accordion-item {
  margin-bottom: 10px;
  border-left: 3px solid transparent;
  padding: 5px;
  
}

.zmt-accordion-header {
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  padding: 10px 15px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  border: none;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-shadow: 0 0 4px #fff;
  border-radius: 5px;
  text-align: center;
  font-size: 1.7em;
}

.zmt-accordion-header:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Styles par gamme */
.zmt-accordion-item:nth-child(1) .zmt-accordion-header { color: white; text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #fff;}
.zmt-accordion-item:nth-child(2) .zmt-accordion-header { color: white;  text-shadow: 0 0 5px #00ff7f, 0 0 10px #00ff7f, 0 0 20px #00ff7f; }
.zmt-accordion-item:nth-child(3) .zmt-accordion-header { color: white;  text-shadow: 0 0 5px #33aaffd7, 0 0 10px #33aaffda, 0 0 20px #33aaffd3; }
.zmt-accordion-item:nth-child(4) .zmt-accordion-header { color: white;  text-shadow: 0 0 5px #bb44ff, 0 0 10px #bb44ff, 0 0 20px #bb44ff; }
.zmt-accordion-item:nth-child(5) .zmt-accordion-header { color: white;  text-shadow: 0 0 5px #ffa500, 0 0 10px #ffa500, 0 0 20px #ffa500; }
.zmt-accordion-item:nth-child(6) .zmt-accordion-header { color: white;  text-shadow: 0 0 5px #e70b0bfb, 0 0 10px #e70b0bfb, 0 0 20px #e70b0bfb; }

.zmt-accordion-item:nth-child(1) .zmt-accordion-content a {  text-decoration: none;      color: white; text-shadow: 0 0 5px #fff; }
.zmt-accordion-item:nth-child(2) .zmt-accordion-content a { color: #00ff7f; text-shadow: 0 0 5px #00ff7f; }
.zmt-accordion-item:nth-child(3) .zmt-accordion-content a { color: #33aaff; text-shadow: 0 0 5px #33aaff; }
.zmt-accordion-item:nth-child(4) .zmt-accordion-content a { color: #bb44ff; text-shadow: 0 0 5px #bb44ff; }
.zmt-accordion-item:nth-child(5) .zmt-accordion-content a { color: #ffa500; text-shadow: 0 0 5px #ffa500; }
.zmt-accordion-item:nth-child(6) .zmt-accordion-content a { color: #e70b0bfb; text-shadow: 0 0 5px #e70b0bfb; }

.zmt-accordion-content {
  max-height: 0;
  overflow: auto;
  transition: max-height 0.3s ease;
  background: rgba(0, 0, 0, 0.4);
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  padding: 0 15px;
  border-radius: 0 0 5px 5px;
  text-align: center;
  font-size: 1.4em;
}

.zmt-accordion-content ul {
  list-style: none;
  padding: 10px 0;
  margin: 0;
}

.zmt-accordion-content li {
  margin-bottom: 8px;
}



.zmt-accordion-content a:hover {
  color: #ffa500;
  text-shadow: 0 0 5px #ffa500;
}


#stockcontent {
    text-align: center;
    padding: 30px;
    color: white;
   
}






.epikriderblock {
    display: flex;
  flex-direction: column;
  align-items: center; /* centre horizontalement */
  justify-content: space-between; /* espace entre titre, image et sous-texte */
  text-decoration: none;
  max-width: 600px;
  max-height: 600px;

  width: 100%;
  height: 100%;

  box-sizing: border-box;
  overflow: hidden;
font-family: 'Share Tech Mono', monospace;
  padding: 10px;
  border: 2px solid ;
  border-color: #00bfff ;
  border-radius: 10px;
  background-color: #050505e1;
  
  text-align: center;
}

.epikriderblock:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px #00bfff;
}

.epikriderimg {
   
    border-radius: 10px;
    margin-bottom: 12px;
    max-width: 180px;
    height: auto;
}

.epikridertitle {
    color: #00bfff;
    font-size: 1.3em;
    margin: 10px 0;
    text-shadow: 0 0 6px #00bfff;
}

.epikridersub {
    color: white;
    font-size: 1.4em;
    text-shadow: 0 0 4px #00bfff;
}

.mystikriderblock {
    display: flex;
  flex-direction: column;
  align-items: center; /* centre horizontalement */
  justify-content: space-between; /* espace entre titre, image et sous-texte */
  text-decoration: none;
  max-width: 600px;
  max-height: 600px;
font-family: 'Share Tech Mono', monospace;
  width: 100%;
  height: 600px;

  box-sizing: border-box;
  overflow: hidden;

  padding: 10px;
  border: 2px solid ;
  border-color:#bb44ff;
  border-radius: 10px;
  background-color: #050505e1;;
  
  text-align: center;
  
}

.mystikriderblock:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px #bb44ff;
}

.mystikriderimg {
   
    border-radius: 10px;
    margin-bottom: 12px;
    max-width: 165px;
    height: auto;
}

.mystikridertitle {
    color: #bb44ff;
    font-size: 1.4em;
    margin: 10px 0;
    text-shadow: 0 0 6px #bb44ff;
}

.mystikridersub {
    color: white;
    font-size: 1.3em;
    text-shadow: 0 0 4px #bb44ff;
}

.miniriderblock {
   display: flex;
  flex-direction: column;
  align-items: center; /* centre horizontalement */
  justify-content: space-between; /* espace entre titre, image et sous-texte */
  text-decoration: none;
  max-width: 600px;
  max-height: 600px;
font-family: 'Share Tech Mono', monospace;
  width: 100%;
  height: 100%;

  box-sizing: border-box;
  overflow: hidden;

  padding: 10px;
  border: 2px solid;
  border-radius: 10px;
  background-color: #050505e1;;
  color: rgba(255, 255, 255, 0.507);
  text-align: center;
  
}

.miniriderblock:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px #fff;
}

.miniriderimg {
    
    border-radius: 10px;
    margin-bottom: 12px;
    max-width: 180px;
    height: auto;
}

.miniridertitle {
    color: #fff;
    font-size: 1.3em;
    margin: 10px 0;
    text-shadow: 0 0 6px #fff;
}

.miniridersub {
    color: white;
    font-size: 1.4em;
    text-shadow: 0 0 4px #fff;
}

.miniriderxblock {
   display: flex;
  flex-direction: column;
  align-items: center; /* centre horizontalement */
  justify-content: space-between; /* espace entre titre, image et sous-texte */
  text-decoration: none;
  max-width: 600px;
  max-height: 600px;
font-family: 'Share Tech Mono', monospace;
  width: 100%;
  height: 100%;

  box-sizing: border-box;
  overflow: hidden;

  padding: 10px;
  border: 2px solid ;
  border-radius: 10px;
  background-color: #050505e1;;
  border-color: #00ff7f;
  text-align: center;
    
    
    
}

.miniriderxblock:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px #00ff7f;
}

.miniriderximg {
    
    border-radius: 10px;
    margin-bottom: 12px;
    max-width: 220px;
    height: auto;
}

.miniriderxtitle {
    color: #00ff7f;
    font-size: 1.3em;
    margin: 10px 0;
    text-shadow: 0 0 6px #00ff7f;
}

.miniriderxsub {
    color: white;
    font-size: 1.4em;
    text-shadow: 0 0 4px #00ff7f;
}

.legendriderblock {
    display: flex;
  flex-direction: column;
  align-items: center; /* centre horizontalement */
  justify-content: space-between; /* espace entre titre, image et sous-texte */
  text-decoration: none;
  max-width: 600px;
  max-height: 600px;
font-family: 'Share Tech Mono', monospace;
  width: 100%;
  height: 100%;

  box-sizing: border-box;
  overflow: hidden;

  padding: 10px;
  border: 2px solid ;
  border-radius: 10px;
  background-color: #050505e1;;
  border-color: #ffa500;
  text-align: center;
  

}

.legendriderblock:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px #ffa500;
}

.legendriderimg {
  display: flex;
   
    border-radius: 10px;
    margin-bottom: 12px;
    max-width: 180px;
}

.legendridertitle {
    color: #ffa500;
    font-size: 1.3em;
    margin: 10px 0;
    text-shadow: 0 0 6px #ffa500;
}

.legendridersub {
  display: flex;
    color: white;
    font-size: 1.4em;
    text-shadow: 0 0 4px #ffa500;
}

.rider-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap:40px 40px;
  width: 100%;
  max-width: 1500px; /* ou ce que tu veux */

  
  
}



.rider-grid > * {
  box-sizing: border-box;
  width: 100%;
  height: auto;
}

.rider-grid > div {
  width: 100%;           /* prend toute la largeur de sa cellule */
  aspect-ratio: 4 / 3;   /* donne une hauteur automatiquement selon la largeur */
  box-sizing: border-box;
  padding: 10px;
}

.miniriderblock {
  grid-column: 1;
  grid-row: 1;
}

.miniriderxblock {
  grid-column: 2;
  grid-row: 1;
}

.epikriderblock {
  grid-column: 1;
  grid-row: 2;
}

.mystikriderblock {
  grid-column: 2;
  grid-row: 2;
}

.legendriderblock {
  grid-column: 1 ;
  grid-row: 3;
  
}
.customredirectblock {
  grid-column: 2 ;
  grid-row: 3;
  
}

.gammegridtitle {
  font-size: 3rem;
  color: black;
  text-align: center;
  margin-top:0;
  font-family: 'Share Tech Mono', monospace; /* par exemple */
}


.legendriderimg .legendridersub {
  flex-direction: row;
  }

  .content-row {

  display: flex;
  flex-direction: row;
  align-items: center; /* aligne image + texte verticalement */
  gap: 35px; /* espace entre image et sous-texte */
  font-size: 1.7em;
}
.customredirectblock {
    display: flex;
    
     opacity: 1 !important;
  
  align-items: center; /* centre horizontalement */
   /* espace entre titre, image et sous-texte */
  text-decoration: none;
  max-width: 600px;
  max-height: 600px;
font-family: 'Share Tech Mono', monospace;
  width: 100%;
  
  height: 100%;

  box-sizing: border-box;
 

  padding: 10px;
  border: 2px solid ;
  border-color: #e70b0bfb ;
  border-radius: 10px;
  background-color: #050505e1;
  
  text-align: center;
  
  

}

.customredirectblock:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px #e70b0bfb;
}

.customredirectimg {
  display: flex;
    
    border-radius: 10px;
    margin-bottom: 12px;
    max-width:180px;
    height:auto;
}

.customredirecttext{
     
    font-size: 1.3em;
    margin: 10px 0;
   

}

.custom-content-wrapper {
  position: flex;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
   flex-direction: column;
  
}


.miniriderspeech {
  font-size: 1.2rem;
  
  text-align: left;
  margin-bottom: 20px;
  font-family: 'Share Tech Mono', monospace; /* par exemple */
  text-align: center;
  color: white; text-shadow: 0 0 5px #bdbbbb, 0 0 10px #858484, 0 0 20px #a7a7a7;
}




.modelwrapper {
  position: flex;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  
}



.stock-content2 {
  background-color: #050505e1;
  border-radius: 10px;
  }
  .stock-content3 {
  background-color: #050505e1;
  border-radius: 10px;
  }

  .stock-content4 {
  background-color: #050505e1;
  border-radius: 10px;
  }

  .stock-content5 {
  background-color: #050505e1;
  border-radius: 10px;
  }

  .stock-content6 {
  background-color: #050505e1;
  border-radius: 10px;
  }

  .allridergrid {
  text-decoration: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1000px; /* ou ce que tu veux */
  margin: 0 auto;
  overflow-y: auto;
  max-height: 80vh;
 
  scrollbar-width: auto;
  scrollbar-color: rgba(255, 159, 28, 0.7) transparent;
  
  
  
  
}



.allridergrid > * {
  box-sizing: border-box;
  width: 100%;
  height: auto;
}

.allridergrid > div {
  width: 100%;           /* prend toute la largeur de sa cellule */
  aspect-ratio: 4 / 3;   /* donne une hauteur automatiquement selon la largeur */
  box-sizing: border-box;
  padding: 10px;
}


.photogrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  padding: 20px;
  align-items: center;
  justify-items: center;
}

.photogrid img {
  width: 100%;
  height: auto; /* ou auto si tu veux garder le ratio original */
  object-fit: cover;
  border-radius: 0px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.photogrid img:hover {
  transform: scale(1.03);
}

/* Lightbox container */
#lightbox {
  display: none;
  position: fixed;
  inset: 0; /* top:0; left:0; right:0; bottom:0 en une seule ligne */
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;

  justify-content: center;
  align-items: center;
}

#lightbox.active {
  display: flex;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

#lightbox2 {
  display: none;
}
.photogrid img {
  
  cursor: pointer;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Navigation + fermer */
.nav-btn, .close-btn {
  position: absolute;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  user-select: none;
  text-shadow: 0 0 10px #000;
  z-index: 10000;
  transition: 0.2s;
}

.nav-btn:hover, .close-btn:hover {
  transform: scale(1.2);
}

.close-btn {
  top: 20px;
  right: 30px;
}

.nav-btn.left {
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.nav-btn.right {
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

body.noscroll {
  overflow: hidden;
}




  
  
  
  




.photogrid > * {
  box-sizing: border-box;
  width: 100%;
  height: auto;
}

.photogrid > div {
  width: 100%;           /* prend toute la largeur de sa cellule */
  aspect-ratio: 3 / 4;   /* donne une hauteur automatiquement selon la largeur */
  box-sizing: border-box;
  padding: 10px;
}

.order-button-box { 
  position: relative;
  display:flex;
  justify-content: space-between;
 flex-direction: column;
  margin: 20px auto;
  padding: 12px 28px;
  font-size: 2em;
  font-family: 'Share Tech Mono', monospace;
  text-align: center;
  color: rgba(255, 255, 255, 0.904);
  background-color: #050505e1;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.247), 0 0 16px rgba(255, 255, 255, 0.247);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  height:auto;
  
   border: 2px solid #ffa01cc7;
  border-radius: 8px;
  
  }





.order-button {
  display: flex;
  padding: 12px 24px;
  background-color: #000;
  color: #fff;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1em;
  text-decoration: none;
  border: 2px solid #fff;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.order-button:hover {
  background-color: #fff;
  color: #000;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6), 0 4px 10px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
  cursor: pointer;
}

/* Téléphones (~max 576px) */
@media (max-width: 992px) {

  .stockbox {
    flex-direction: row; 
    padding: 15px;
    gap: 20px;
      width: 100%;
  max-width: fit-content;  
    height: auto;             /* autorise à grandir en hauteur */
    display: flex;
   align-items: stretch;
    
  }

 


  .stock-gamme-menu {
    
    width: 110px;
    padding-right: 0;
    
    transform: translateX(-5%);
    background: none;
    border: none;
    margin-bottom: 67px;
    height: auto;
     transform:translateX(-15px) ;
    padding: 10px 0;
  }




  .stock-content1,
  .stock-content {
    padding-left: 0;
    
    
  }
 .backtomaingrid {
    font-size: 0.5em;
    color: #000;
    
    
    
  }

  .backtomaingrid u {
    font-size: 0.9em;
    color: #000;          
  }
  .rider-grid,
  .allridergrid, 
  .zmt-accordion{

    display: flex;
    flex-direction: column;
    gap: 20px;
    
  }

  .rider-grid{
    margin-top: 25px;
    
}
  .epikriderblock,
  .mystikriderblock,
  .miniriderblock,
  .miniriderxblock,
  .legendriderblock,
  .customredirectblock {
    max-width:100%;
    height: auto;
    font-size: 0.7em;
    transform: translateX(2%);
   
    
  }

  .epikriderblock img,
  .mystikriderblock img,
  .miniriderblock img,
  .miniriderxblock img,
  .legendriderblock img,
  .customredirectblock  img{
    max-width: 50%;
    height: auto;
    font-size: 0.7em;
    
  }

.content-row{
  flex-direction: column;
 }

 .content-row p{
  font-size: 0.7em;
  margin-top: -30px;
 }
  .gammegridtitle {
    font-size: 1.2rem; /* texte un peu plus petit sur mobile */
    transform: translateY(40%);
  }

  .zmt-accordion-header {
    font-size: 0.9em;
    padding: 8px 10px;
    
  }
    .zmt-accordion-item {
    font-size: 0.7em;
    padding: 8px 10px;
    width: 120px;
    margin-left: -18px;
    border-top:none !important ;
  }

.zmt-accordion {
    font-size: 1.2em;
    padding: 8px 10px;
    height: 100%;
    border:solid 2px #ffa500;
   margin-bottom: 50px;
     
     max-height: none;
  }

   
 

  .zmt-model-link {
    font-size: 0.4em;
    font-family: 'Share Tech Mono' ;
    
    
  }

  .order-button-box {
    font-size: 1.2em;
    padding: 10px;
  }

 
.stock-content2,
.stock-content3,
.stock-content4,
.stock-content5,
.stock-content6 {

   display: flex;
    flex-direction: column;
    border:solid 2px #ffa500;
    max-width: 63%;
    margin-left: 5px;

}
.stock-content2 h2,
.stock-content3 h2,
.stock-content4 h2,
.stock-content5 h2,
.stock-content6 h2{
font-size: 0.5em;


}

.stock-content2 img,
.stock-content3 img,
.stock-content4 img,
.stock-content5 img,
.stock-content6 img{
max-width: 90%;
height: auto;


}

.legendridercontent img,
.mystikridercontent img,
.epikridercontent img,
.miniriderxcontent img,
.miniridercontent img{
max-width: fit-content;
height: auto;
display: flex;
flex-direction: column;
width: 70%;

}

.legendridercontent ,
.mystikridercontent ,
.epikridercontent ,
.miniriderxcontent ,
.miniridercontent {
max-width: fit-content;
height: auto;
display: flex;
flex-direction: column;
font-size: 0.4em;
border: solid 2px #ffa500;

flex-wrap: wrap;

}

.legendrider-specs,
.minirider-specs,
.miniriderx-specs,
.epikrider-specs,
.mystikrider-specs {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  table-layout: fixed; /* force le tableau à s'adapter au conteneur */
  border-collapse: collapse;
}

.legendrider-specs th,
.legendrider-specs td,
.minirider-specs th,
.minirider-specs td,
.miniriderx-specs th,
.miniriderx-specs td,
.epikrider-specs th,
.epikrider-specs td,
.mystikrider-specs th,
.mystikrider-specs td {
  font-size: 1.5em !important;
  text-align: center; /* pas justify-content, car ça ne marche pas sur <td> */
  padding: 10px;
  word-break:normal;
  overflow-wrap: normal; /* moderne, gère aussi les longues chaînes */
  white-space: normal; /* important si jamais un white-space: nowrap traîne */
  max-width: 100%; /* empêche le dépassement */
  
}




.miniridercontent .miniridersaletitle{
  font-size: 3em !important;
  }

  .miniriderxcontent .miniriderxsaletitle{
  font-size: 3em !important;
  }

  .epikridercontent .epikridersaletitle{
  font-size: 3em !important;
  }

  .mystikridercontent .mystikridersaletitle{
  font-size: 3em !important;
  }

    .legendridercontent .legendridersaletitle{
  font-size: 3em !important;
  }

#lightbox {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  z-index: -9999 !important;
}

#lightbox2 {
  display: none;
  position: fixed;
  inset: 0; /* top:0;left:0;right:0;bottom:0 */
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.95);
  z-index: 99999;

  justify-content: center;
  align-items: center;
}

#lightbox2.active {
  display: flex;
}

#lightbox2 img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

/* on affiche #lightbox2 seulement en petit écran */
@media (min-width: 801px) {
  #lightbox2 { display: none !important; }
}
 
  
 .order-button-box{
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  z-index: -9999 !important;
}

.order-button{ 
  width: 200px;
  margin-left: 50px;
    text-align: center;  
  display: flex;        
  justify-content: center;
  align-items: center;
  font-size: 1.2em;
}

 .order-button-box2 { 
  position: relative;
  display:flex;
  justify-content: space-between;
 flex-direction: row;
  margin: 20px 0;  
  padding: 12px 28px;
  font-size: 1em;
  font-family: 'Share Tech Mono', monospace;
  text-align: center;
  color: rgba(255, 255, 255, 0.904);
  background-color: #050505e1;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.247), 0 0 16px rgba(255, 255, 255, 0.247);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  height:auto;
  
   border: 2px solid #ffa01cc7;
  border-radius: 8px;
  width: 100%;                /* prend toute la largeur dispo */
  box-sizing: border-box;
  justify-content: center;
  }
.buttonblocktext br {
    display: none;
  }


  .back-button-container {

  position: absolute;
  bottom: -50px;         /* espace avec le bord bas */
  left: 65%;
  transform: translateX(-50%); /* centrer horizontalement */
  width: 110%;
  
}

.back-button {
  
  font-size: 15px;
  color: #fff;
  background-color: #FFA500;
 
}
}
