.align-items-center{
    align-items: center;
}

.justify-content-center{
    justify-content: center;
}

.entete-seo-container {
    display: flex;
    align-items: center;
    background: #f7f7f7;
    border-radius: 20px;
    gap: 20px;
}

.bottom-seo-container {
    margin-top:10px;
    padding: 10px 30px;
    text-align: left;
    background: #f7f7f7;
    margin-bottom: 20px;
}

.text-section {
    font-family: Roboto;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    flex: 1;
    padding: 0px 15px 15px 15px;
    margin-top: 10px;
}

.text-section h1 {
    font-family: Roboto;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    text-align: left !important;
    margin-bottom: 10px;
    font-size: 32px;
    color: #333;
    padding-left: 0 !important;
    margin-top:0px;
}

.text-section p {
    margin-bottom: 12px;
    line-height: 1.5;
    color: #444;
    max-width: 600px;
}

.btn-guide {
    display: inline-block;
    background: #f47f6c;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.2s;
    margin-top: 15px;
}

.btn-guide:hover {
    background: #e26855;
}

.image-section {
    flex: 1;
    display: flex;
    justify-content: right;
}

.image-section img {
    width: 100%;
    max-width: 420px;
    border-radius: 15px;
    object-fit: cover;
}

.filters {
    margin: 15px 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    color: #2b3a3a;
    background-color: #e3f1ec;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.filter:hover {
    background-color: #d3ebe4;
}

.filter.active {
    background-color: #2e7f86;
    color: #ffffff;
}

/* Conteneur scroll horizontal */

.maillage-marque-titre, .maillage-tag-titre {
    text-align: center;
    font-family: Roboto;
    font-weight: 500;
    font-size: 24px;
    line-height: 100%;
    margin-top: 15px;
}

.maillage-marques-container, .maillage-collections-container {
    display: flex;
    gap: 36px;
    overflow-x: auto;
    padding: 22px 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    align-items: flex-start; /* garde tout aligné en haut */
    margin-bottom:10px;
}

/* scrollbar (optionnel) */
.maillage-marques-container::-webkit-scrollbar,  .maillage-collections-container::-webkit-scrollbar{ height: 8px; }
.maillage-marques-container::-webkit-scrollbar-thumb, .maillage-collections-container::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }

/* chaque "colonne" marque : card + texte en dessous (texte hors du cadre) */
.maillage-marque-item, .maillage-collections-item {
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease;
    -webkit-tap-highlight-color: transparent;
    display: block;
    flex: 0 0 160px; /* largeur fixe par item */
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-snap-align: start;
}

/* le bloc cliquable avec background blanc, arrondis et ombre */
.maillage-marque-box, .maillage-collections-box {
    width: 160px;
    height: 120px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 18px; /* espace interne pour l'image */
}

.maillage-collections-box{
    width: 420px;
    height: auto;
}

/* hover / focus accessible */
/*
.maillage-marque-item :hover,
.maillage-marque-item :focus {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    outline: none;
}*/

/* image centrée dans la box */
.maillage-marque-box img, .maillage-collections-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Texte placé **en dehors** du cadre, centré */
.maillage-marque-text, .maillage-collections-text{
    margin-top: 12px; /* espace entre la box et le texte */
    text-align: center;
    width: 100%;
}

/* style catégorie (plus léger) */
.maillage-marque-text .categorie ,maillage-collections-text .categorie{
    display: block;
    font-size: 13px;
    color: #7b7b7b;
    margin-bottom: 4px;
}

/* style du nom (plus visible) */
.maillage-marque-text .nom, .maillage-collections-text .nom {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #111;
    line-height: 1;
}

.maillage-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 22px 14px;
    margin-bottom:10px;
}

.maillage-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: #e3f1ec;
    border-radius: 20px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}

.maillage-tag:hover {
    background-color: #d3ebe4;
}

@media (max-width: 900px) {
    .maillage-collections-box {
        width: 250px;
        height: auto;
    }

    .filters{
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        align-items: flex-start;
        flex-wrap: nowrap;
        padding-bottom: 15px;
    }
    .filter{
        white-space: preserve nowrap;
    }

    .maillage-marques-container {
        gap: 20px;
        margin-left: 10px;
    }

    .maillage-marque-titre, .maillage-tag-titre{
        padding-left:10px;
        padding-right:10px;
    }

    .maillage-tags-container{
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        align-items: flex-start;
        flex-wrap: nowrap;
        padding-bottom: 15px;
    }

    .image-section{
        display:none;
    }

    .text-section{
        margin-left: auto;
        margin-right: auto;
    }
}