/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

/* FONTS */

@font-face {
    font-family: 'Le Murmure_Regular';
    src:    url('fonts/Le_Murmure-Regular_web.eot');
    src:    url('fonts/Le_Murmure-Regular_web.eot?#iefix') format('embedded-opentype'),
            url('fonts/Le_Murmure-Regular_web.woff') format('woff'),
            url('fonts/Le_Murmure-Regular_web.woff2') format('woff2'),
            url('fonts/Le_Murmure-Regular_web.ttf') format('truetype'),
            url('fonts/Le_Murmure-Regular_web.svg#svgFontName') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Basteleur';
    src: url('fonts/Basteleur-Bold.woff2') format('woff2'),
        url('fonts/Basteleur-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Basteleur';
    src: url('fonts/Basteleur-Bold.woff2') format('woff2'),
        url('fonts/Basteleur-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Le Murmure';
    src: url('fonts/LeMurmure-Regular.woff2') format('woff2'),
        url('fonts/LeMurmure-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-Regular.woff2') format('woff2'),
        url('fonts/DMSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Turnpike';
    src: url('fonts/Turnpike.woff2') format('woff2'),
        url('fonts/Turnpike.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* GENERALS */

html, body {
    height: 100%;
    overscroll-behavior-y: none;
}
#post-36962 > div > div{
    display: flex;
    align-items: center;
    height: 100%;
}
.box-container{
    margin-left: 0px!important;
}
.tmb > .t-inside{
    z-index: 1;
}
.page-id-36764{
    background: url('/wp-content/uploads/2025/04/Group-26-4.svg');
    background-color: #FFEB8A;
    height: 100;
}
.page-id-36962{
    background: url('/wp-content/uploads/2025/04/Group-27-5.svg');
    background-color: #F7D8D8;
    height: 100%;
}
.container-header-menu-nav {
    position: fixed;
    top: 0;
}
.special-header-menu{
    position: fixed;
    top: 0;
}
.special-header-menu picture img{
    position: static;
}
.post-36805 > div > div > div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90vh;
    overflow: scroll;
}

/* KEYFRAMES */

@keyframes appear-boisson{
    from{
        opacity: 0;
        transform: translateX(-50px);
        transition: all ease 0.2s;
    }to{
        opacity: 1;
        transform: translateX(50px);
        transition: all ease 0.2s;
    }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(20px); }
}

/* MENU PÄGE */

/* header */

.restaurant-header{
    padding: 15px 15px 10px 15px;
}
.header-menu{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 1;
}
.header-menu a{
    background-color: #129144;
    width: 100%;
    height: 30px;
    padding-left: 20px;
}
.header-menu > picture {
    display: contents;
}
.header-menu > picture > img{
    width: 100%;
    max-height: 64px;
    object-fit: cover;
}
.box-container{
    width: 100%!important;
}
.logo-background{
    background-color: white;
}
.container-top-menu{
    background-color: white;
    background: url('/wp-content/uploads/2025/04/Group-27-2.svg');
    background-repeat: repeat;
    object-fit: cover;
    width: 100%;
    height: 50px;
}

/* nav */

.menu-anchor-nav ul{
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 5px 16px 0 16px;
    overflow: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin-top: 0px!important;
}
.menu-anchor-nav ul::-webkit-scrollbar {
    display: none;
}
.menu-anchor-nav ul li{
    padding: 8px 0;
}
.menu-anchor-nav ul li button{
    width: max-content;
    font-weight: 600;
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 0;
    font-family: 'Poppins';
    padding: 0!important;
    background-color: transparent;
}

/* PARTS OF THE MENU */

.menu-restaurant h2, .menu-restaurant h3{
    font-family: 'Poppins';
}


.menu-restaurant > section:nth-child(6n+1),
.menu-restaurant > section:nth-child(6n+7),
.menu-restaurant > section:nth-child(6n+13)
{
    background-color: #f8dcdc;
}
.menu-restaurant > section:nth-child(6n+2),
.menu-restaurant > section:nth-child(6n+8),
.menu-restaurant > section:nth-child(6n+14) {
    background-color: #E4C9DE;
}
.menu-restaurant > section:nth-child(6n+3),
.menu-restaurant > section:nth-child(6n+9),
.menu-restaurant > section:nth-child(6n+15) {
    background-color: #90B698;
}
.menu-restaurant > section:nth-child(6n+4),
.menu-restaurant > section:nth-child(6n+10),
.menu-restaurant > section:nth-child(6n+16) {
    background-color: #AED4DE;
}
.menu-restaurant > section:nth-child(6n+5),
.menu-restaurant > section:nth-child(6n+11),
.menu-restaurant > section:nth-child(6n+17) {
    background-color: #F3723C;
}
.menu-restaurant > section:nth-child(6n),
.menu-restaurant > section:nth-child(6n+6),
.menu-restaurant > section:nth-child(6n+12),
.menu-restaurant > section:nth-child(6n+18) {
    background-color: #f3513c;
}
.menu-section h2 {
    margin-top: 0!important;
    padding: 15px;
    hyphens: auto;
    word-break: normal;
    overflow-wrap: break-word;
}

.category-description p {
    font-size: 10px;
    margin-top: 0!important;
    padding: 0px 15px 15px 15px;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
    font-family: 'Turnpike', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.container_products_category{
    display: flex!important;
    flex-wrap: wrap;
    justify-content: space-around;
    position: relative;
}
.container_products_category::after{
    content: "";
    height: 1px;
    border: 1px solid black;
    background-color: black;
    width: 100%;
    position: absolute;
    top: 0;
}
.container_products_category div{
    position: relative;
}
.row-products .menu-item {
    width: 50%;
    position: relative;
}
.row-products .menu-item:first-child::after {
    content: "";
    width: 1px;
    background-color: black;
    position: absolute;
    top: 0;
    right: -10px;
    height: 100%;
}
.row-products-mixed .menu-item:first-child::after {
    border-right: 1px dashed black;
    background: none;
}
.menu-item{
    padding: 10px;
    position: relative;
    padding: 25px 15px;
}
.menu-item h3{
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0;
    margin-top: 0!important;
    word-break: break-word;
    hyphens: auto;
}
.menu-description p{
    font-size: 12px!important;
    font-weight: 400;
    line-height: 12px!important;
    letter-spacing: 0;
}

/* BOTTOM PART */

.container-bottom-menu{
    background-repeat: repeat;
    object-fit: cover;
    padding: 50px 10px;
    display: flex;
    width: 100%;
    margin-bottom: 75px;
    display: flex;
    justify-content: center;
}
.no-background-menu{
    background-color: transparent!important;
    background: inherit!important;
}
.container-bottom-menu img{
    height: 40px;
}
.container_products_category {
    display: flex;
    flex-direction: column;
}
.row-products {
    display: flex;
    border-bottom: 1px solid #000;
    gap: 20px;
}
.menu-item h3 {
    font-weight: 600;
    margin-bottom: 4px;
}
.menu-description p {
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}
.menu-price .h3{
    margin: 5px 0;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0;
    text-decoration: none!important;
}
.menu-item.full-width {
    width: 100% !important;
}
.row-products .menu-item.full-width:first-child::after{
    content: none;
}
.menu-item-image-only{
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu-small-image{
    position: absolute!important;
    right: 5px;
    bottom: 5px;
}
.menu-small-image img{
    max-width: 55px;
}

/* RESTAURANTS PAGE */

.container-list-restaurants{
    height: 100%;
}
.background-list-restaurants{
    background: url('/wp-content/uploads/2025/04/Group-27-2.svg');
    background-repeat: repeat;
    background-color: white;
}
.restaurant-item{
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}
* {
    -webkit-tap-highlight-color: transparent!important;
}
.restaurant-item a {
    width: 100%;
}
.restaurants-list{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.restaurants-list h1{
    font-size: 64px;
    font-weight: 600;
    line-height: 64px;
    letter-spacing: 0;
    font-family: 'Le Murmure_Regular';
}
.image-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    overflow: hidden;
    border: 1.5px solid #2C60AD;
}
.image-wrapper:hover img{
    transform: scale(1.05);
    transition: all ease-in 0.3s;
}
.image-wrapper img{
    object-fit: cover;
    height: 160px;
    min-width: 363px;
    box-sizing: border-box;
    transition: all ease-in 0.3s;
}
.restaurant-description{
    position: absolute;
    left: 20px;
    bottom: 20px;
    background-color: white;
    border-radius: 5px;
}
.restaurant-description p{
    color: #2C60AD;
    font-weight: 600;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0;
    padding: 10px;
    margin-top: 0!important;
}
.restaurant-title{
    font-weight: 600;
    font-size: 16px!important;
    line-height: 16px;
    letter-spacing: 0px;
    color: #2C60AD;
    margin-top: 10px;
}
.container-all-restaurants{
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
}
.container-btn-all-menus, .container-btn-all-menus a {
    display: flex;
    justify-content: end;
    gap: 5px;
    width: 100%;
}
.container-btn-all-menus a{
    font-weight: 600;
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 0;
    color: #000;
    font-family: 'POPPINS';
    position: relative;
    transition: all ease-in 0.2s;
}
.container-btn-all-menus a:hover{
    transform: scale(1.02);
    transition: all ease-in 0.2s;
}

/* RETURN BUTTON */

.container-return-button{
    position: fixed;
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    left: 0;
    z-index: 1;
}
.container-return-button a{
    transition: all ease-in 0.3s;
}
.container-return-button a:hover{
    transform: scale(1.02);
    transition: all ease-in 0.3s;
}
.no-margin-return{
    margin-bottom: 0px!important;
    background: none!important;
}
.return-btn-page-boissons{
    position: fixed;
    bottom: 30px;
}

/* ALL RESTAURANTS PAGE */

.restaurant-top-header{
    background: url('/wp-content/uploads/2025/04/Group-27-2.svg');
    background-repeat: repeat;
}
.scroll-to-section{
    padding: 0;
}
.menu-anchor-nav ul li.active{
    position: relative;
    display: flex;
    flex-direction: column;
}
.menu-anchor-nav ul li.active::after{
    content: '';
    position: absolute;
    bottom: 0;
    height: 1px;
    border: 1px solid black;
    width: 100%;
}
.menu-anchor-nav ul li:hover, .menu-anchor-nav ul li:focus, .scroll-to-section:hover, .scroll-to-section:focus{
    background-color: transparent!important;
}

/* POPUP BOISSONS */

.appear-boisson{
    animation: appear-boisson 0.2s forwards;
}

/* Optionnel : Ajuster pour les navigateurs qui ne supportent pas env() */
@supports not (bottom: env(safe-area-inset-bottom)) {
    .container-popup-boisson {
        bottom: 0;
    }
}
.container-popup-boisson{
    min-height: 100dvh;
    position: fixed;
}
.subcontainer-popup-boisson{
    position: fixed;
    bottom: 0dvh;
    left: 5%;
}
.subcontainer-popup-boisson{
    visibility: hidden;
    opacity: 0;
}
.subcontainer-popup-boisson.visible {
    opacity: 1;
    visibility: visible;
}
.container-popup-boisson .subcontainer-popup-boisson img{
    position: relative;
}
.container-popup-boisson .subcontainer-popup-boisson p{
    position: absolute;
    font-weight: 600;
    font-size: 10px;
    line-height: 10px;
    letter-spacing: 0px;
    text-align: center;
    width: 75%;
    top: 2px;
    left: 58px;
    padding: 0 25px;
}   
.subcontainer-popup-boisson {
    opacity: 0;
    visibility: hidden;
    transition: visibility 0.3s linear;
}
.subcontainer-popup-boisson.visible {
    visibility: visible;
    animation: fadeIn 0.3s forwards;
}
.subcontainer-popup-boisson.hiding {
    visibility: visible;
    animation: fadeOut 0.3s forwards;
}
.container-entire-page-menu{
    background: url('/wp-content/uploads/2025/04/Group-27-2.svg');
    background-repeat: repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.special-container-entire-page-menu{
    padding-top: 0px!important;
}
.subcontainer-entire-page-menu{
    max-width: 1200px;
    width: 100%;
}

/* MENU NAV */

.page-id-36764 .wpb_row.row-inner{
    display: flex!important ;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 50px!important;
    max-width: 1200px;
}
.image-column img, #row-petite-faim img, #row-grosse-faim img, #sans-alcool img, #alcool img{
    transition: all ease-in 0.3s;
}
.image-column img:hover, #row-petite-faim img:hover, #row-grosse-faim img:hover, #sans-alcool img:hover, #alcool img:hover{
    transform: scale(1.05);
    cursor: pointer;
    transition: all ease-in 0.3s;
}

/* BOISSONS PAGE */

.restaurant-item a:hover .image-wrapper-boissons img{
    transform: scale(1.1);
    transition: all ease-out 0.3s;
}
.restaurant-item a h3{
    transition: all ease-in 0.1s;
}
.restaurant-item a:hover h3{
    color: rgb(31, 50, 133);
    transition: all ease-in 0.1s;
}
.image-wrapper-boissons{
    overflow: hidden;
    border: 1.5px solid #3081C4;
}
.image-wrapper-boissons img{
    width: 100%;
    height: 160px;
    object-fit: cover;
    min-width: 361px;
    object-position: center center;
    box-sizing: border-box;
    object-position: center 80%;
    transition: all ease-in 0.3s;
}
.container-all-boissons{
    max-width: inherit!important;
}
.boissons-thumb{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* NAVIGATION MENU */

    /* EATING AND DRINKING */

    .navigation-menu {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0;
    }
    .header-menu {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .header-logo {
        height: auto;
        display: inline-block;
        position: fixed;
        top: 0;
    }
    .images-container {
        padding: 20px 0;
        margin-top: 50px;
    }
    .image-row {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 20px;
    }
    .image-row.two-columns {
        flex-wrap: wrap;
    }
    .image-row.single-column {
        justify-content: center;
    }
    .image-column {
        flex: 1;
        max-width: 207px;
        cursor: pointer;
    }
    .section-image {
        width: 100%;
        max-width: 325px;
        height: auto;
    }

    /* ALCOOL OR NOT ALCOOL */

    .margin-boissons{
        margin-top: 50px;
    }
    #scroll-top-eye{
        transition: all ease-in 0.1s;
    }
    #scroll-top-eye:hover{
        transform: scale(1.05);
        transition: all ease-in 0.2s;
    }
    .title-resto{
        font-size: 48px!important;
        line-height: 48px;
        font-family: "Le Murmure_Regular";
        font-weight: 600;
        letter-spacing: 0;
    }
    .restaurant-description-menus p{
        font-size: 12px;
        font-weight: 400;
        line-height: 12px;
        letter-spacing: 0;
        font-family: 'Poppins';
    }

/* AXEPTIO */

button#axeptio_main_button.hbteqn {
    left: auto !important;
    right: 20px !important;
    bottom: 10px !important;
    transform: translate(0, 0) !important;
}

/* RESPONSIVE */
@media(max-width: 456px){
    .return-btn-menu{
        justify-content: end!important;
        left: -6%!important;
    }
}

@media(min-width: 483px){
    .header-menu > picture >img{
        max-height: 90px;
    }
    #axeptio_main_button{
        left: 90%!important;
    }
    .menu-anchor-nav ul{
        padding: 25px 16px 0 16px;
    }
    .title-resto{
        font-size: 60px!important;
        line-height: 60px;
    }
    .restaurant-description-menus p{
        font-size: 14px;
        line-height: 14px;
    }
    .menu-item h3{
        font-size: 15px;
    }
}
@media(min-width: 570px){
    .margin-boissons{
        margin-top: 100px;
    }
    .container-top-menu{
        height: 85px;
    }
}
@media(min-width: 600px){
    .menu-anchor-nav ul{
        padding: 50px 16px 0 16px;
    }
}
@media(min-width: 675px){
    .header-menu > picture > img{
        max-height: 125px;
    }
    .container-bottom-menu img{
        height: 45px;
    }
    .title-resto{
        font-size: 72px!important;
        line-height: 72px;
    }
    .restaurant-description-menus p{
        font-size: 17px;
        line-height: 17px;
    }
    .menu-item h3{
        font-size: 18px;
    }
}
@media(min-width: 891px){
    .header-menu > picture >img{
        max-height: 120px;
    }
}
@media(min-width: 901px){
    .container-bottom-menu img{
        height: 55px;
    }
    .title-resto{
        font-size: 90px!important;
        line-height: 90px;
    }
    .restaurant-description-menus p{
        font-size: 17px;
        line-height: 17px;
    }
}
@media(min-width: 1316px){
    .container-popup-boisson {
        left: 150px;
    }
}
@media(min-width: 1516px){
    .container-popup-boisson {
        left: 20%;
    }
}
@media(min-width: 1690px){
    .container-popup-boisson {
        left: 25%;
    }
}
@media(min-width: 2340px){
    .container-popup-boisson {
        left: 30%;
    }
}
@media(min-width: 2900px){
    .header-menu > picture >img{
        max-height: 170px;
    }
    .container-popup-boisson {
        left: 35%;
    }
    .container-entire-page-menu{
        padding-top: 150px;
    }
}


/* HEIGHT RESPONSIVE ONLY */

@media(max-height: 822px){
    .section-image {
        max-width: 255px;
    }
}
@media(max-height: 734px){
    .section-image {
        max-width: 235px;
    }
}
@media(max-height: 598px){
    .section-image {
        max-width: 180px;
    }
}
@media(max-height: 492px){
    .section-image {
        max-width: 130px;
    }
}
@media(max-height: 400px){
    .section-image {
        max-width: 110px;
    }
}