/* Hero Block */
.menu-hero {
    background: linear-gradient(rgb(51, 51, 51, 0.5), rgb(0, 0, 0, 0.5)), url(/media/img/menu-hero.webp);
    background-size: cover;
    background-position: center;
    color: #e6f0f1;
    text-shadow: 0 3px 7px rgb(0, 0, 0, 0.5);
    padding: 4rem 0;
    text-align: center;
    height: 35vh;
}


.menu-hero__container {
    max-width: 130rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.menu-hero__title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.food-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 80rem;
    flex-wrap: wrap;
    margin: 0 auto;
    gap: 1rem;
    padding: 0 1rem 1rem;
}

.food-card {
    flex: 1 1 calc(25% - 1rem);
    max-width: 15rem;
    background: #fff;
    border-radius: 0.8rem;
    overflow: hidden;
    position: relative;
    text-align: center;
    padding-bottom: 2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    padding: 0.5rem;
    height: 34rem;
}

.food-image {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 0.5rem;
}

.food-title {
    font-size: 2rem;
    margin: 1rem 0;
    color: #333;
    font-weight: 600;
}

.food-desc {
    font-size: 1.4rem;
    color: #666;
}

.food-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.9rem;
    margin: 1rem 0;
    font-size: 1rem;
    font-weight: bold;
    color: #e63947e0;
}

.food-price .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
    font-weight: normal;
}

.new-price {
    font-size: 1.2rem;
}

.add-to-cart-btn {
    display: inline-block;
    background: #2a7279;
    color: #fff;
    border: none;
    padding: 0.5rem 0.8rem;
    border-radius: 0.4rem;
    cursor: pointer;
    font-size: 1.2rem;
    margin-top: 0.5rem;
    transition: background 0.3s ease;
}

.add-to-cart-btn:hover {
    background: #338a92c5;
}

.discount-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: red;
    color: white;
    font-size: 1rem;
    padding: 0.3rem 0.5rem;
    border-radius: 0.4rem;
}
.add-to-cart-btn--empty {
    background-color: #666 !important;
}

/* Categories Block */

.categories__container {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.categories__title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #2f2b24;
}

.categories__main-list,
.categories__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.categories__list {
    margin: 1rem 0;
}
.categories__main-list {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    padding: 1.6rem 1.2rem 1rem;
}
.categories__main-items,
.categories__item {
    min-width: max-content;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.4rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #e3f2fdc2;
    color: #333;
    transition: all ease 0.3s;  
}
.categories__item--active {
    background-color: #006d77;
    color: #edf6f9;
    font-weight: bolder;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
    transform: translateY(-5px);
}
.categories__item:hover {
    background-color: #009aa8;
}

.categories__item.categories__main-items.group-button:first-child {
    margin: 0;
}

.categories__item.categories__item--active.sub-button.sub-button-all:first-child {
    margin: 0;
}
@media (max-width: 768px) {
    .menu-hero {
        height: 30vh;
    }
}