.restaurant-page {
    max-width: 1470px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;

    &-banner {
        height: 70px;
        display: flex;
        margin: 40px 0;
        

        position: relative;
        &-logo {
            height: 50px;
            width: 150px;
            // position: absolute;
            // left: 20px;
            // bottom: 20px;
            background-color: #F5F5F5;
            border-radius: 10px;
            display: none;
        }

      &-container {
        max-width: 1470px;
        margin-left: auto;
        margin-right: auto;
      }
    }
    &-name {
        display: flex;
        margin-left: 30px;
        &-container {
            display: flex; 
            flex-direction: column;

        }

        &-title{
            font-family: 'Golos Text', Montserrat, sans-serif;                
            font-size: 30px;
            font-weight: 500;
            line-height: 36px;
            margin: 0;
        }
        &-rating {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-left: 20px;
            height: 100%;
            &-text {
                font-family: 'Golos Text', Montserrat, sans-serif;                
                font-size: 14px;
                font-weight: 500;
                line-height: 17px;
                
            }
        }
         &-button {
                margin-left: 20px;
                cursor: pointer;
                    &:hover + .restaurant-info-tooltip,
            & + .restaurant-info-tooltip:hover {
                display: flex;
            }
        }
    }
    &-subtitle {
        font-family: 'Golos Text', Montserrat, sans-serif;
            font-size: 14px;
            font-weight: 400;
            line-height: 17px;
            margin: 10px 0 0;
    }
}

.nav-panel {
    &-btn {
        background-color: #F5F5F5 !important;
        color: #000000;
        border: 0;
        border-radius: 50px;
        font-family: 'Golos Text', Montserrat, sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 17px;
        cursor: pointer;
        padding: 8px 12px;
        margin-right: 6px;
        margin-bottom: 8px;

        &.active {
            background-color: #F5F5F5;
            border: 1px solid #000000;
        }
    }
}

.section {
    &-title{
        font-family: 'Golos Text', Montserrat, sans-serif;
        font-size: 18px;
        font-weight: 500;
        line-height: 22px;
        margin: 30px 0 20px;
        @media (max-width: 1470px) {
            margin: 30px 16px 20px;
        }
    }
}

.site-main {
    display: flex;
    justify-content: center;
}

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

.restaurant-info-tooltip {
    display: none;
    flex-direction:column;  
    min-width:209px;
    text-align: left;
    opacity: 1 ;
    background-color: white !important;
    color: black !important;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    position: absolute;
    left: -72px;
    top: 30px;
    padding: 14px 0 14px 14px;
    z-index: 1020;

    &-title {
        font-size: 18px;
        font-weight: 500;
        line-height: 22px;
        margin: 0 0 10px;
    }
    &-text {
        font-size: 14px;
        font-weight: 400;
        line-height: 17px;
    }
    &-ogrn {
        font-size: 14px;
        font-weight: 400;
        line-height: 17px;
        color: rgba(170, 170, 170, 1);
        margin: 10px 0 4px;
    }

}


@media screen and (max-width:1100px) {
    .restaurant-page {
        margin-bottom: 30px;
    &-banner {
        height: 95px 32px ;
        &-logo {
            height: 61px;
            width: 161px;
        }
    }
    }
    .section {
    &-title{
        margin: 20px 16px 20px; 
    }
}
}



@media screen and (max-width:600px) {
    .restaurant-page {
        margin-bottom: 30px;
        &-banner {
            height: auto;
            margin: 46px auto 20px 16px;
            display: flex;
            flex-direction: column;

            position: relative;
            &-logo {
                height: 40px;
                width: 40px;
                display: block;
            }
        }
        &-name {
            margin: 10px 0 0;

            &-container {
                display: flex;
                flex-direction: column;

            }

            &-title{
                font-size: 22px;
                line-height: 26px;
                margin: 0;
            }
            &-rating {
                display: flex;
                justify-content: center;
                align-items: center;
                margin-left: 20px;
            }
            &-button {
    &-banner {
        height: auto;
        margin: 46px auto 20px 16px;
        display: flex;
        flex-direction: column;

        position: relative;
        &-logo {
            height: 50px;
            width: 150px;
        }
    }
    &-name {
        margin: 10px 0 0;

        &-container {
            display: flex;
            flex-direction: column;

        }

        &-title{
            font-size: 22px;
            line-height: 26px;
            margin: 0;
        }
        &-rating {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-left: 20px;
        }
         &-button {
                margin-left: 20px;
                cursor: pointer;

                &:hover + .restaurant-info-tooltip {
                    display: none;
                }
            }
        }
        &-subtitle {
            margin: 6px 0 0;
        }
    }

    .section {
        &-title {
            font-size: 16px;
            line-height: 19px;
            margin: 20px auto 10px 16px;
        }
    }

 .restaurant-info-tooltip {
        display: none;
        flex-direction: column;
        width: 100vw;
        min-height: auto;
        text-align: left;
        opacity: 1;
        background-color: white !important;
        color: black !important;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.2) !important;
        position: fixed;
        left: 0;
        bottom: 0;
        right: 0;
        padding: 30px 16px 20px;
        z-index: 1030;
        transform: translateY(100%); 
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
        max-height: 70vh;

        &::before {
            content: '';
            position: absolute;
            top: 8px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 4px;
            background-color: #ddd;
            border-radius: 2px;
        }

        &.active {
            transform: translateY(60%);
            display: flex;
        }

        &-title {
            font-size: 18px;
            font-weight: 500;
            line-height: 22px;
            margin: 0 0 10px;
        }
        &-text {
            font-size: 14px;
            font-weight: 400;
            line-height: 17px;
        }
        &-ogrn {
            font-size: 14px;
            font-weight: 400;
            line-height: 17px;
            color: rgba(170, 170, 170, 1);
            margin: 10px 0 4px;
        }
    }

    .tooltip-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        
        &.active {
            display: block;
        }
    }
}}}