article {
    margin-top: 81px;
    user-select: none;
}

article nav {
    width: 100%;
    background-color: #FFD003;
    overflow: hidden;
}

article nav.bar {
    background-color: #4bcffa;
}

article nav .content {
    display: flex;
    align-items: center;
}

article nav h1 {
    line-height: 50px;
    font-weight: 500;
    font-family: "Roboto Slab", serif;
    margin-left: 8px;
}

article nav img {
    width: 42px;
}

article .content nav {
    background-color: #fff;
}


.nav-menu {
    position: sticky;
    top: 80px;
    background: white;
    padding: 8px 0;
    border-bottom: solid 1px #eaeaea;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 8px;
    z-index: 2;
    font-size: 14px;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    padding: 4px 8px;
    border-radius: 5px;
    transition: background-color 0.3s;
    background-color: #FFD003;
}

.nav-list a:hover {
    background: #ffb007;
}

.category-section {
    margin: 40px 0;
    scroll-margin-top: 120px;
}

.category-title {
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    line-height: 32px;
    padding-top: 20px;
}

.category-title::after {
    content: "";
    display: block;
    background-color: #FFD003;
    width: 64px;
    height: 4px;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.menu-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 8px;
    transition: border 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-item:hover {
    border: solid 1px #FFD003;
}

.menu-item h3 {
    font-family: "Roboto Slab", serif;
    color: #444;
}

.menu-item p {
    line-height: 16px;
    font-size: 12px;
    color: #828282;
    margin-top: 8px;
}

.item-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: solid 1px #eaeaea;
    margin-top: 8px;
    padding-top: 4px;
}

.item-details .gr{
    font-size: 12px;
    color: #444;
}

.item-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
}

.item-price {
    color: #353535;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1.2em;
}

.item-price span {
    font-size: 14px;
}

.measurement {
    font-size: 14px;
    color: #444;
}
