* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: #ffffff;
    color: #1c1c1c;
}

.menu-nav {
    background: #ffffff;
    padding: 18px 0;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 28px;
}

.logo {
    color: #ef4f5f;
    font-size: 1.95rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.cart-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ef4f5f;
    color: #ffffff;
    padding: 12px 26px;
    border-radius: 999px;
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    border: none;
}

.menu-container {
    max-width: 1380px;
    margin: 48px auto 56px;
    padding: 0 28px;
}

.menu-title {
    margin-bottom: 34px;
    font-size: 2.35rem;
    font-weight: 800;
    color: #1c1c1c;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 34px 28px;
}

.item-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.item-img img {
    width: 100%;
    height: 238px;
    object-fit: cover;
    display: block;
}

.item-info {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.name-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.name-row h3 {
    font-size: 1.08rem;
    font-weight: 400;
    color: #1c1c1c;
}

.rating-tag {
    flex-shrink: 0;
    background: #239b45;
    color: #ffffff;
    padding: 4px 11px;
    border-radius: 9px;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
}

.desc {
    margin-bottom: 16px;
    color: #666666;
    font-size: 0.93rem;
    line-height: 1.5;
    min-height: 42px;
}

.price {
    margin-bottom: 18px;
    color: #1c1c1c;
    font-size: 0.96rem;
    font-weight: 800;
}

.add-to-cart,
.menu-add-btn {
    margin-top: auto;
    width: 100%;
    background: #ef4f5f;
    color: #ffffff;
    border: none;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.96rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease;
}

.add-to-cart:hover,
.menu-add-btn:hover {
    background: #de4352;
}

@media (max-width: 900px) {
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .item-img img {
        height: 215px;
    }
}

@media (max-width: 600px) {
    .nav-content,
    .menu-container {
        padding: 0 16px;
    }

    .menu-nav {
        padding: 14px 0;
    }

    .logo {
        font-size: 1.7rem;
    }

    .cart-pill {
        padding: 10px 18px;
        font-size: 0.92rem;
    }

    .menu-title {
        margin-bottom: 24px;
        font-size: 2rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .item-img img {
        height: 220px;
    }
}
