.flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.flex-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flex-column {
    flex: 1;
    flex-direction: column;
    padding: 10px;
}

.catalogue-header {
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 1px;
    margin-bottom: 50px;
    -webkit-box-shadow: 7px 7px 20px 0 rgba(187, 187, 187, 1);
    -moz-box-shadow: 7px 7px 20px 0 rgba(187, 187, 187, 1);
    box-shadow: 7px 7px 20px 0 rgba(187, 187, 187, 1);
}

.catalogue-header > h1 {
    background-color: #0c61b3;
    font-size: 22px;
    margin: 0;
    color: #ffffff !important;
    font-weight: 700;
}

.catalogue-header > h1 > .catalogue-ref {
    float: right;
    color: #ffffff !important;
    padding-right: 1em;
}

.catalogue-header > h2 {
    background-color: #fff;
    color: #0c61b3;
    font-size: 20px !important;
    margin: 0;
    padding: 0.5em 0 0;
    font-weight: 700;
}

.catalogue-paragraphe {
    margin: 0 0 20px 0;
}

.catalogue-paragraphe > h3 {
    font-style: italic;
    font-family: montserrat;
    font-weight: 500;
    font-size: 20px;
    color: #0c61b3;
    margin: 0 0 20px 0;
}

.catalogue-paragraphe > h3 + h3 {
    padding: 0;
}

.catalogue-paragraphe p {
    color: #0c61b3;
    font-family: montserrat;
    margin: 0 0 1.5em 0;
    padding: 0;
    line-height: 1.4;
}

.catalogue-paragraphe p img {
    vertical-align: middle;
    max-width: 100%;
    max-height: 600px;
}

.composant-image {
    text-align: center;
}

.composant-image img {
    max-height: 600px;
}

.catalogue-table {
    margin-bottom: 20px;
}

.catalogue-table > table {
    margin: auto;
    min-width: 25%;
    border-collapse: collapse;
    border: solid 1px #0c61b3;
}

.catalogue-table > table img {
    max-height: 4em;
}

.catalogue-table > table thead > tr {
    border: none;
}

.catalogue-table > table thead > tr:last-child {
    border-bottom: solid 2px #0c61b3;
}

.catalogue-table > table thead > tr > td,
.catalogue-table > table > tbody:first-child > tr:first-child > td,
.catalogue-table > table > caption + tbody > tr:first-child > td {
    border: none;
    background-color: #cbe1f7;
    font-family: montserrat;
    font-weight: 300;
}

.catalogue-table > table tbody > tr {
    border-bottom: solid 1px #0c61b3;
    font-family: montserrat;
}

.catalogue-table > table th,
.catalogue-table > table td {
    text-align: center;
    vertical-align: middle;
    color: #000000;
    padding: 0.5em;
}

.catalogue-table > table > caption {
    caption-side: top;
    font-style: italic;
    text-align: center;
}

.catalogue-table > table > caption:last-child {
    caption-side: bottom;
    text-align: left;
    font-size: 0.8rem;
}

span.CarreOrange {
    color: #ea7d00;
    font-family: "Zapf Dingbats", sans-serif;
    font-size: 9px;
    font-style: normal;
    font-weight: normal;
}

span.CarreVert {
    color: #00872d;
    font-family: "Zapf Dingbats", sans-serif;
    font-size: 9px;
    font-style: normal;
    font-weight: normal;
}

table td.col-prix {
    display: none;
}

.slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slider-main-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    max-width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Empêche les débordements */
}

.slider-main-image img {
    width: 100%;
    height: auto;
    cursor: zoom-in;
    transition: transform 0.3s ease; /* Animation fluide */
}

.slider-main-image img.zoomed {
    transform: scale(1.2); /* Zoom modéré */
    cursor: zoom-out;
    z-index: 10; /* Garde l'image au-dessus des autres éléments */
    background-color: #fff;
}

.slider-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    overflow-x: auto;
}

.thumbnail img {
    width: 100px;
    height: auto;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail img:hover {
    border-color: #007bff;
}
