/* ==================================================
   CATALOGUE DES BILLETS FAUTÉS
   STYLE IDENTIQUE AU CATALOGUE PRINCIPAL
================================================== */


/* ==================================================
   CONFIGURATION GÉNÉRALE
================================================== */

* {
    box-sizing: border-box;
}

html {
    font-family: Arial, Helvetica, sans-serif;
    background: #f1f3f5;
    color: #20252b;
}

body {
    margin: 0;
    min-height: 100vh;
}


/* ==================================================
   HEADER
================================================== */
.site-header {
    position: fixed;

    top: 50px;
    left: 0;
    right: 0;

    height: 125px;

    z-index: 1000;

    background: #213865;
    color: white;

    padding: 20px 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.25);
}


/* ==================================================
   TITRE
================================================== */

.header-title {
    display: flex;
    align-items: flex-start;

    gap: 20px;
}

.header-main {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.site-header h1 {
    margin: 0;

    font-size: 28px;
    line-height: 1.2;
}


/* ==================================================
   SOUS-TITRE / NOUVEAUTÉ
================================================== */

.latest-novelty {
    background: #eef3fa;
    color: #213865;

    border: 1px solid #c9d6e8;
    border-left: 4px solid #d89b18;

    border-radius: 6px;

    padding: 8px 15px;

    font-size: 14px;
    font-weight: 600;

    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.08);
}

.latest-novelty:hover {
    background: #e5edf8;
}


/* ==================================================
   BOUTON CONTACT
================================================== */

.contact-button {
    display: inline-block;

    padding: 8px 14px;

    background: white;
    color: #213865;

    border: 1px solid white;
    border-radius: 6px;

    text-decoration: none;

    font-size: 14px;
    font-weight: bold;

    white-space: nowrap;

    transition:
        background 0.15s ease,
        color 0.15s ease;
}

.contact-button:hover {
    background: #dce3eb;
    color: #162846;
}


/* ==================================================
   COMPTEURS
================================================== */

.stats {
    display: flex;

    gap: 8px;

    flex-wrap: nowrap;
}

.stat {
    min-width: 100px;

    padding: 9px 12px;

    text-align: center;

    background: #2F75B5;

    border: 1px solid #454c54;

    border-radius: 6px;
}

.stat span {
    display: block;

    font-size: 24px;
    font-weight: bold;
}

.stat small {
    color: #d7dce1;

    font-size: 11px;
}


/* ==================================================
   FILTRES
================================================== */
.filters {
    position: fixed;

    top: 175px;
    left: 0;
    right: 0;

    z-index: 900;

    display: flex;

    flex-wrap: nowrap;

    align-items: flex-end;

    gap: 7px;

    padding: 15px 30px 15px 200px;

    background: white;

    border-bottom: 1px solid #d9dde1;

    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.10);

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
}


/* ==================================================
   LARGEURS FILTRES
================================================== */

.filter:nth-child(1) {
    flex: 0 0 120px;
}

.filter:nth-child(2) {
    flex: 0 0 100px;
}

.filter:nth-child(3) {
    flex: 0 0 160px;
}

.filter:nth-child(4) {
    flex: 0 0 300px;
}

.filter:nth-child(5) {
    flex: 0 0 420px;
}

.filter:nth-child(6) {
    flex: 0 0 170px;
}

.filters button {
    flex: 0 0 130px;
}


/* ==================================================
   ÉLÉMENTS FILTRES
================================================== */

.filter {
    display: flex;

    flex-direction: column;

    gap: 5px;

    min-width: 0;
}

.filter label {
    font-size: 12px;

    font-weight: bold;

    text-align: center;

    color: #626a72;
}

select,
button {
    width: 100%;

    height: 38px;

    padding: 0 10px;

    font-family: inherit;

    font-size: 14px;

    border: 1px solid #cbd0d5;

    border-radius: 5px;

    background: white;

    color: #20252b;
}

select:focus {
    outline: 2px solid #8db7e5;

    border-color: #6b9ed0;
}

.filters button {
    background: #30363d;

    color: white;

    border-color: #30363d;

    cursor: pointer;

    white-space: nowrap;
}

.filters button:hover {
    background: #1f2429;
}


/* ==================================================
   CONTENU
================================================== */

main {
    width: calc(100% - 40px);

    max-width: 1700px;

    margin: 0 auto;

    padding-top: 260px;
}


/* ==================================================
   TABLEAU
================================================== */

.table-container {
    width: 100%;

    overflow-x: auto;

    background: white;

    border: 1px solid #d9dde1;

    border-radius: 7px;

    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.04);

    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;

    min-width: 1250px;

    border-collapse: separate;

    border-spacing: 0;

    table-layout: fixed;

    white-space: nowrap;
}


/* ==================================================
   EN-TÊTE TABLEAU
================================================== */

thead {
    background: #e9ecef;
}

th {
    padding: 12px 15px;

    text-align: center;

    font-size: 14px;

    font-weight: bold;

    color: #213865;

    background: #e9ecef;

    border-bottom: 2px solid #ccd1d6;

    cursor: pointer;

    user-select: none;

    white-space: nowrap;

    transition:
        background 0.15s ease,
        color 0.15s ease;
}

th:hover {
    background: #dce3eb;

    color: #162846;
}

th::after {
    content: "↕";

    display: inline-block;

    margin-left: 7px;

    color: #8b949e;

    font-size: 12px;

    font-weight: normal;
}

th.sort-asc::after {
    content: "↑";

    color: #213865;

    font-weight: bold;
}

th.sort-desc::after {
    content: "↓";

    color: #213865;

    font-weight: bold;
}


/* ==================================================
   CELLULES
================================================== */

td {
    height: 42px;

    padding: 8px 12px;

    border-bottom: 1px solid #e4e7e9;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;

    font-weight: normal;

    color: #20252b;

    vertical-align: middle;

    text-align: center;
}

tbody tr {
    height: 42px;

    cursor: pointer;

    background: #CBCBCB;

    transition:
        filter 0.15s ease,
        box-shadow 0.15s ease;
}


/* ==================================================
   UNE LIGNE SUR DEUX PLUS CLAIRE
================================================== */

tbody tr:nth-child(even) {
    background: #E0E0E0;
}


/* ==================================================
   SURVOL
================================================== */

tbody tr:hover {
    filter: brightness(0.96);

    box-shadow:
        inset 0 0 0 2px #213865;
}

tbody tr:hover td {
    font-weight: bold;
}

tbody tr:last-child td {
    border-bottom: 0;
}


/* ==================================================
   LARGEURS DES COLONNES
================================================== */


/* # */

#catalogue th:nth-child(1),
#catalogue td:nth-child(1) {
    width: 60px;

    min-width: 60px;
}


/* Faciale */

#catalogue th:nth-child(3),
#catalogue td:nth-child(3) {
    width: 120px;

    min-width: 120px;
}


/* Année */

#catalogue th:nth-child(4),
#catalogue td:nth-child(4) {
    width: 100px;

    min-width: 100px;
}


/* Pays */

#catalogue th:nth-child(5),
#catalogue td:nth-child(5) {
    width: 160px;

    min-width: 160px;
}


/* Type */

#catalogue th:nth-child(6),
#catalogue td:nth-child(6) {
    width: 300px;

    min-width: 300px;
    
    text-align: left;
}


/* Description */

#catalogue th:nth-child(7),
#catalogue td:nth-child(7) {
    width: 420px;

    min-width: 420px;

    text-align: left;
}


/* Rareté */

#catalogue th:nth-child(8),
#catalogue td:nth-child(8) {
    width: 170px;

    min-width: 170px;
}


/* Estimation */

#catalogue th:nth-child(9),
#catalogue td:nth-child(9) {
    width: 160px;

    min-width: 160px;
}


/* ==================================================
   FACIALE + IMAGE
================================================== */

.faciale-cell {
    padding: 5px 10px !important;

    font-size: 14px;

    font-weight: bold;
}

.faciale-content {
    display: flex;

    align-items: center;

    justify-content: flex-start;

    gap: 10px;

    min-height: 40px;
}


/* ==================================================
   IMAGE DU BILLET DANS LE TABLEAU
================================================== */

.billet-image {
    display: block;

    width: 90px;
    height: 55px;

    object-fit: contain;

    margin: 0 auto;

    padding: 2px;

    background: #fffff2;

    border: 1px solid #222;

    border-radius: 3px;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.25);

    cursor: pointer;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.billet-image:hover {
    transform: scale(1.08);

    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.30);
}


/* ==================================================
   CELLULE IMAGE
================================================== */

.image-cell {
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;

    padding: 5px 10px !important;

    text-align: center !important;

    vertical-align: middle !important;
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 600px) {

    .billet-image {
        width: 75px;
        height: 46px;
    }

    .image-cell {
        width: 100px !important;
        min-width: 100px !important;
        max-width: 100px !important;

        padding: 5px !important;
    }
}


/* ==================================================
   TEXTE FACIALE
================================================== */

.faciale-text {
    display: inline-block;

    white-space: nowrap;
}


/* ==================================================
   TYPE DE FAUTE
================================================== */

.fault-type {
    font-size: 14px;

    font-weight: normal;

    text-align: center;
}


/* ==================================================
   DESCRIPTION
================================================== */

.description-cell {
    font-size: 14px;

    font-weight: normal;

    text-align: left;

    white-space: normal;

    line-height: 1.35;
}


/* ==================================================
   PAYS
================================================== */

.country-cell {
    font-size: 14px;

    text-align: center;
}


/* ==================================================
   RARETÉ
================================================== */

.rarete-cell {
    font-weight: bold;
}

.rarete-display {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;
}

.rarete-value {
    display: inline-block;

    min-width: 30px;

    padding: 4px 8px;

    background: #fff3cd;

    color: #7a5700;

    border: 1px solid #e5c76b;

    border-radius: 5px;

    font-weight: bold;
}


/* ==================================================
   ESTIMATION
================================================== */

.estimation-cell {
    font-size: 14px;

    font-weight: bold;

    color: #213865;
}


/* ==================================================
   MESSAGES
================================================== */

.loading,
.error {
    padding: 30px;

    text-align: center;

    color: #6d747b;
}

.error {
    color: #a83232;
}

.no-results {
    margin-top: 15px;

    padding: 20px;

    text-align: center;

    background: white;

    border: 1px solid #d9dde1;

    border-radius: 7px;

    color: #6d747b;
}


/* ==================================================
   MODAL
================================================== */

.modal {
    position: fixed;

    inset: 0;

    z-index: 2000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.55);
}

.modal[hidden] {
    display: none;
}


/* ==================================================
   CONTENU MODAL
================================================== */

.modal-content {
    position: relative;

    width: 100%;

    max-width: 700px;

    max-height: 95vh;

    overflow-y: auto;

    padding: 30px;

    background: white;

    border-radius: 10px;

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.30);
}

.modal-content h2 {
    margin: 0 0 25px;

    padding-right: 40px;

    color: #213865;

    font-size: 24px;
}


/* ==================================================
   FERMETURE MODAL
================================================== */

.modal-close {
    position: absolute;

    top: 15px;

    right: 15px;

    width: 38px;

    height: 38px;

    padding: 0;

    font-size: 25px;

    line-height: 38px;

    border: 0;

    border-radius: 50%;

    background: #30363d;

    color: white;

    cursor: pointer;
}

.modal-close:hover {
    background: #1f2429;
}


/* ==================================================
   IMAGE DANS LA FICHE
================================================== */

.detail-image-container {
    width: 100%;

    margin-bottom: 25px;

    padding: 10px;

    text-align: center;

    background: #f1f3f5;

    border-radius: 7px;
}

.billet-detail-image {
    display: block;

    width: auto;

    max-width: 100%;

    max-height: 350px;

    height: auto;

    margin: 0 auto;

    object-fit: contain;

    border: 1px solid #222;

    border-radius: 4px;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.20);

    cursor: zoom-in;
}


/* ==================================================
   DÉTAILS MODAL
================================================== */

.modal-details {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;
}

.detail {
    padding: 12px 15px;

    background: #f1f3f5;

    border-radius: 6px;
}

.detail span {
    display: block;

    margin-bottom: 5px;

    font-size: 11px;

    font-weight: bold;

    color: #6d747b;

    text-transform: uppercase;
}

.detail strong {
    display: block;

    font-size: 15px;

    color: #20252b;
}


/* ==================================================
   DESCRIPTION MODAL
================================================== */

.detail-description {
    grid-column: 1 / -1;
}

.detail-description strong {
    line-height: 1.5;

    white-space: normal;
}


/* ==================================================
   RARETÉ MODAL
================================================== */

.rarity-detail {
    background: #fff3cd;
}

.rarity-detail strong {
    color: #7a5700;

    font-size: 18px;
}


/* ==================================================
   ESTIMATION MODAL
================================================== */

.detail:last-child {
    background: #e9f1fa;
}

.detail:last-child strong {
    color: #213865;

    font-size: 18px;
}


/* ==================================================
   AGRANDISSEMENT IMAGE
================================================== */

.image-overlay {
    position: fixed;

    inset: 0;

    z-index: 5000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    background: rgba(0, 0, 0, 0.85);

    cursor: zoom-out;
}

.image-overlay-img {
    max-width: 95vw;

    max-height: 95vh;

    width: auto;

    height: auto;

    object-fit: contain;

    border: 2px solid black;

    border-radius: 4px;

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5);
}


/* ==================================================
   BOUTON FERMER IMAGE
================================================== */

.image-overlay-close {
    position: absolute;

    top: 20px;

    right: 25px;

    width: 45px;

    height: 45px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: #30363d;

    color: white;

    font-size: 30px;

    line-height: 45px;

    cursor: pointer;

    z-index: 5001;
}

.image-overlay-close:hover {
    background: #1f2429;
}


/* ==================================================
   PIED DE PAGE
================================================== */

footer {
    padding: 25px;

    text-align: center;

    color: #858c93;

    font-size: 13px;
}


/* ==================================================
   TABLETTES
================================================== */

@media (max-width: 1000px) {

    .site-header {
        padding: 15px 20px;
    }

    .site-header h1 {
        font-size: 23px;
    }

    .stats {
        gap: 5px;
    }

    .stat {
        min-width: 75px;

        padding: 8px 6px;
    }

    .stat span {
        font-size: 20px;
    }

    .stat small {
        font-size: 10px;
    }

    .filters {
        padding-left: 20px;
    }

    main {
        width: calc(100% - 30px);
    }
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 600px) {

    /* HEADER */

    .site-header {
        height: 190px;

        padding: 12px 15px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        justify-content: flex-start;

        gap: 8px;
    }


    .header-title {
        width: 100%;

        display: flex;

        align-items: flex-start;

        justify-content: space-between;

        gap: 8px;
    }

    .header-main {
        min-width: 0;

        gap: 8px;
    }

    .site-header h1 {
        font-size: 19px;

        line-height: 1.2;
    }


    /* NOUVEAUTÉ */

    .latest-novelty {
        padding: 6px 9px;

        font-size: 11px;

        line-height: 1.3;

        max-width: 240px;
    }


    /* CONTACT */

    .contact-button {
        padding: 7px 9px;

        font-size: 11px;

        flex-shrink: 0;
    }


    /* COMPTEURS */

    .stats {
        width: 100%;

        display: grid;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 5px;
    }

    .stat {
        min-width: 0;

        padding: 5px 3px;

        border-radius: 5px;
    }

    .stat span {
        font-size: 16px;
    }

    .stat small {
        display: block;

        font-size: 8px;

        line-height: 1.15;
    }


    /* INTRO */

    .catalogue-intro {
        top: 190px;

        min-height: 64px;

        padding: 8px 12px;

        font-size: 11px;

        line-height: 1.35;
    }


    /* FILTRES */

    .filters {
        top: 254px;

        height: 78px;

        padding: 10px 15px;

        gap: 7px;

        align-items: flex-end;

        overflow-x: auto;
    }

    .filter:nth-child(1) {
        flex: 0 0 125px;
    }

    .filter:nth-child(2) {
        flex: 0 0 90px;
    }

    .filter:nth-child(3) {
        flex: 0 0 135px;
    }

    .filter:nth-child(4) {
        flex: 0 0 175px;
    }

    .filter:nth-child(5) {
        flex: 0 0 125px;
    }

    .filter:nth-child(6) {
        flex: 0 0 135px;
    }

    .filters button {
        flex: 0 0 125px;
    }

    .filter label {
        font-size: 10px;
    }

    select,
    button {
        height: 36px;

        font-size: 13px;

        padding: 0 8px;
    }


    /* CONTENU */

    main {
        width: calc(100% - 20px);

        padding-top: 350px;

        margin: 0 auto;
    }


    /* TABLEAU */

    .table-container {
        width: 100%;

        overflow-x: auto;

        border-radius: 6px;
    }

    table {
        min-width: 1250px;
    }

    th {
        padding: 10px 12px;

        font-size: 12px;
    }

    td {
        padding: 8px 10px;

        font-size: 12px;

        height: 52px;
    }


    /* IMAGE */

    .billet-image {
        width: 65px;

        height: 41px;

        flex-basis: 65px;
    }

    .faciale-content {
        gap: 7px;
    }

    .faciale-cell {
        font-size: 13px;
    }


    /* MODAL */

    .modal {
        padding: 8px;
    }

    .modal-content {
        width: 100%;

        max-height: 95vh;

        padding: 20px 15px;

        border-radius: 8px;
    }

    .modal-content h2 {
        font-size: 20px;

        margin-bottom: 18px;
    }

    .modal-details {
        grid-template-columns: 1fr;

        gap: 8px;
    }

    .detail {
        padding: 10px 12px;
    }

    .detail span {
        font-size: 10px;
    }

    .detail strong {
        font-size: 14px;
    }

    .billet-detail-image {
        max-height: 280px;
    }


    /* FOOTER */

    footer {
        padding: 20px 10px;

        font-size: 11px;
    }
}


/* ==================================================
   TRÈS PETITS TÉLÉPHONES
================================================== */

@media (max-width: 400px) {

    .site-header {
        height: 200px;
    }

    .site-header h1 {
        font-size: 18px;
    }

    .latest-novelty {
        max-width: 210px;

        font-size: 10px;
    }

    .catalogue-intro {
        top: 200px;

        min-height: 70px;

        font-size: 10px;
    }

    .filters {
        top: 270px;

        height: 78px;
    }

    main {
        padding-top: 365px;
    }

    .stat span {
        font-size: 15px;
    }

    .stat small {
        font-size: 7px;
    }
}

/* ==================================================
   CORRECTION FORCÉE — IMAGES DANS LE TABLEAU
================================================== */

/* La cellule contenant l'image */
#catalogue tbody td.image-cell {
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;

    height: 42px !important;

    padding: 2px !important;

    text-align: center !important;
    vertical-align: middle !important;

    overflow: hidden !important;
}


/* L'image du billet dans le tableau */
#catalogue tbody td.image-cell img {
    display: block !important;

    width: 55px !important;
    min-width: 55px !important;
    max-width: 55px !important;

    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;

    object-fit: contain !important;

    margin: 0 auto !important;
    padding: 2px !important;

    background: #fffff2;

    border: 1px solid #222;
    border-radius: 3px;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.25);

    cursor: pointer;
}


/* ==================================================
   IMPORTANT :
   ON EMPÊCHE LES AUTRES RÈGLES D'AGRANDIR L'IMAGE
================================================== */

#catalogue tbody td.image-cell img.billet-image,
#catalogue tbody td.image-cell img.billet-detail-image,
#catalogue tbody td.image-cell img.image-overlay-img {
    width: 55px !important;
    min-width: 55px !important;
    max-width: 55px !important;

    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 600px) {

    #catalogue tbody td.image-cell {
        width: 100px !important;
        min-width: 100px !important;
        max-width: 100px !important;

        height: 56px !important;
    }

    #catalogue tbody td.image-cell img,
    #catalogue tbody td.image-cell img.billet-image {
        width: 75px !important;
        min-width: 75px !important;
        max-width: 75px !important;

        height: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;
    }
}


/* ==================================================
   COPYRIGHT IMAGE AGRANDIE
================================================== */

.protected-image-container {
    position: relative;
    display: inline-block;
    max-width: 95vw;
    max-height: 90vh;
}


.image-overlay-img {
    display: block;
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;

    user-select: none;
    -webkit-user-select: none;

    -webkit-user-drag: none;

    pointer-events: auto;
}


/* Copyright directement sur l'image */

.image-overlay-copyright {
        position: absolute;

    bottom: 80px;
    left: 50%;

    transform: translateX(-50%);

    padding: 6px 12px;

    font-family: Arial, sans-serif;

    font-size: 13px;
    font-weight: bold;

    line-height: 1.35;

    text-align: center;

    color: rgba(255, 255, 255, 0.75);

    background: rgba(0, 0, 0, 0.35);

    border-radius: 4px;

    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.8);

    pointer-events: none;

    user-select: none;

    z-index: 10;
}


/* ==================================================
   CONTENEUR IMAGE AGRANDIE
================================================== */

.protected-image-container {
    position: relative;
    display: inline-block;
}


/* ==================================================
   FILIGRANE COPYRIGHT
================================================== */

.image-watermark {
    position: absolute;

    bottom: 80px;
    left: 50%;

    transform: translateX(-50%);

    padding: 6px 12px;

    font-family: Arial, sans-serif;

    font-size: 13px;
    font-weight: bold;

    line-height: 1.35;

    text-align: center;

    color: rgba(255, 255, 255, 0.75);

    background: rgba(0, 0, 0, 0.35);

    border-radius: 4px;

    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.8);

    pointer-events: none;

    user-select: none;

    z-index: 9999;
}


/* ==================================================
   NAVIGATION CATALOGUES
================================================== */

.navigation-catalogues {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 15px auto 20px;
    width: 100%;
}

.navigation-catalogues .nav-button {
    display: inline-block;
    padding: 10px 22px;

    text-decoration: none;

    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;

    color: #333;
    background: #f1f1f1;

    border: 1px solid #ccc;
    border-radius: 6px;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.navigation-catalogues .nav-button:hover {
    background: #ddd;
    transform: translateY(-1px);
}

.navigation-catalogues .nav-button.nav-active {
    color: white;
    background: #333;
    border-color: #333;
}


/* ==================================================
   NAVIGATION CATALOGUE / BILLETS FAUTÉS
================================================== */

.navigation-catalogues {
    position: fixed !important;

    top: 0px !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;

    height: 52px;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 12px;

    margin: 0 !important;
    padding: 7px 15px !important;

    background: #ffffff;

    border-bottom: 1px solid #d9dde1;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);

    z-index: 950 !important;
}


/* BOUTONS */

.navigation-catalogues a {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    min-width: 150px;

    height: 36px;

    padding: 0 20px;

    background: #f1f1f1;
    color: #213865;

    border: 1px solid #bfc5ca;
    border-radius: 6px;

    text-decoration: none !important;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;

    line-height: 36px;

    cursor: pointer;

    visibility: visible !important;
    opacity: 1 !important;

    position: relative !important;
    z-index: 951 !important;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* SURVOL */

.navigation-catalogues a:hover {
    background: #dce3eb;

    color: #162846;

    transform: translateY(-1px);

    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.15);
}


/* PAGE ACTIVE */

.navigation-catalogues a.nav-active {
    background: #213865;

    color: white;

    border-color: #213865;
}





/* ==================================================
   CONTENU : DESCENDRE SOUS LA NAVIGATION
================================================== */

main {
    padding-top: 280px !important;
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 600px) {

    .navigation-catalogues {
        top: 254px !important;

        height: 48px;

        gap: 7px;

        padding: 6px 10px !important;
    }

    .navigation-catalogues a {
        min-width: 0;

        flex: 1 1 0;

        height: 34px;

        padding: 0 8px;

        font-size: 12px;

        line-height: 34px;
    }

    .filters {
        top: 302px !important;
    }

    main {
        padding-top: 398px !important;
    }
}


/* ==================================================
   TRÈS PETITS TÉLÉPHONES
================================================== */

@media (max-width: 400px) {

    .navigation-catalogues {
        top: 270px !important;
    }

    .filters {
        top: 318px !important;
    }

    main {
        padding-top: 414px !important;
    }

    .navigation-catalogues a {
        font-size: 11px;
        padding: 0 5px;
    }
}











