
.template-basic-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: #ffffff;
}
.header-pub {
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 1050; /* Juste sous la pub */
}
.header-pub img {
    width: 728px;
    height: 90px;
    object-fit: fill;
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: center;
}
.template-basic-header {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px 0;
    flex-direction: column;
    background-color: var(--dl-color-primary1-blue80);
    min-width: 0;
}
.logo-restaurant {
    max-width: 250px;
    max-height: 250px;
    margin: 0 auto;
    display: block;
}
.template-basic-aller-and-price {
    display: flex; /* Utilise le modèle flexbox */
    justify-content: space-between; /* Espace entre les deux éléments */
    align-items: center; /* Aligne verticalement */
    width: 60vw;
}

.template-basic-allergenes {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow: auto;
    flex-direction: row;
    justify-content: flex-start;
}

.template-basic-allergene-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.template-basic-allergene-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 4px;
}

.template-basic-allergene-name {
    font-size: 12px;
    color: #333;
    text-align: center;
}

.template-basic-price {
    margin-left: auto;
    font-weight: bold;
}
.template-basic-resto-title {
    color: var(--dl-color-gray-white);
    max-width: 800px;
    text-align: center;
    font-family: "Raleway";
    line-height: 1.6;
}
.template-basic-resto-dsc {
    color: var(--dl-color-gray-white);
    font-size: 18px;
    text-align: center;
    line-height: 1.6;
}
.template-basic-menu-tab {
    gap: var(--dl-space-space-twounits);
    flex: 0 0 auto;
    width: 100%;
    height: 100px;
    display: flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    min-width: 0;
}
.template-basic-nav-link {
    color: var(--dl-color-gray-white);
    font-size: 18px;
    transition: 0.3s;
    font-weight: bold;
    padding-top: var(--dl-space-space-unit);
    border-color: var(--dl-color-primary1-blue100);
    border-width: 0px;
    padding-left: var(--dl-space-space-twounits);
    border-radius: 45px;
    padding-right: var(--dl-space-space-twounits);
    padding-bottom: var(--dl-space-space-unit);
    background-color: var(--dl-color-primary1-blue100);
}
.template-basic-hero {
    flex: 1;
    width: 100%;
    display: flex;
    margin-top: 0px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
    min-width: 0;
}
.template-basic-contenu-menu {
    gap: var(--dl-space-space-twounits);
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-bottom: var(--dl-space-space-fourunits);
    justify-content: flex-start;
    background-color: #ffffff;
    min-width: 0;
    margin-left: 15px;
    width: 85vw;
}
.template-basic-categorie-button {
    gap: var(--dl-space-space-twounits);
    width: 85vw;
    height: 100%;
    display: flex;
    align-self: flex-start;
    margin-top: var(--dl-space-space-twounits);
    overflow: auto;
    align-items: center;
    white-space: nowrap;
    margin-bottom: var(--dl-space-space-twounits);
    justify-content: flex-start;
    min-width: 0;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: white;
    padding-left: 15px;
    z-index: 1040;
    position: sticky;
    top: 0 ;
    transition: margin-top 0.3s ease-in-out;
}
.template-basic-link {
    color: var(--dl-color-gray-white);
    font-size: 18px;
    transition: 0.3s;
    font-weight: bold;
    padding-top: var(--dl-space-space-unit);
    border-color: var(--dl-color-primary1-blue100);
    border-width: 0px;
    padding-left: var(--dl-space-space-twounits);
    border-radius: 45px;
    padding-right: var(--dl-space-space-twounits);
    padding-bottom: var(--dl-space-space-unit);
    text-decoration: none;
    background-color: var(--dl-color-primary1-blue100);
}
.template-basic-link:hover {
    color: var(--dl-color-gray-white);
    border-color: rgba(41, 20, 119, 0.9);
    background-color: rgba(41, 20, 119, 0.9);
}
.template-basic-contenue {
    gap: var(--dl-space-space-twounits);
    flex: 1;
    width: 100%;
    height: 100%;
    display: flex;
    /*align-items: center;*/
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
}
.template-basic-categorie-content {
    flex: 0 0 auto;
    width: 65vw;
    display: flex;
    opacity: 1;
    margin-top: 0px;
    align-items: center;
    padding-left: var(--dl-space-space-twounits);
    padding-right: var(--dl-space-space-twounits);
    flex-direction: column;
    background-size: cover;
    background-position: bottom;
    min-width: 0;
    align-self: center;

}
.template-basic-categorie-title {
    color: #ffffff;
    width: 80%;
    text-align: center;
    font-family: "Raleway";
    line-height: 1.6;
}
.template-basic-categorie-dsc {
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    line-height: 1.6;
    margin-bottom: var(--dl-space-space-twounits);
}
#listeproduits{
    display: flex;
    flex-direction: column;
    padding-left: 0;
}
.template-basic-produits-content {
    flex: 1;
    width: 100%;
    display: flex;
    padding: 0px;
    max-width: var(--dl-size-size-maxwidth);
    align-items: center;
    border-color: var(--dl-color-gray-black);
    border-style: groove;
    border-width: 1px;
    justify-content: space-between;
    border-top-width: 0px;
    border-left-width: 0px;
    border-right-width: 0px;
    min-width: 0;
    align-self: center;
}
.template-basic-details-image {
    width: var(--dl-size-size-large);
    height: var(--dl-size-size-large);
    object-fit: cover;
    margin-right: 1%;
    border-radius: 10% ;
    margin-left: 20px;
}
.template-basic-text-content {
    flex: 1;
    display: flex;
    padding: var(--dl-space-space-unit);
    flex-wrap: wrap;
    align-items: flex-start;
    flex-direction: column;
    min-width: 0;
}
.template-basic-produit-title {
    width: 100%;
    font-size: 1.2rem;
    text-align: left;
    font-family: "Raleway";
    line-height: 1.6;
    border-color: #b9b9b9;
    border-width: 1px;
    border-top-width: 0px;
    border-left-width: 0px;
    border-right-width: 0px;
}
.template-basic-produit-dsc {
    color: var(--dl-color-gray-800);
    font-size: 1.1rem;
    margin-top: 0px;
    text-align: left;
    line-height: 1.6;
    margin-bottom: var(--dl-space-space-twounits);
}
.template-basic-aller-and-price {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    padding-right: var(--dl-space-space-fourunits);
    justify-content: space-between;
    min-width: 0;
}
.template-basic-allergene-icon {
    width: 24px;
    height: 24px;
}
.template-basic-price {
    font-size: 1.5rem;
    align-self: center;
    font-style: normal;
    font-weight: 700;
}
.template-basic-footer {
    flex: 1;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dl-color-gray-black);
    min-width: 0;
}


.template-basic-logo {
    color: var(--dl-color-gray-white);
    font-size: 2em;
    font-weight: bold;
}
.template-basic-separator {
    flex: 0 0 auto;
    width: 100%;
    height: 0px;
    display: flex;
    margin-top: var(--dl-space-space-twounits);
    align-items: flex-start;
    margin-left: 0px;
    border-color: var(--dl-color-gray-800);
    border-style: solid;
    border-width: 1px;
    margin-right: 0px;
    margin-bottom: var(--dl-space-space-twounits);
    flex-direction: row;
    border-top-width: 0px;
    border-left-width: 0px;
    border-right-width: 0px;
    min-width: 0;
}
.template-basic-pdp {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    min-width: 0;
}
.template-basic-resto-zencopy {
    color: var(--dl-color-secondary-gray500);
}

@media(max-width: 767px) {
    .template-basic-resto-dsc {
        padding-left: var(--dl-space-space-unit);
        padding-right: var(--dl-space-space-unit);
    }
    .template-basic-contenu-menu {
        flex: 1;
        height: auto;
        min-width: 0;
    }
    .template-basic-categorie-button {
        flex: 1;
        justify-content: flex-start;
        min-width: 0;
    }
    .template-basic-contenue {
        padding: 0px;
        margin-left: 0px;
        padding-top: 0px;
        padding-left: 0px;
        padding-right: 0px;
        padding-bottom: 0px;
        overflow: hidden;
    }
    .template-basic-categorie-title {
        text-align: center;
    }
    .template-basic-categorie-dsc {
        font-size: 1.2rem;
        text-align: justify;
        padding-left: 0px;
        padding-right: 0px;
    }
    .template-basic-produits-content {
        align-items: center;
        padding-left: 0px;
        padding-right: 0px;
        flex-direction: row;
        justify-content: center;
        min-width: 0;
    }
    .template-basic-details-image {
        margin-left: 0px;
        margin-right: 0px;
    }
    .template-basic-text-content {
        align-items: flex-start;
        padding-right: 0px;
        justify-content: flex-start;
        min-width: 0;
    }
    .template-basic-produit-title {
        align-self: flex-start;
        text-align: left;
        min-width: 0;
    }
    .template-basic-produit-dsc {
        align-self: flex-start;
        text-align: left;
        padding-top: 0px;
        padding-left: 0px;
        padding-right: 0px;
        padding-bottom: 0px;
        min-width: 0;
    }
    .template-basic-aller-and-price {
        width: 100%;
        align-items: center;
        padding-right: 0px;
        justify-content: space-between;
    }
    .template-basic-price {
        align-self: center;
        margin-left: 15px;
        margin-right: 15px;
    }
    .template-basic-footer1 {
        padding-left: var(--dl-space-space-twounits);
        padding-right: var(--dl-space-space-twounits);
    }
    .template-basic-separator {
        margin-top: var(--dl-space-space-oneandhalfunits);
        margin-left: 0px;
        margin-right: 0px;
        margin-bottom: var(--dl-space-space-oneandhalfunits);
    }
    .template-basic-pdp {
        align-items: center;
        flex-direction: column;
        justify-content: space-between;
        min-width: 0;
    }
    .template-basic-resto-zencopy {
        margin-bottom: var(--dl-space-space-oneandhalfunits);
    }
}
@media(max-width: 479px) {
    .template-basic-menu-tab {
        flex: 1;
        flex-wrap: wrap;
        margin-top: var(--dl-space-space-unit);
        margin-bottom: var(--dl-space-space-unit);
        min-width: 0;
    }
    .template-basic-contenu-menu {
        margin-bottom: var(--dl-space-space-unit);
    }
    .header-pub {
        display: block;
        width: 100%;
        z-index: 1050; /* Juste sous la pub */
    }
    .header-pub img {
        width: 100%;
        height: 25%;
        object-fit: fill;
    }
    .template-basic-categorie-button {
        flex: 1 1 auto; /* grow | shrink | basis */
        width: 85vw;
        height: auto;
        align-self: stretch;
        overflow-x: auto;
        white-space: nowrap;
        margin-bottom: var(--dl-space-space-threeunits);
        flex-direction: row;
        justify-content: flex-start;
        min-width: 0;
    }
    .template-basic-contenue {
        width: 100%;
        padding-left: 0px;
        margin-bottom: 0px;
        align-self: stretch;
        overflow: hidden;
    }
    .template-basic-categorie-content {
        width: 95vw;
        background-repeat: repeat,no-repeat;
        background-position: bottom,center;
    }
    .template-basic-categorie-title {
        font-size: 1.3rem;
        margin-top: var(--dl-space-space-unit);
        margin-bottom: var(--dl-space-space-unit);
    }
    .template-basic-categorie-dsc {
        padding: 0px;
        font-size: 0.7rem;
    }
    .template-basic-produits-content {
        width: 90%;
        align-self: center;
        align-items: flex-start;
        padding-top: var(--dl-space-space-halfunit);
        padding-left: var(--dl-space-space-halfunit);
        padding-right: var(--dl-space-space-halfunit);
        flex-direction: row;
        padding-bottom: var(--dl-space-space-halfunit);
        min-width: 0;
    }
    .template-basic-details-image {
        width: var(--dl-size-size-medium);
        height: var(--dl-size-size-medium);
        margin-top: 0px;
        margin-right: 0px;
    }
    .template-basic-text-content {
        padding-top: var(--dl-space-space-halfunit);
        padding-left: var(--dl-space-space-unit);
        padding-right: 0px;
        padding-bottom: var(--dl-space-space-halfunit);
    }
    .template-basic-produit-title {
        font-size: 1.2rem;
        align-self: flex-start;
        text-align: left;
        font-family: Raleway;
        line-height: 1.6;
        min-width: 0;
    }
    .template-basic-produit-dsc {
        color: var(--dl-color-gray-800);
        font-size: 0.7rem;
        align-self: flex-start;
        text-align: justify;
        line-height: 1.6;
        padding-left: 0px;
        margin-bottom: var(--dl-space-space-halfunit);
        padding-right: 0px;
        min-width: 0;
    }
    .template-basic-aller-and-price {
        width: 100%;
        align-items: center;
        padding-right: 0px;
        justify-content: space-between;
    }
    .template-basic-price {
        font-size: 1.1rem;
        align-self: center;
    }
    .template-basic-footer1 {
        padding: var(--dl-space-space-unit);
    }
    .template-basic-separator {
        margin-top: var(--dl-space-space-oneandhalfunits);
        margin-bottom: var(--dl-space-space-oneandhalfunits);
    }
    .template-basic-pdp {
        align-items: center;
        flex-direction: column;
        justify-content: space-between;
        min-width: 0;
    }
    .template-basic-resto-zencopy {
        text-align: center;
        margin-bottom: var(--dl-space-space-oneandhalfunits);
    }
}

/* Bannière publicitaire sticky */
#ad-banner {
    position: sticky;
    top: 0;
    z-index: 1050;
}

/* Menu principal sticky (sous la pub) */
#menu-container {
    top: 0; /* Il sera ajusté dynamiquement par le JS */
    z-index: 1045;
}

/* Barre des catégories sticky sous le menu */
#category-bar {
    position: sticky;
    top: 0; /* Il sera aussi ajusté dynamiquement */
    z-index: 1040;
    transition: margin-top 0.3s ease-in-out;
}


