@import 'css/header.css';
@import 'css/footer.css';

.content {
    text-align: center;
    margin-top: -20px;
}

.infos {
    /* display: flex; */
    align-items: stretch;
}

.header-container {
    margin: 0 auto;
    max-width: 800px;
    padding-top: 20px;
}

.souspdv,
.urlachat {
    margin-top: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    gap: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.urlachat {
    text-decoration: none;
    color: #00829B;
    display: flex;
    flex-direction: row;
    font-weight: bold;
}

ul {
    padding: 0px;
    margin-top: 0px;
    width: 100%;
}

.mag_prods span {
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    background-color: #FFF;
    border: 1px solid #00A2B3;
    color: #004156;
    height: 26px;
    border-radius: 24px;
    padding: 0 10px;
    line-height: 24px;
    margin: 0 4px 5px 0;
}

.pdvtitre {
    color: #00232E;
}

.pdv a,
.mag_prod {
    float: left;
    width: 100%;
    display: flex;
    padding: 5px 0
}

.pdv a div,
.mag_prod div {
    float: left
}

.pdv a .vignette,
.mag_prod .vignette {
    float: left;
    height: 50px;
    width: 50px;
    background-size: cover;
    background-position: center;
    margin-right: 10px;
    border-radius: 25px
}

.pdv a .nom,
.mag_prod .nom {
    float: left;
    width: calc(100% - 80px);
    font-weight: bold;
    font-size: 16px;
    color: #5E7C27;
    line-height: 16px;
    text-align: left;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin-bottom: 10px;
}

.pdv a .nom .type,
.mag_prod .nom .type {
    display: block;
    color: #00232E;
    font-size: 14px;
    font-weight: normal;
    padding: 0;
}

.producteurs-associes {
    max-width: 300px;
    margin-top: 20px;
    overflow: hidden;
    overflow-y: auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    gap: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.producteurs-associes-container {
    max-width: 300px;
    overflow-y: auto;
    margin-top: 10px;
}

.producteurs-associes-list {
    max-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.producteur-associe-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    text-align: center;
    min-height: 50px;
}

.points-de-vente-container {
    max-width: 300px;
    overflow-y: auto;
    margin-top: 10px;
}

.points-de-vente-list {
    max-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.point-de-vente-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    text-align: center;
    min-height: 50px;
}

/* .header-image {
    position: relative;
    text-align: center;
    width: 100%;
    max-width: 100%;
} */

.header-image img {
    width: 100%;
    border-radius: 10px;
}

.title-container {
    /* position: static;
    top: -20px;
    left: 50%; */
    padding: 1px 0px;
    border-radius: 15px;
    /* z-index: 10; */
    width: auto;
    font-size: 1.2rem;
    transform: none;
    /* margin-top: 20px; */
}

.title-container h1 {
    color: #004156;
    background-color: white;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    font-size: 1.17em;
}

.producer-detail {
    text-align: left;
    font-size: 1rem;
}

.producer-detail>h1,
h2 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 5px;
    margin-top: 4px;
}

h2 {
    font-size: 1.17em;
}

h3 {
    font-size: 1.1em;
}

.producer-detail>*:last-child {
    border-bottom: none;
}

.producer-detail span {
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    background-color: #b7c64b;
    color: #00232E;
    height: 24px;
    border-radius: 24px;
    padding: 0 10px;
    line-height: 24px;
    margin: 0 4px 5px 0;
}

.producer-detail a {
    /* text-decoration: underline; */
    color: #00829B;
    /* font-weight: 500;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease; */
}

.producer-detail a:hover,
.producer-detail a:focus {
    text-decoration: none;
}

.producer-detail a:hover::after,
.producer-detail a:focus::after {
    width: 100%;
}

.nosproduits {
    margin-top: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
}

.nosproduits .infos {
    display: block;
    background-color: white;
    color: #00232E;
}

.infoscontact {
    display: flex;
    flex-direction: column;
}

.h3100p {
    width: 100%;
}

.labels {
    position: absolute;
    display: flex;
    align-items: center;
    margin: 10px 0;
    z-index: 20000;
    border-radius: 20px;
}

.labels img {
    height: 60px;
    width: auto;
    border-radius: 20px;
}

.labels span {
    font-size: 16px;
}

.buttons {
    display: flex;
    justify-content: space-around;
    margin: 20px 0px;
    flex-direction: column;
    width: fit-content;
    justify-self: center;
    gap: 10px;
}

.button,
.button2 {
    padding: 10px 20px;
    background-color: #004156;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s;
    font-size: 16px;
}

.button:hover,
.button2 {
    background-color: #CBD8DD;
    color: #00232E;
}

.button2:hover {
    background-color: #004156;
    color: white;
}


li {
    list-style: none;
    padding: 4px 0px;
}

.mag_prods {
    margin-bottom: 16px;
}

.controls a,
.controls2 a {
    display: inline-block;
    padding: 4px 8px;
    border: 1px solid #ddd;
    color: #3D3D3D;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
}

.controls a:hover,
.controls2 a:hover {
    background-color: #f0f0f0;
}

.controls a.active,
.controls2 a.active {
    background-color: #004156;
    color: #fff;
    font-weight: bold;
}

/* .controls a,
.controls2 a {
    padding: 3px;
    border: 1px solid #CBD8DD;
    margin: 2px;
    color: #00232E;
    text-decoration: none;
    cursor: pointer;
}

.active {
    background: #00232E;
    color: white !important;
} */

@media (min-width: 768px) {
    .content {
        /* padding-top: 150px; */
        gap: 20px;
        flex-direction: row;
        justify-content: space-between;
    }

    .colonnedroite {
        max-width: 330px;
        width: 40%;
    }

    .title-wrapper {
        margin-top: 90px;
    }

    /* .title-container {
        transform: translateX(-50%);
        top: 90px;
        position: absolute;
    } */

    .pdv a .nom,
    .mag_prod .nom {
        width: 220px;
    }

    /* .header-image {
        border-radius: 30px;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    } */
}