body{

    background-color: black;
    background-image: url(img/home_page/иероглифы.png);
    background-position: center;
    padding-top: 147px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px; /* Современная замена offset'у */
}

section[id], div[id] {
  scroll-margin-top: 60px;
}

.nav-divider {
    margin: 0.5rem 0;
}
.scrollable-buttons {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
    padding-bottom: 10px; /* Чтобы скроллбар не перекрывал кнопки */
    padding-top: 9px;

}
.scrollable-buttons::-webkit-scrollbar {
    height: 0%;
}
.scrollable-buttons::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
}

.scrollable-buttons small {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.menu-button {
    position: relative;
    flex: 0 0 auto;
    margin-right: 22px;
    max-width: 150px;
    height: 35px;
    color: black;
    border-radius: 99px;
    background-color: #FFD400;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center; 
    text-align: center; 
    padding: 0 20px; 
    text-decoration: none;
}
.active {
    background-color: black;
    border-color: #FFD400;
    color: #FFD400;
}


.menu-button small{
    font-size: 16px;
}

.menu-button:last-child {
    margin-right: 0;
}


.category-header {
    margin-bottom: 32px;
    align-items: center;
    justify-content: center;
    position: relative;
}

.category-header:after {
    display: block;
    width: 100px;
    height: 3px;
    margin: 10px auto 0;
}

.blok-menu {
    position: static; /* Убираем absolute */
    transform: translateY(-30%);
    margin-left: auto;
    margin-right: auto;
    width: 305px;
    background: #0C0C0C;
    border-radius: 13px;
    padding: 16px 19px;
}



.menu-title{
    max-width: 256px;
    max-height: 100px;
}

.menu-title h3{
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: #FFD400;
    text-transform: uppercase;
    margin: 0;
}

.menu-description{
    max-width: 260px;
    max-height: 115px;
    padding: 16px 0;
}

.menu-description p{
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 12px;
    text-align: justify;
    line-height: 1.2; /* Опционально: межстрочный интервал */
    margin: 0; 
    padding: 0;
    color: #FFD400;
}

.menu-foter{
    display: flex;
    justify-content: space-between;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    max-width: 258px;
    max-height: 36px;
    color: #FFD400;
}


.menu-foter .cost{
    font-weight: 500;
}

.position-relative {
    display: flex;
    flex-direction: column;
}

.new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 50px;
    height: auto;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}